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

    Hello,
    I am using Propulsion 4.3 (WordPress 4.9.9 | PHP 5.6.37) and am trying to get some paragraph content to display on top of the Blog Page (posts page). I know WordPress did away with this around core 4.2, but the client really wants to show an introductory paragraph at the top of the Blog page. Can anyone show me how to display this content with too much or no code hacking?

    Thanks,
    Michael

    #1062792

    On the file, template-blog.php, I solved this by placing this code:
    <?php /* Added to get the content paragraphs for the Blog page*/
    $page_for_posts_id = get_option( ‘page_for_posts’ );
    $page_for_posts_obj = get_post( $page_for_posts_id );
    echo apply_filters( ‘the_content’, $page_for_posts_obj->post_content );
    ?>
    above the code that calls the loop to output the posts.

    Suggestion:
    In the next update of the Propulsion theme, I think there should be a text editor box on the Theme Options right below “And where do you want to display the Blog?“, which would be for blog page content that someone would want to be above the blog list.

    Thanks,
    Michael

    #1062851

    Hi Michael,

    Glad you got it working for you! :)

    The theme is quite old and is no longer available on ThemeForest. It also doesn’t support later versions of PHP.

    Sorry for the lack of support, we have decided to focus on our more popular themes like Enfold.

    Please refer to this post
    https://kriesi.at/archives/ (Purchase code hidden if logged out) -4-5-1

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1062853

    Victoria,
    What is the highest level of PHP that Propulsion can support?

    Can it work with PHP 7.0.x?

    Michael

    #1064213

    Hi Michael,

    It will work with php7.0 but you might want to look at this thread
    https://kriesi.at/support/topic/ (Purchase code hidden if logged out) /

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.