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

    Hi,

    I run ENFOLD 4.4 and trying to add this snippet from Ismael for functions.php, but it causes a “fatal error”:

    add_filter('avf_postslider_show_catergories', 'avf_postslider_show_catergories_mod', 10, 1);
    function avf_postslider_show_catergories_mod($category) {
     	$category = 'show_business'; 
    	return $category;
    }

    https://kriesi.at/support/topic/blog-posts-element-not-showing-categories-anymore/page/2/#post-788328

    In ENFOLD 4.3 it worked.

    Maybe the postslider.php, that he linked in his post (see there!) is no longer valid for ENFOLD 4.4? When I compare the postslider.php of Ismael with those of ENFOLD 4.4, then there are now many changes since v4.3.
    Or maybe the code snippet itself is no longer valid with v4.4?

    Could you please give me the right code snippet for showing categories in postslider for ENFOLD 4.4?
    Thanks.

    • This topic was modified 6 years, 2 months ago by BeeCee.
    #964622

    Hey Gitte,

    Thank you for using Enfold.

    The filter didn’t change on version 4.4. Please provide the login details so that we could check it. Make sure that the Appearance > Editor panel is accessible.

    Best regards,
    Ismael

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