Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #108296
    kejpa
    Participant

    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
    /Kjell

    #108307
    Mahesh
    Keymaster

    @kejpa: You’ll need to add the following code where you display the custom posts.
    <?php catchbase_entry_meta(); ?>

    Regards,
    Mahesh

    #108392
    kejpa
    Participant

    Thanks!
    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
    /Kjell

    #108431
    Mahesh
    Keymaster

    @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,
    Mahesh

    #109054
    kejpa
    Participant

    Hi,
    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
    /Kjell

    #109081
    Mahesh
    Keymaster

    @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,
    Mahesh

    #109094
    kejpa
    Participant

    Hi
    You still have admin access to the site, but here’s a picture…
    Fields and views

    Best regards
    /Kjell

    #109118
    Mahesh
    Keymaster

    @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,
    Mahesh

    #109135
    kejpa
    Participant

    Ok,
    I’ll have to find a way to get the catchbase_entry_meta() code in place somehow…

    Thanks for your time!
    /Kjell

    #109188
    Mahesh
    Keymaster

    @kejpa: For this, please contact the plugin support.

    Regards,
    Mahesh

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Move author and date to CPT footer’ is closed to new replies.