• Resolved nadine00

    (@nadine00)


    Hi,

    I am trying to pull a series ID automatically. Basically I have this tag:

    <?php echo wp_series_nav('41', TRUE, FALSE, TRUE); ?>

    Which displays fine. But currently the series ID aka ’41’ is hard-coded. I need this tag, or something similar, to detect and display the series ID automatically.

    Normally I could just set this up in the admin back-end, by simply checking of a box marked Display series navigation links. Unfortunately, In Series has an issue with Magic Fields, where it sees each multi-line text-box I’m using as the end of content, and will insert series navigation after each block of content.

    Example: http://work.nadinelessio.com/firstsecond/strange.png

    I’ve been told I can use this function:

    <?php echo wp_assemble_topic_nav(); ?>

    But can not find any usage examples, and my experimenting just comes up empty.

    Does anyone out there who has used, or is using In Series, know how to automatically detect the series ID, to be used in a template tag, rather than hard-coding it, or auto-insterting it in the admin options?

    Thank You

    Nadine

  • The topic ‘Pulling a series ID automatically [In Series ]’ is closed to new replies.