jakemc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get_posts and <!–more–> problemThanks samboll. That’s good advice except that the_excerpt doesn’t preserve any rich text formatting and I have no control about how much of the post is shown.
Any suggestions as to how to get the_content to operate as it should?
Forum: Plugins
In reply to: Polls, Useronline, PageNavi Updated For WP 2.0Thanks GamerZ. That works!
Forum: Plugins
In reply to: Polls, Useronline, PageNavi Updated For WP 2.0Oh, it’s not alphabetised because I set “orderby=post_title” when it should be “orderby=title”.
Still having the same paging problem though…
Forum: Plugins
In reply to: Polls, Useronline, PageNavi Updated For WP 2.0Hi GamerZ and thanks for the prompt reply.
Same result though 🙁 It doesn’t even seem to be alphabetised which is weird too. Any more suggestions?
Thanks again.
Forum: Plugins
In reply to: Polls, Useronline, PageNavi Updated For WP 2.0Hi GamerZ. I’m having a problem using your pagenavi plugin.
I want to paginate an alphabetical list of posts so I’m using:
query_posts('cat=5&order=ASC&orderby=post_title');
and calling wp_pagenavi() after that.Pagenavi works really well when I don’t use query_posts but when I do I just see all the posts selected and the pagination – although present – isn’t working.
Any help you can offer? It’s a great plugin, I just need it to help me here!
Thanks.
Forum: Plugins
In reply to: Problem adding custom meta dataAha! I hunted down the hooks (in functions-post.php) and save_post is the catch all – the other two are called under special conditions (e.g., edit_post when another variable $update has been set) and so may be called *as well* as save_post.
Many thanks again, Maerk.
Forum: Plugins
In reply to: Help with creating meta data pluginYes it does. Thanks for you help!
Of course, I’ve now got a trickier problem but I’ll save that for a new post… 🙂
Forum: Plugins
In reply to: Help with creating meta data pluginAh! The act of sharing my problem helped me to see the solution.
The problem was that I didn’t have access to variables defined in the page from the plugin so I have to get them explicitly.
In particular:
$post_ID = $_REQUEST['post'];Forum: Plugins
In reply to: Help with creating meta data pluginHi Maerk.
Thanks for the prompt reply and for being so encouraging. I love wordpress but getting into the guts of it like this is a little intimidating.
My functions are structured like this:
function jm_get_title($postID) {...}
function jm_has_specific_meta($postid,$meta_key) {...}
function jm_list_specific_meta($meta_data,$meta_key) {...}function jm_insert_fields() {
...
if($meta_data = jm_has_specific_meta($post_ID,'professional_speciality'))
jm_list_specific_meta($meta_data,'professional_speciality');
...
}jm_insert_fields is executed – I can see the HTML it generates – but no list of meta data that should be generated by jm_list_specific_meta is visible.
HTH and thanks again.
Forum: Plugins
In reply to: modify ‘write post’ pageCan you give me an idea of how you did this? I’m looking for the same kind of solution – the ability to be able to predefine the custom fields.
I want to do it for pages rather than posts but I’m guessing the principles will be the same.