How to Display Dynamic link of page or post in a page Widget

I am using page widget

I know how to put simple HTML code in a widget so it can display on page, but i want to display dynamic link of Page or Post in a page widget.

Please tell me how i can do that.

Hi! I need a little bit more information to be able to help. Do you have an example of what you’re trying to achieve or a link to the site you’re referring to?

Like you have 6 pages and 5 post on a website and in inner pages I have created left side bar in which i want to display these page and post name dynamically in that left side bar. So in future if change the name if post or page it will automatically update on that Page widget.

I hope this will help you to understand. What i mean

You should be able to achieve this by using the default Pages and Recent Posts widgets. Just drag them into your sidebar. If you want more control, take a look at this plugin:

Let me know how you go!

Cheers,
Chris

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.