• Hi!
    I want to use a widget that displays quotes. The widget should scroll alongwith the page in the righthand sidebar(the text in the widget must not scroll) without overlapping other things on the sidebar. The widget should use posts from the quote format of posts. How can I do this?
    My website is C-ation.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Hello again ??

    Take a look at one of the default widgets that display simple content, such as the text widget. They are all defined in wp-includes/default-widgets.php. You can use that as a starting point for your widget.

    Instead of displaying static content, run a query for quote format posts. Decide how you would select a particular quote. Place the post’s content where the static text would normally go.

    The rest of your needs can be dealt with with CSS.

Viewing 1 replies (of 1 total)
  • The topic ‘Using a Quote Widget’ is closed to new replies.