WordPress.org

Ready to get started?Download WordPress

Forums

Organize Series
How to use tokens for serial # (12 posts)

  1. dorich
    Member
    Posted 2 years ago #

    I'm modifying the taxonomy-series.php template so that it only displays the title. I want to include the
    <div class="seriesmeta">This entry is part %series_part% of %total_posts_in_series% in the series %series_title_linked%</div>
    but I'm unclear how you pass the values.

    What I've done so far:
    I've added the template tag functions to a user_functions.php file.
    Included a include_once request in the functions.php file

    Added
    <?php wp_seriesmeta_write();?>
    within the loop
    and underneath it added
    <div class="seriesmeta">This entry is part %series_part% of %total_posts_in_series% in the series %series_title_linked%</div>

    Now what do I do to pass the value?

    Thanks.

    http://wordpress.org/extend/plugins/organize-series/

  2. dorich
    Member
    Posted 2 years ago #

    Update Thursday : Sep 29, 2011

    Further experiments indicate that adding the template tag functions are unnecessary. I guess the plugin gives access to all the template tags and so the only requirement should be to include the tag in the template.
    However, I'm finding that anything I include in the loop will not work. By contrast if I add a tag like get_series_toc() in a template it works as expected.

    Are there any examples of how these template tags are used inside loops?

    Thanks

  3. neologan
    Member
    Posted 2 years ago #

    I am having the same issue, i can't get most of the template tags to work in the loop. I'm asking Darren as i write to explain it, hopefully he will come through on this small request. If so I will report back, unless you found out the issue and can share it with me? :)

  4. neologan
    Member
    Posted 2 years ago #

    nope, Darren wouldn't explain why they don't work or how to get them to work. Pretty disappointing. I felt my request was very small. There should be a few documentation examples around, but sadly there are not because all the rich support is behind a paid service.

  5. carolyg19
    Member
    Posted 2 years ago #

    dorich,

    I know this is not the place, but need to ask you a question about one of your previous post on Type & Status Parameters I cannot location the solution. As you stated before.

    Thanks,

  6. carolyg19
    Member
    Posted 2 years ago #

    dorich,

    I know this is not the place, but need to ask you a question about one of your previous post on Type & Status Parameters I cannot location the solution and you seem to have found a solution to permalinks for wordpress.

    Thanks,

  7. dorich
    Member
    Posted 2 years ago #

    @carolyg19
    Would you point me to the question you are referring to.

    Thanks.

  8. carolyg19
    Member
    Posted 2 years ago #

    Yes,

    Here is the post I am referring to:

    http://wordpress.org/support/topic/create-a-list-of-posts-with-their-ids-custom-post-type?replies=3

    Can you explain in more details. I am trying to get a list of all the urls for products on my site and have no easy way to mod_rewrite the urls seeing that I do not understand apache as of yet.

    Please advise - your helps is greatly appreciated....

  9. dorich
    Member
    Posted 2 years ago #

    @carolyg19

    Okay, thanks.

    Two comments:
    1. I'm not sure that I can help. I wasn't messing with the mod_rewrite. However.....
    2.why don't you post your question as a new question and in the meantime I will find what I did and post the code as an answer to your new question.

    To be honest there are plenty of experts around here who could probably answer your question much better than I can. With that said why don't you let us know the specifics of what you want.

    Thanks.

  10. dorich
    Member
    Posted 2 years ago #

    @carolyg19
    If you post a new question would you link to it from here so that I can find it.

    Thanks

  11. carolyg19
    Member
    Posted 2 years ago #

  12. carolyg19
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic