-
Author
-
August 17, 2013 at 20:11 #1482kswiftParticipant
I’d like to focus my website on news articles etc.
So ideally I will make the blog page my homepage.However I’d like to use elements of the default homepage, such as the signup/search box. Also would like to add a slider on top. Is there a way to do that, using shortcodes? I tried adding shortcodes on the ‘blogs’ WordPress page but that does not work. Or do I have to go into the template section?
August 20, 2013 at 08:09 #1579SQadminKeymasterHi,
When you set the Blogs page to be the one to show latest articles from Settings -> Reading it will ignore the content you are writing so you should modify the existing Home page if you want elements from that one . You want to list the posts just like in the Blogs page?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 20, 2013 at 08:57 #1582kswiftParticipantYes, ideally I’d like to add blog posts to the homepage, but reduce the amount of ‘promotion’ on the homepage (I know how to remove the shortcodes on the homepage, just not how to show posts there)
August 20, 2013 at 22:25 #1615SQadminKeymasterHi,
We created a shortcode that you can use and we will include it also in tomorrow update v1.5.1
Until tomorrow you can add the shortcode snippet to your sweetdate-child/functions.php:
http://pastebin.com/iFRDBRJYTo use it:
[kleo_articles]Shortcode attributes are the same as for [kleo_posts_carousel] shortcode
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 21, 2013 at 21:48 #1648kswiftParticipantYou’re officially the best!! Thanks! I’ll get tomorrow’s update too.
August 21, 2013 at 22:02 #1650kswiftParticipantBy the way, is it easy to alter this code and pull in a sidebar next to the news on this homepage?
August 22, 2013 at 11:12 #1660SQadminKeymasterHi,
If you want to put something next to it you should use the columns shortcode and add the posts shortcode in one column and other content in the next columnHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 23, 2013 at 09:57 #1699kswiftParticipantThanks! Actually I’d like to put a widget-ready sidebar there. But that won’t be possible using shortcodes, right?
August 23, 2013 at 14:38 #1730SQadminKeymasterHi,
You can use this: http://wordpress.org/plugins/widget-or-sidebar-per-shortcodeHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 23, 2013 at 15:19 #1732kswiftParticipantThat plugin works well! I just had to change their default class in the plugin code to ‘widgets-container sidebar_location’.
August 24, 2013 at 00:28 #1744kswiftParticipantOne small issue with the articles shortcode:
the date/author/category/comments line, which in Blog has the icon nicely aligned next to its description, is misaligned here – the icon is one line above the text as in this example:
What’s the CSS that should fix this?
August 26, 2013 at 09:59 #1793kswiftParticipantOK I fixed it myself, using:
ul.inline-list > li > *, ul.link-list > li > * {
display: inline-block;
}August 26, 2013 at 13:40 #1809SQadminKeymasterGlad you worked it out,.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.