|
#1
Dec 15, 2011, 03:26 PM
|
|
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.
__________________
Powered by WordPress & Atahualpa 3.7.3
On Share Hosting
|
#2
Dec 15, 2011, 05:11 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
url? examples?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Dec 15, 2011, 06: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.
__________________
Powered by WordPress & Atahualpa 3.7.3
On Share Hosting
|
#4
Dec 15, 2011, 07:19 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
can you send the code or a copy of the updated function.php?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Dec 17, 2011, 07:28 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#6
Dec 17, 2011, 08: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
__________________
Powered by WordPress & Atahualpa 3.7.3
On Share Hosting
|
#7
Dec 17, 2011, 08: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.
__________________
Powered by WordPress & Atahualpa 3.7.3
On Share Hosting
|
#8
Dec 17, 2011, 08:32 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
|