Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

Create Custom Slider using sidebar / text-widgets

$
0
0

Replies: 0

I work for a small company that develops websites for clients and I ran across an interesting issue today and was wondering if the solution I was thinking of is possible.

I know that it’s fairly simple to create a custom slider using bootstrap / php to query post types and display a limited number of posts to create a slider on a page. We’ve done this for multiple clients but one of our latest projects had over 50 different items created with text-widgets.

On one page the sidebar is called and all of the text-widgets are displayed and that is fine BUT the client would like to have 3 of these to be displayed on the homepage at random, cycling through just like a slider with all of the items available to be viewed from the homepage.

Is it possible to somehow call the sidebar and query through the text-widgets to display their content on the homepage like we are wanting OR is this only possible through a post query?

I’m sorry if I’m using incorrect syntax or wording on some of this, still in the process of learning!

Thank you in advance for any feedback!


Viewing all articles
Browse latest Browse all 512573

Trending Articles