John Mido
Forum Replies Created
-
Forum: Plugins
In reply to: re order custom query by meta_valueSorry 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!Forum: Hacks
In reply to: modifying post type lang phrasesactually 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.
Forum: Fixing WordPress
In reply to: list tags from specific categoryThanks
it worksForum: Fixing WordPress
In reply to: mysql custom queryi 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 queryI 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@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.
Forum: Plugins
In reply to: custom posts not included in archivesbug fixed in the new release by the author .