Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #668180

    I have found this answer: https://kriesi.at/support/topic/remove-category-from-enfold-combo-widget/#post-533063

    Three questions:

    1. I use a child theme – is there any way these days (in Enfold v 3.6.1) to make this change in my child theme, or can a category only be excluded from Combo by modifying the core theme file class-framework-widgets.php?

    2. Please confirm such a change would affect both the Popular and Recent post lists of Combo.

    3. How do I alter the code in Ismael’s reply to exclude 4 categories, not just one? For example categories 24,31, 45 and 67.

    #668283

    Hey zimbo!

    1. I am afraid no, that is still not possible for what is needed

    2. Yes, that is confirmed.
    3. You can add more categories, with comma between them and that will work out for you.

    Let us know if we can do anything else

    Cheers!
    Basilis

    #670008

    re. #2 above, I discovered this fix only applies to the Popular tab posts of the Combo, it does not work on the Recent list of posts.

    Lines 961-964 control the Recent tab and in order to exclude certain categories from the Recent list of posts I had to modify line 963 to this:
    avia_get_post_list('showposts='. $posts .'&orderby=post_date&order=desc&cat=-31,-73');

    Just FYI.

    PS. It would be nice if the widget had some options to control what posts are displayed (or not) other than just the number thereof.

    #670479

    Hey!

    Please request such feature here – https://kriesi.at/support/enfold-feature-requests/

    Cheers!
    Yigit

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