Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter John Mido

    (@h3o-co)

    Sorry waynmeyer couldn’t find any way to make it work even the plugin’s support didn’t help!
    mostly the function ‘types_child_posts’ does not support orderby .
    I turned over that through adding a number in beginning of the title and hide it using css ‘text-indent’ , as the function sorting alphabetically. It’s not a very practical solution but it may help if you have a small number of posts!

    Thread Starter John Mido

    (@h3o-co)

    actually i need to change the nomenclature of the default type not to create custom one,

    can’t it be done trough a filter to replace the default value? or something like that.

    Thread Starter John Mido

    (@h3o-co)

    Thanks
    it works

    Forum: Fixing WordPress
    In reply to: mysql custom query
    Thread Starter John Mido

    (@h3o-co)

    i think i’m the one who need coffe sorry for this confusion ??
    What i want is not display the slug or even list tags, what i want is to pass the value of the selected option to $tags variable, and i’ll write tags manually in options.
    The purpose here is not listing tags for user, the purpose is allowing the visitor to choose the tag to list the posts that have that tag after submitting the form which include that droplist
    Hope its clear now, and thanks alot for your efforts with me.

    Forum: Fixing WordPress
    In reply to: mysql custom query
    Thread Starter John Mido

    (@h3o-co)

    I just need the opposite of what you did now

    i want to write the $tag->slug manually, to be passed to $tags when submitting the form
    something like this:

    <?php $tags = get_terms('post_tag');?>
    <select name="tags">
    	<option value="tag1">tag1</option>
    	<option value="tag1">tag2</option>
    	<option value="tag1">tag3</option>
    </select>

    i’ve tried it and not working

    Forum: Fixing WordPress
    In reply to: mysql custom query
    Thread Starter John Mido

    (@h3o-co)

    @keesiemeijer thanks for response.
    but, i don’t think this helps in my case!
    the code is to filter posts in custom template and submit custom user’s query..
    so, the first code is to display select menu of meta values to let user choose the desired value and submit the form with it, to re filter the posts..

    in the same way i want to display some tags (manually) to let the user choose from them and submit his selection with the rest of the query.

    Thread Starter John Mido

    (@h3o-co)

    bug fixed in the new release by the author .

Viewing 7 replies - 1 through 7 (of 7 total)