• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Post specific sidebars

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Post specific sidebars

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 6 years, 3 months ago by Brad Dalton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 25, 2020 at 3:14 am #498184
    koksalcanberk
    Participant

    OK, maybe "post specific sidebar" doesn't explain it well enough.

    Here's what I need:

    All my posts have a 5-digit, unique ID number that's added as a tag. I want my text-widget located at the sidebar to call out these ID numbers. So, as a result, the text at the sidebar will change accordingly in every post.

    Is this possible?

    April 25, 2020 at 3:51 am #498185
    Brad Dalton
    Participant

    Anything is possible with custom code however it would take some time to write and test the code.

    I assume you want a point in the right direction as far as which method to use?

    Why do you add it as a tag when it would be much better to add it as a custom field or use the post id.

    Anyways, you can call the tag in the sidebar using code. Maybe this or related function will help https://developer.wordpress.org/reference/functions/get_the_tags/


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble