Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1122112

    I’m using the Enfold Theme and Podlove.
    All podlove posts go into their category (podcast), while other blog posts have their own.
    If I view a single podlove post everything is fine.

    I’m having two problems in displaying the Podlove posts. I did some research but I didn’t make sense of it. I’m not a developer.

    1. If I use the “blog post” content element the podlove post are not displayed – except with the “Raster-Layout”.
    What do I have to do to display the podlove posts in all layouts?

    2. I cannot use the Layout Builder in the Podlove post pages.
    What do I have to do to use it in Podlove post pages as well?

    Thanks very much in advance for your help!
    Regards
    Simon

    #1122370

    Hey king-simon,

    Please have a look at our docs here

    Best regards,
    Victoria

    #1122445

    Thanks for your reply!
    I tried that in functions.php

    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
      $supported_post_types[] = 'podcast';
      return $supported_post_types;
    }
    add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);

    but I get the following error:

    “Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”

    What now?

    Thanks very much for your help!

    #1122463

    Hi,
    Please try adding your function into your functions.php via ftp or sftp or via your cPanel file manager.

    Best regards,
    Mike

    #1122490

    Thanks, that worked! I can now see the added functions functions.php in the editor as well.

    However, it did solve only half of my problems!

    I’m now able to use the ALB in the single Podlove posts!

    However, the “blog post” element still doesn’t display the Podlove posts – except when I use the “grid layout”. I want to use the “single author layout” with both full content or exerpt but it won’t display anything (= says it didn’t find any entries on the webpage…)

    Thanks,
    Kind regards,
    Simon

    #1122531

    Hi,
    I have not heard of Podlove before so I’m trying to research this to be able to assist.
    Is this the Podlove Podcast Publisher plugin?
    I did find that you will need to create a custom taxonomy for the blog posts element to display the posts. I also found this function that may help:

    add_theme_support('avia_template_builder_custom_post_type_grid');
    add_theme_support('add_avia_builder_post_type_option');

    This post also seems to be relevant even though it’s about portfolio custom post types, it should also work for the blog element.

    Best regards,
    Mike

    #1122686

    Yes, it’s the Podlove Publisher.
    I did find a workaround that does the trick:
    I use the blog post element in a simple WordPress page (not the alb) to get its shortcode. Then I change the post type manually to “podcast” (which is podlove’s post type) and place it in a code block element.
    As far as I’m concerned that’s fine.

    Although I’d generally like the blog post element to able to deal with custom post types.

    Thanks for your assistance and your fast replies!
    Kind regards,
    Simon

    #1123001

    Hi,

    Thank you for the update.

    Did you create a custom taxonomy to the podlove post type? You should be able to select that taxonomy and its terms in the blog posts element. Or use the snippet @Mike provided above to enable the custom post type selection.

    Best regards,
    Ismael

    #1123082

    It works using a Custom Taxonomy!

    Cheers,
    Simon

    #1123228

    Hi Simon,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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