Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #562123

    Interesting occurrence with custom filter you’ve provided me on my Spanish site. The filter is to replace the Latest Blog header for posts with the post title. Code you’ve provided:

    add_filter(‘avf_title_args’, ‘fix_single_post_title’, 10, 2);
    function fix_single_post_title($args,$id)
    if ( is_singular(‘post’) )
    $args[‘title’] = get_the_title($id);
    $args[‘link’] = get_permalink($id);
    $args[‘heading’] = ‘h1’;
    return $args;

    The code only sometimes works! Some category posts have the title displaying while another category has the Enfold static header. Why?
    Please see example URLs in private.


    Hey Julie!

    can you provide us admin access please? Deactivate all plugins while testing. Clear caching.



    Hi Andy, Thanks for the response. In private, credentials are listed for the staging site where the same issue is evident.



    It seems to be an issue with wpengine cache system is blocking it to been working properly.
    Can you give it a look to that?

    Thanks a lot



    Basislis then why would the rest of the site work?



    it could be lots of reasons causing this issue, but Basilis might be right. Please contact wpengine about it and ask them to switch off any caching of your server.



    Hi Andy,
    I did ask WPEngine to switch off caching. Still no change. Could it be related to translation of the theme?



    what if you activate a default WordPress theme? Let us know about your results.

    Best regards,

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.