Forum Replies Created

Viewing 10 replies - 31 through 40 (of 40 total)
  • Thread Starter jakemc

    (@jakemc)

    Thanks 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?

    Thanks GamerZ. That works!

    Oh, it’s not alphabetised because I set “orderby=post_title” when it should be “orderby=title”.

    Still having the same paging problem though…

    Hi 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.

    Hi 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.

    Thread Starter jakemc

    (@jakemc)

    Aha! 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.

    Thread Starter jakemc

    (@jakemc)

    Yes it does. Thanks for you help!

    Of course, I’ve now got a trickier problem but I’ll save that for a new post… 🙂

    Thread Starter jakemc

    (@jakemc)

    Ah! 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'];

    Thread Starter jakemc

    (@jakemc)

    Hi 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.

    Can 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.

Viewing 10 replies - 31 through 40 (of 40 total)