WordPress.org

Forums

Wiki
[resolved] calling custom post type wiki (5 posts)

  1. afjsystem
    Member
    Posted 2 years ago #

    hi..
    i'm trying calling the post of wiki custompost type, the categories and the tags. the cpt is incsub_wiki right ?

    can you give me advise, how to show the wiki cpt based on the category ? with excerpt.

    http://wordpress.org/extend/plugins/wordpress-wiki-plugin/

  2. Aristeides Stathopoulos
    PressCodes
    Posted 2 years ago #

    Hey there @afjsystem,
    You'll have to create a custom template file in your them that is named like taxonomy-{taxonomy}.php (replacing {taxonomy} with the actual name of the taxonomy.
    In that file you can create your custom loopand etit the content anyway you want using a loop and query_posts: http://codex.wordpress.org/Function_Reference/query_posts#Usage

  3. Mike
    WPMU DEV Support Staff
    Posted 2 years ago #

    Hi @afjsystem

    It's been three weeks since @aristath posted here, did his answer solve your problem?

    If so please mark the thread as resolved(makes our job easier :) if not please restate your current issue and we'll see if we can help you out further.

  4. afjsystem
    Member
    Posted 2 years ago #

    sorry for late reply, i just got back from outfield assignment.

    no, i mean if i have this widget : http://pastebin.com/WpMhECzx that call ordinary post types (posts) and its categories.
    Then i'd like to make it call the incsub_wiki and its categories.

    thanks

  5. ellbristow
    WPMU DEV Support Staff
    Posted 2 years ago #

    I'm afraid the wiki plugin uses a slightly different form of CPT which means that you may not be able to hook into it quite the way you are hoping to. For example, our CustomPress plugin does not recognise it as a CPT, and nor does User Role Editor recognise the permissions used to manage wiki pages.

    Sorry!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wiki
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic