Tagged: enfold, spanish, translation
-
AuthorPosts
-
January 8, 2016 at 5:42 pm #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; }Issue:
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.January 11, 2016 at 4:22 pm #563284Hey Julie!
can you provide us admin access please? Deactivate all plugins while testing. Clear caching.
Regards,
AndyJanuary 11, 2016 at 6:15 pm #563404Hi Andy, Thanks for the response. In private, credentials are listed for the staging site where the same issue is evident.
January 11, 2016 at 10:00 pm #563503Hey!
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
Regards,
BasilisJanuary 11, 2016 at 10:08 pm #563506Basislis then why would the rest of the site work?
January 12, 2016 at 1:22 pm #563857Hi!
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.
Cheers!
AndyJanuary 12, 2016 at 2:52 pm #563887Hi Andy,
I did ask WPEngine to switch off caching. Still no change. Could it be related to translation of the theme?January 12, 2016 at 8:17 pm #564132Hey!
what if you activate a default WordPress theme? Let us know about your results.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.
