This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Drop-down menu in widget

Resolved 5 replies premiumthemetheme-vantage
10 years ago · Last reply by Daniel 10 years ago

Hello,
I would like to create a widget that is a drop-down of all posts from a single category ordered by the time they are posted.

I have tried the solution described here: https://wordpress.org/support/topic/drop-down-list-of-posts-from-a-category?replies=23, but it just renders my website blank & tells me there’s a parsing error in the functions.php file on a line above my inserted code.

Can you help me to add this widget?

Thank you,
George

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Magus Staff 10 years, 10 months ago

    Hi BBrz

    I have wrapped this into a plugin for you which you can download here.

    http://test.magistercs.co.uk/wp-content/uploads/2015/04/category_widget.zip

    Please remove all your custom entries and upload and enable this as a plugin.
    You will then have a new widget called ‘Category Posts Widget’. Just insert this on the page where needed.

    Hope this helps

    Magus

  2. George D. 10 years, 10 months ago

    Hello Magus,

    Thank you very much.
    It works like a charm.

    Thanks again and have a nice evening,
    George D.

  3. Alexandra Baciu-Giula 10 years, 10 months ago

    Hi Magus,

    Wonderful thing you did there.
    Maybe you could post this to the WordPress.org repository so more people could enjoy?

    Cheers.
    Alexa

  4. Magus Staff 10 years, 10 months ago

    You are welcome George.

    Hi Alexa,

    I would not feel comfortable posting this to the repository as it was just made from code supplied by someone else. I would not like to steal the credit for the code or the idea. Doing this was just the best way of dealing with the issue without having to customize any theme files.

    Magus

  5. Daniel Staff 10 years, 10 months ago

    Hi George

    Am glad you are making progress in developing your site

    Always feel free to open a new thread whenever you require support

    @Magus much appreciated

    Cheers

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread