Title: Variable content to selection?
Last modified: April 18, 2019

---

# Variable content to selection?

 *  [nicoleamanda](https://wordpress.org/support/users/nicoleamanda/)
 * (@nicoleamanda)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/)
 * Is there any way to target a selected item to show the related posts to the selected
   term? I am trying to put it in my drop down menu and would love it to show most
   recent posts of “Weddings” when weddings is selected and most recent “personal”
   when personal is selected

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11444895)
 * Hello,
 * [@nicoleamanda](https://wordpress.org/support/users/nicoleamanda/) I am not 100%
   sure what do you mean. But there is an option to limit posts to a specific term/
   taxonomy or even a meta key: [https://www.screencast.com/t/kuqwMz41](https://www.screencast.com/t/kuqwMz41).
 * What kind of dropdown do you have and how is your site setup? Are you listing
   posts on a separate page after each selection?
 * Or do you select a term from somewhere and expect it to alter the post listing?
 * Sincerely,
    Rafał
 *  Thread Starter [nicoleamanda](https://wordpress.org/support/users/nicoleamanda/)
 * (@nicoleamanda)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11444922)
 * Yes, I think the later. If you visit my [website](http://nicoleamanda.ca) and
   see the little arrow beside “blog” the menu drops down. If you. Select “Personal”
   then a side menu jets out. I’d love for whichever item is ‘selected’ (personal,
   weddings, education, business) to show that category of newest posts if that 
   makes sense.
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445035)
 * Perfect!
 * And where would selecting a “category” lead to or what page would it alter?
 * For the time being each selected leads to a non plugin category page: [http://nicoleamanda.ca/blog/weddings/wedding-photos/](http://nicoleamanda.ca/blog/weddings/wedding-photos/)
 * Sincerely,
    Rafał
 *  Thread Starter [nicoleamanda](https://wordpress.org/support/users/nicoleamanda/)
 * (@nicoleamanda)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445044)
 * Yes, it will still lead to the designated category. I would just like to gave
   the Recent Posts plugin display where the “Hightlighed Posts” feature currently
   is, and change upon initial selection (non page change, just menu change).
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445066)
 * I see.
 * I don’t think this will work w/o you providing me the login details and checking
   the installation. Additionally this may require some extra work…
 * I think given wordpress.org forum terms I could help you out for free if the 
   problem wouldn’t require any extra coding work.
 * Sincerely,
    Rafał
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445079)
 * And please don’t post them in a public message here 🙂
 * I am going to sleep as it’s nearly midnight here in Poland.
 * Sincerely,
    Rafał
 *  Thread Starter [nicoleamanda](https://wordpress.org/support/users/nicoleamanda/)
 * (@nicoleamanda)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445088)
 * My website isn’t 100% wordpress, it’s kind of a mcgivered wordpress/showit. I
   know a little bit of coding. I was just wondering if there was a small piece 
   of code that fit in the keyword target spot or something.
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445117)
 * Hmm!
 * Well you could always use a Category / Tag / Term setting from the Appearance-
   > Widget -> List multiple widgets via shortcodes within the top menu -> add containers
   to each of the shortcodes with only one of them being visible by default.
 * Then you could use jQuery to reveal each box on left menu hover trigger.
 * Does it help, even a bit? 🙂
 * Sincerely,
    Rafał
    -  This reply was modified 6 years, 11 months ago by [Rafał Gicgier](https://wordpress.org/support/users/gicolek/).
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445129)
 * Unless the top area is already placed with Shortcodes… Sorry for mixing up so
   much!
 * Time to go to bed 🙂
 * Hopefully you’ll manage to sort this one out!
 * If not I’ll check back tomorrow,
 * Sincerely,
    Rafał
 *  Thread Starter [nicoleamanda](https://wordpress.org/support/users/nicoleamanda/)
 * (@nicoleamanda)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445134)
 * Haha thanks so much. Showit doesn’t allow for shortcodes so I’ll have to see 
   if I can hide them in sidebars then pull them over. I’ll play around, thanks 
   for the idea!
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11445146)
 * 😉
 * Use the Sidebar id for .css and .js to to identify them probably!
 * Keeeping my fingers crossed ZzzzZz,
 * Good luck,
    Rafał 😉
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11446798)
 * Hey [@nicoleamanda](https://wordpress.org/support/users/nicoleamanda/),
 * Did you manage to sort this out, or do you need any guidance?
 * Sincerely,
    Rafał

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Variable content to selection?’ is closed to new replies.

 * ![](https://ps.w.org/acf-recent-posts-widget/assets/icon-256x256.png?rev=2945083)
 * [ACF Recent Posts Widget](https://wordpress.org/plugins/acf-recent-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-recent-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-recent-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-recent-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-recent-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-recent-posts-widget/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/variable-content-to-selection/#post-11446798)
 * Status: not resolved