WordPress.org

Ready to get started?Download WordPress

Forums

Archivist - Custom Archive Templates
Template and code exemple for all (5 posts)

  1. yukiko-kawa
    Member
    Posted 2 years ago #

    List of Template and code I and other doing for this plug-in.

    Template: Elenco Anime

    before

    <table>
    <tbody>

    element

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    after

    </tbody>
    </table>

    CSS

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    EXEMPLE

    CODEX in Post

    [archivist category="PREVIEW" template="Elenco-anime" query="cat=48&post_type=episodi&post_status=publish&orderby=title&order=ASC&posts_per_archive_page=-1"]

    Category PREVIEW, template: elenco-anime, cateory 48(Preview),Special post type episodi, post status publish,orderby title, order ASC (A to Z), (archive page) view all post in cateogry,

    [archivist category="EPISODI Anime" template="ultimi_video" query="post_type=episodi&post_status=publish&orderby=date&order=des&posts_per_archive_page=30"]

    Category EPISODI ANIME, template: ultimi-video, Special post type episodi, post status publish,orderby date, order des (last date to first date), (archive page) view last 30 post in cateogry,

    http://wordpress.org/extend/plugins/archivist-custom-archive-templates/

  2. eteubert
    Member
    Plugin Author

    Posted 2 years ago #

    You can't mix category="..." and query="...". As you need the latter for the post_type, you should just add the category there.

  3. yukiko-kawa
    Member
    Posted 2 years ago #

    but.. the codex run...
    So I edit with this new code?

    [archivist template="Elenco-anime" query="cat=48&post_type=episodi&post_status=publish&orderby=title&order=ASC&posts_per_archive_page=-1"]

    right?

  4. eteubert
    Member
    Plugin Author

    Posted 2 years ago #

    Actually I am just guessing what your actual question is. I have a hard time understanding what you want to do and what's the problem.

    [archivist template="Elenco-anime" query="cat=48&post_type=episodi&post_status=publish&orderby=title&order=ASC&posts_per_archive_page=-1"] looks good.

  5. yukiko-kawa
    Member
    Posted 2 years ago #

    ..This post are not a support request.
    I wanted to give everyone some example of graphic template..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic