Forum Replies Created
-
AuthorPosts
-
September 21, 2018 at 4:09 pm in reply to: Include specific post ID option in Foodie Featured Posts Widget #223351
Deluxe Designs
MemberI'm comfortable editing most code but this one has stumped me. I prefer to do this by creating an option to include IDs. Your site is the only one I found that has this answer.
September 21, 2018 at 2:34 pm in reply to: Include specific post ID option in Foodie Featured Posts Widget #223347Deluxe Designs
MemberI removed it because I was really just guessing. I do not know what goes in the brackets.
'post__in' => $instance['post__in'],September 21, 2018 at 2:26 pm in reply to: Include specific post ID option in Foodie Featured Posts Widget #223345Deluxe Designs
MemberThis is actually an older version of Foodie Pro that I've updated.
The args look like this:
`$query_args = array(
'post_type' => 'post',
'cat' => $instance['posts_cat'],
'showposts' => $instance['posts_num'],
'offset' => $instance['posts_offset'],
'orderby' => $instance['orderby'],
'order' => $instance['order'],
);`September 20, 2018 at 9:31 pm in reply to: Include specific post ID option in Foodie Featured Posts Widget #223333Deluxe Designs
MemberOk, I see where to add the line of code, but my best guess as to what the code should be haven't worked. Any possibility you can spell it out for me? My trial and error is failing me.
Deluxe Designs
MemberThat time it worked. Thank you; I hadn't seen that before.
Deluxe Designs
MemberI think it is something to do with a plugin or the site. I tried the same thing on the demo site for this and it worked. I'm not sure what the difference would be.
Deluxe Designs
MemberSorry I meant to say 104 (not 42) in my original post but I have tried that as well - and just tried it again to give the benefit of the doubt - and it still did not work.
Deluxe Designs
MemberMay I ask where you are seeing broken scripts? It just seems odd because there haven't been any issues to this point and nothing has changed.
Deluxe Designs
MemberYes, this has been resolved.
Deluxe Designs
MemberI knew about that plain but I'm really trying to avoid using it if possible because I know it can be done with php.
Deluxe Designs
MemberAha! Display: block did it
Thanks so much, once again.
Deluxe Designs
MemberAmazing, thank you!!!! So that worked to get the category separated and added above the post title. The CSS did not work, however. I will keep fiddling around but if you have any suggestions, I'd be interested.
-
AuthorPosts