Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Pinpoint › Full news/blog on page
New Landing › How can we help? › Themeforest Theme Support › Pinpoint › Full news/blog on page
Tagged: customer, James, latest blog, News page, news/blog, page Hi, Thanks, theme options, way
- This topic has 8 replies, 2 voices, and was last updated 11 years by Cosmin – SUPPORT.
-
Posted in: Pinpoint
-
April 16, 2013 at 8:56 pm #1841
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
April 17, 2013 at 8:19 pm #1926Hi 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 AssistantApril 17, 2013 at 8:59 pm #1946This reply has been marked as private.April 18, 2013 at 4:12 pm #2076Hi 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 AssistantApril 18, 2013 at 4:13 pm #2079Also, make sure that you don’t set any custom excerpt for your posts.
Regards,
————————————————————————————————————Cosmin
Support AssistantApril 19, 2013 at 7:03 pm #2227Hi 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
April 19, 2013 at 8:03 pm #2240Hey 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 AssistantApril 20, 2013 at 7:27 am #2285Thanks 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!
April 22, 2013 at 7:47 pm #2475Hey,
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 -
Posted in: Pinpoint
You must be logged in and have valid license to reply to this topic.