0
votes
2answers
68 views

get value from post to sidebar

I have the following div in my post, <div class="my_calss" id="my_id"> my content </div> Here, my_id is different for each post. I need to display my_id in sidebar into php code. ...
2
votes
4answers
3k views

How can I show the Jetpack Subscriptions form in a page? [on hold]

In the Jetpack plugin, the subscriptions module can be included in your blog by following these instructions: To use the Subscriptions widget, go to Appearance → Widgets. Drag the widget labeled ...
0
votes
1answer
359 views

How to attach sidebar to shortcode's output?

I have one shortcode that should be always next to the sidebar: // [shortcode] otuput | default sidebar My theme allows me to set different sidebars for each page. So I have sidebars on a few ...
1
vote
5answers
2k views

Display post shortcode content in the sidebar?

I need to display images and other content in the sidebar depending on a page. Pages are added dynamically and information that need to appear in the sidebar is different for each page. So I can't ...
0
votes
1answer
366 views

Hide/disable sidebar using shortcode?

The question is pretty simple, but it's complex in fact. I have implemented custom sidebars for each post/page function in my blog. It looks like: <div id="<?php echo ...
1
vote
2answers
2k views

the_widget() and widget's ID

Let's assume I have a widget that displays only its name: <p> <?php echo $args['widget_id'] ?> </p> So when I drag & drop my widget to any sidebar it shows: ...