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

  1. afjsystem
    Posted 3 years ago #

    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.


  2. Aristeides Stathopoulos
    Posted 3 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 3 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
    Posted 3 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.


  5. ellbristow
    WPMU DEV Support Staff
    Posted 3 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wiki
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic