Support Forums for LiveMesh Themes & Plugins › Forums › Agile Theme Support › Blog Shortcodes
Tagged: blog shortcodes, columns, excerpts
- This topic has 5 replies, 3 voices, and was last updated 10 years ago by Nexus.
-
AuthorPosts
-
April 2, 2014 at 12:27 am #5578TereseMember
Hi!
First of all, thank you for a lovely theme!
I am developing a website for a CrossFit Centre of a friend of mine and I am having a bit of a trouble with blog shortcodes – in columns – in a page section. http://ny.crossfitsolid.se/
What am I doing wrong? Why are my columns lacking space to the right and the left?
I would also like to:
1) Have a background color with a specific category
2) Show the “original” blog posts – not the excerptsWould that be possible?
Kind regards,
/Terese
April 2, 2014 at 4:04 am #5599ErnestoMemberHi,
Could you send us the shortcode you’re using for the blog so we can take a look at it?April 2, 2014 at 6:41 am #5609TereseMemberHi,
I wrote it like this:
[divider_space]
[four_col]
<h2>WOD</h2>
[category_posts category_slugs=”wod” show_meta=”true” hide_thumbnail=”true” excerpt_count=200 post_count=1]
[/four_col][eight_col_last]
<h2>Aktuellt</h2>
[category_posts category_slugs=”aktuellt” show_meta=”true” excerpt_count=200 image_size=”medium” post_count=1]
[/eight_col_last][divider_space]
Cheers! /Terese
April 4, 2014 at 1:51 pm #5675TereseMemberHi again, was this a tricky one? Just waiting around, quite curious, because if it cannot be resolved I need to restart work with another theme, and I prefer not to, because I really like the performance of Agile so far! 🙂
Best regards,
/Terese
April 5, 2014 at 1:51 am #5681ErnestoMemberHi, sorry for the delay. From what I can see, you can solve your first question applying the following code in the Custom CSS Section of your Theme Options Panel.
.fourcol {padding-left: 2%; width: 28%} .eightcol last {padding-right: 2%; width: 50%}
For the back ground color, you can use followin CSS code:
.post-52 {background-color: yurdesiredcolor}
With the exceprts, what you’ll need to do is go to your theme package, to the folder framework>functions and in the file post-functions.php look for line 396 and replace this code:
$output .= $excerpt_text;
with this code:
$output .= get_the_content();
Hope that works out for you!
April 5, 2014 at 9:48 am #5702NexusModeratorYou can also wrap the content with the [segment] shortcode like this
[segment] [four_col]
WOD
[category_posts category_slugs="wod" show_meta="true" hide_thumbnail="true" excerpt_count=200 post_count=1] [/four_col] [eight_col_last]Aktuellt
[category_posts category_slugs="aktuellt" show_meta="true" excerpt_count=200 image_size="medium" post_count=1] [/eight_col_last] [/segment]Hope that helps.
-
AuthorPosts
- The forum ‘Agile Theme Support’ is closed to new topics and replies.