- This topic has 9 replies, 2 voices, and was last updated 7 years, 2 months ago by Mahesh.
-
AuthorPosts
-
January 30, 2017 at 2:52 am #108296kejpaParticipant
Hi,
I’m experimenting with a CPT (Custom Post Type) for a persons gallery and for this post type I’d like to have the author and date in the same format as it is in the general post type, but after the post content instead of between the post header and the content.CSS or is there coding involved?
Best regards
/KjellJanuary 30, 2017 at 10:10 am #108307MaheshKeymaster@kejpa: You’ll need to add the following code where you display the custom posts.
<?php catchbase_entry_meta(); ?>
Regards,
MaheshJanuary 31, 2017 at 12:53 am #108392kejpaParticipantThanks!
I’m using Toolset Views and there are no option for adding script snippets. There are however an option to add Post fields and there I find “catchbase-featured-image” among others and I was thinking if it’s possible to add such a field for the entry-meta somewhere in my funktions.php.All the Best
/KjellJanuary 31, 2017 at 11:50 am #108431MaheshKeymaster@kejpa: The above code snippet is for the child theme.
-> add Post fields and there I find “catchbase-featured-image” among others and I was thinking if it’s possible to add such a field for the entry-meta somewhere in my functions.php.
I don’t understand this. Please clarify.Regards,
MaheshFebruary 8, 2017 at 12:50 am #109054kejpaParticipantHi,
a few days with “real” work instead of playing around with WordPress 😉
If you follow this link:
http://www.kejpa.com/asf/wp-admin/admin.php?page=ct-editor&ct_id=624
and then click on “Fält och vyer” you will get into where you add fields and views short codes, and at the bottom there’s a button “Ladda fält som inte är types” (Load fields that aren’t types) and there you will see a couple of catchbase-* fields. This is where I thought one might be able to get a shortcut for catchbase_entry_meta()regards
/KjellFebruary 8, 2017 at 11:44 am #109081MaheshKeymaster@kejpa: Can you please explain in detail. You have given the admin link, and without logging in, I cannot see what you really mean. Please attach an image if possible. Hope you understand.
Regards,
MaheshFebruary 8, 2017 at 2:05 pm #109094kejpaParticipantHi
You still have admin access to the site, but here’s a picture…
Best regards
/KjellFebruary 8, 2017 at 7:15 pm #109118MaheshKeymaster@kjepa: Sorry, but there is not such feature to have meta in the custom post just like that as you’ve mentioned above. As mentioned in post above LINK, you’ll need to call
catchbase_entry_meta();
function just in the the page where you have displayed the custom post. Hope you understand.
Let me know if any problem.Regards,
MaheshFebruary 9, 2017 at 2:19 am #109135kejpaParticipantOk,
I’ll have to find a way to get the catchbase_entry_meta() code in place somehow…Thanks for your time!
/KjellFebruary 9, 2017 at 12:29 pm #109188 -
AuthorPosts
- The topic ‘Move author and date to CPT footer’ is closed to new replies.