Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #233140

    Hi,

    If I make a page with blog post and set the correct settings in that blog post element then the blog page work fine, but the title in the title container is wrong with a link to my home.

    So when I selecting that blog page in the Enfold settings (so that it is showing correct in the title container) the blog posts are showing with the full length, when I don’t set a blog page in the Enfold settings the blog page is showing good again (an excerpt with read more button) but the title in the title container is wrong again and the link going to my homepage.

    How can I fix this issue?

    #233268

    Hey Miikey!

    Can you please give us a link to the blog page? Please add this on functions.php:

    add_filter('avf_title_args', 'fix_blog_page_title', 10, 2);
    function fix_blog_page_title($args,$id) {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    return $args;
    }

    Regards,
    Ismael

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