Okay
  Public Ticket #1064549
Code issues
Closed

Comments

  •  2
    Mads started the conversation

    Just bought your amazing theme and installed, but noticed that:

    1. On single posts, the background-image is not showing for "Next post" at the bottom of the article. I think the issue is within hooks-config.php, line 193.

    2. Would it be possible to display the "Search" feature on the left header-title div at all times, across the site and not just on the blog?

  •  1,801
    Support replied

    Hello,

    1. You have to assign a featured image to the next blog post (in blog post options)

    2. This requires a bit of custom work. If you open blog-page.php you will see that you need to add

    <?php 

    // display search section
    get_template_part('sections/search_section');

    ?>

    in all templates (files ending with -page)

    and then change line 52 in /sections/header_section.php

    <?php } else if( (is_page_template('blog-page.php') || is_category() || is_search() || ($post_type == 'post') )  && bario_get_theme_options('clapat_bario_blog_show_search') ) { ?>

    to include also those templates

    Hope it clarifies


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  2
    Mads replied

    Hi again...

    1. I have assigned Featured Images to test prev/next but I can see - with my limited coding skills, that the image URL path is incorrect. And I think the error, as I mentioned, is within hooks-config.php, line 193.

    2. Thank you, but this code was already in place, as you describe, when I bought the theme.

  •  2
    Mads replied

    Actually doesn't work on your own theme either?

    http://clapat.ro/themes/bario-wordpress/2016/06/25/empire-state-building/

    div.article-next is missing a ""


  •  1,801
    Support replied

    Hello,

    No problems here:

    http://d.pr/i/Slvu

    not sure why your browser reports the image as missing (?)

    The existing code in the blog-page.php needs to be copied as per prev instructions in all the the other templates (files with -page at the end)

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  2
    Mads replied

    Wow, this is strange. If I visit http://clapat.ro/themes/bario-wordpress/2016/06/25/empire-state-building/ (cleared cache) I cannot see the bg image for the next post. So how on earth can you, since we are visiting the same public URL?



  •  2
    Mads replied

    Can you send me the working version of the  /sections/header_section.php file and the other -page.php files?I don't code PHP, so don't know how to include all templates in line 52

  •  1,801
    Support replied

    Hi Mads

    Do you have a browser extension installed that is blocking images? When you hover over the strikethrough image url do you get a tooltip saying it cannot be displayed?

    Regarding the search: this is custom work, no more than an hour but still close to.

    We charge a minimum of 50 USD / hour, that's the standard rate for this kind of job and depending on how busy we are, we may not be available right the way. If you are okay with the charge, just send us the admin username and pwd in a private comment and we can implement it for you.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  2
    Mads replied

    Nope — no browser extension and all other images are displaying correctly.
    I've attached the native browser error message I get.

    Regarding adding a line of code to the PHP for $50 — don't bother.

  •  1,801
    Support replied

    Aha got it - it is a missing end parenthesis in hooks.php

    Most browsers don't report it

    If you provide wp admin url I can fix it and implement the search in all pages.

    It involves more than one line and 5 files, probably you misunderstood but I owe you one.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   Mads replied privately
  •   Mads replied privately
  •   Support replied privately
  •   Mads replied privately