Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Taxonomy under the title (http://forum.bytesforall.com/showthread.php?t=16275)

adrian Dec 15, 2011 02:26 PM

Taxonomy under the title
 
When you have added a Custom Post Type in Atahualpa.- Atahualpa displays the content, all on one archive page, ordered chronologically, and each page of the Custom Post, Atahualpa (without writing a single code), is able to display below the title the date and the author, Like a Post or Page.

But if I add a couple of classification by taxonomy, I see no way of telling Custom Post Type Page, I want to assign a taxonomy on it.

In Post is easy to configure (Edit POST/PAGE INFO ITEMS), to show under the title the category assigned (for Post only). But there will be something I ask myself?, like %category%, to make taxonomy appears under title of Custom Post Type, or Post and Page.

Anyone here know if this is possible and how.

Thank.

juggledad Dec 15, 2011 04:11 PM

url? examples?

adrian Dec 15, 2011 05:09 PM

Thank you for answering. I can not add it here, I'm working on a local installation on my PC, doing a couple of tests to update my blog with Atahualpa 3.7.3

But the process was this;
1. open, Function PHP file - In Atahualpa do not look wise to work in child theme, so in it own function file add the code to create Custom Post Type.

2. Add content to this new section (CPT).

3. Atahualpa does the rest, but again, can not find a way to add something like %category% in Edit POST/PAGE INFO ITEMS. To get Taxonomy as category.

juggledad Dec 15, 2011 06:19 PM

can you send the code or a copy of the updated function.php?

juggledad Dec 17, 2011 06:28 AM

Ok, I put your code in, see the new post tyope and create content. How do you get the content to display in the front end? With a new Atahualpa install, I don't see it on the front page and it doesn't show up on te Archives. Did you do something else?

adrian Dec 17, 2011 07:38 AM

This is the beauty of Custom Post Type in WordPress. When you create one, it gets its own URL.

In Pages, this does not happen that way, unless you keep them organized hierarchically. So if you have given the name of "Inventory", in this case;

register_post_type('inventory',$args);

The URL would be http://mywebsite.com/inventory/

You can add a link to this new section from Menu

adrian Dec 17, 2011 07:41 AM

Also, Sorry to have confused the term, when I said ".. all on one page archive... " I was referring to the page template for this new section.

juggledad Dec 17, 2011 07:32 PM

Atahualpa user sth standard wordpress functions. Doing a google search, it seems that several people are having problems with custom Taxompnies not being handled by the standard WordPress functions.


All times are GMT -6. The time now is 09:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.