New Landing How can we help? Themeforest Theme Support Pinpoint Full news/blog on page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Pinpoint
  • #1841
    ritchmedia
    Member
    Post count: 66

    Hi, my customer really want the full latest blog to be displayed on their News page. I can’t find a way of doing this with the theme options.

    Can you help?

    Many thanks,

    James

    #1926
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi James,

    Are you using the Recent Posts element? May I see the site so I understand where the change is needed? Thanks!

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #1946
    ritchmedia
    Member
    Post count: 66
    This reply has been marked as private.
    #2076
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi James,

    Please use the Recent Posts element and make this edit:

    – open pinpoint\includes\page-builder\composer\lib\shortcodes\recent-posts.php
    – find line 67:

    $post_excerpt = excerpt($excerpt_length);

    – change it to this:

    $post_excerpt = get_the_content('Read more');

    Don’t forget to save the file to server and overwrite the original one.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #2079
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Also, make sure that you don’t set any custom excerpt for your posts.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #2227
    ritchmedia
    Member
    Post count: 66

    Hi Cosmin. Thanks very much for the ongoing support.

    A couple of further points:
    (1) I still need to use the Recent Posts to display an excerpt on the Homepage, so I modified your code as follows:

    if ($_SERVER[“REQUEST_URI”]  == ‘/news/’){
    $post_excerpt = get_the_content(‘Read more’);

    } else {
    $post_excerpt = excerpt($excerpt_length);
    }

    (2) Recent Posts element doesn’t appear compatible with Page Builder and/or shortcodes, therefore using this modified version to display full posts displays page builder code rather than desired output. Is there any way to correct this?

    (3) Recent Posts element appears to have an issue with paragraph spacing. I have had to manually edit the post with <br class=”blank” /> to keep desired spacing. However when the same post is viewed on single, category or archive pages it has double paragraph spacing. Is there any way to correct this?

    (4) Is there a theme setting to change layout of single, category or archive pages. I want them all to have right-sidebar. I cant find how to do this.

    Thanks again

    James

    #2240
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hey no problem,

    1 & 2 ) The Recent Posts is actually a shortcode – all Page Builder elements are (switch to classic view and you will see)

    Try this maybe?

    if (is_front_page()) {
    $post_excerpt = get_the_content(‘Read more’);}
    
    else { $post_excerpt = excerpt($excerpt_length); }

    3) Can you show me where the spacing problem originally was?

    4) Single = a post -> you have settings for the sidebar while editing a post. For archive/category, there’s a setting in the theme options for this.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #2285
    ritchmedia
    Member
    Post count: 66

    Thanks again!

    Item 3 – paragraph spacing:

    If you compare these two urls you’ll see a difference in paragraph spacing. The Recent Posts element merges paragraphs together:

    http://hartminibus.co.uk/news/ (this is the full post pulled via modified Recent Posts element)

    http://hartminibus.co.uk/travelling-abroad-the-essentials/ (this is the actual post)

     

    Item 4 – I had missed that this was a new feature in v1.4.

     

    Thanks!

    #2475
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hey,

    For 3), make sure you have a double return for your excerpt line breaks, as they are not formatted as the single posts are.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register