Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #474455

    I am using the Enfold Latest News widget on my home page and have defined the categories I want included. I also want portfolio entries to appear in this same widget. As it stands I can choose to post blog entries OR portfolio entries but not both combined. I would have to post a blog entry that points to the portfolio entry unless you have a solution.

    henricoschools.us

    #475876

    Hey larrywillisva!

    Try changing line 461 in the /enfold/framework/php/class-framework-widgets.php file from this.

    $new_query = array("posts_per_page"=>$count,"post_type"=>$this->avia_post_type);
    

    To this.

    $new_query = array("posts_per_page"=>$count,"post_type"=>'any');
    

    Regards,
    Elliott

    • This reply was modified 8 years, 10 months ago by Elliott.
    #476464

    I am not using a child them and have my other changes in the custom css section. I don’t see the php file you are referring to when I go to the editor.

    #476489

    Hi!

    please use FTP to open the file Elliott mentioned. We strongly recommend to use a child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/

    Cheers!
    Andy

    #477245

    Thanks Andy! I’ll get the child theme set up and then make this change,

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Can Latest News and Latest Portfolios be combined into one widget?’ is closed to new replies.