Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #752629

    I have a custom post up and running.

    The post landing page and single posts make use of the page and single templates and the loop-page.

    Then in wordpress I set the landing page to use the blog advanced layout with the layout set to grid.

    My problem is that on the custom post landing page the excerpt is shorter than that used for the blog, date is not showing and taxonomy does not display.

    On Single custom posts comment form does not display and the layout is slightly different for a single posts, the thumbnail is smaller, inspecting the code the template is slightly different but when checking the php file being used it’s the same as that used for single posts

    #755272

    Hey geordiemac,

    you’ll lose WordPress’ default behavior when activating ALB for blogposts. With ALB you have all freedom, but you also need to do everything from scratch. If you need WP’s default behavior, then we recommend to use WP’s default editor.

    Best regards,
    Andy

    #755273

    However, you can follow this thread here: https://kriesi.at/support/topic/using-alb-with-custom-post-type-and-meta-information/#post-580144 for a workaround.

    Best regards,
    Andy

    #755651

    Hi Andy
    Thanks for your help, I have managed to match up the styling and some of the behaviours, my only problem that I can not figure out is how to display the author on the custom post landing page, I tried the method in the link but it’s not quite working?

    On the cpt post landing page I need to display the category and date above each post

    I tried the shortcode method but not sure how to add, is that added manually to every post? Also the post_meta_infos file implementation I couldn’t get this to show, not sure how to include.

    • This reply was modified 7 years, 8 months ago by geordiemac.
    #758264

    Hey!

    Add the shortcode in the functions.php file:

    // https://kriesi.at/support/topic/using-alb-with-custom-post-type-and-meta-information/#post-580716

    After that, edit the the post then use the following shortcode:

    [the_post_meta]
    

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.