• I read here https://www.ads-software.com/support/topic/228113 a way to show a drop down with all the posts ordered by post name. That is what I was looking for.

    <select name=\"archive-dropdown\" onChange='document.location.href=this.options[this.selectedIndex].value;'>
    <option value=\"\"><?php echo attribute_escape(__('Select Post')); ?></option>
    <?php wp_get_archives('type=postbypost&format=option&show_post_count=0'); ?> </select>

    But I also need to have the drop down not to got to the post URL onChange, but with a button that says ‘view’ on the side after a selection in the drop down has been made.
    I tried many things, but cant seem to crack it. Would appreciate your help!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bohoe

    (@bohoe)

    Im not sure I expressed myself properly. All Im looking for is a drop down and a ‘view’ button beside. Dont need the drop down redirecting till the view button is clicked.

    Thread Starter bohoe

    (@bohoe)

    I have been investigating this issue but I have no solution. I may need help from the gurus. Im sure it is not a massive problem, just some PHP/MySQL wording.
    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Drop down showing posts, but also need ‘View’ button’ is closed to new replies.