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

    on one installation i got for a page “aktuelles” – ID: 2061
    i want to show the whole content for the blog entries with taxonomy “aktuelles”

    on newer enfold versions this does not work anymore.

    function custom_avf_blog_content_in_loop( $blog_content, $current_post, $blog_style, $blog_global_style ){
      global $avia_config;
        $pages = [ 2061 ];
        if( ! in_array( $avia_config['real_ID'], $pages ) ){
          return $blog_content;
        }
      return 'content';
    }
    add_filter( 'avf_blog_content_in_loop', 'custom_avf_blog_content_in_loop', 10, 4 );

    How can the entire content be displayed?

    #1486420

    OK – it is solved – because i transfered the enfold shortcodes from an existing former enfold version to a newer one. A gallery shortcode was transformed that breaks the output. I deleted the gallery element (that does not fit with enfold 7.1.1 ) and created a new one inside that post. Now on the page with the blog posts element – everything is as wanted. The whole content is shown.

    Can be closed – or deleted ;)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Blog element show full content.’ is closed to new replies.