This topic has 12 replies, 2 voices, and was last updated 11 years by SQadmin.

  • Author
  • #1482
     kswift
    Participant

    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?

    #1579
     SQadmin
    Keymaster

    Hi,
    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 solution
    #1582
     kswift
    Participant

    Yes, 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)

    #1615
     SQadmin
    Keymaster

    Hi,
    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/iFRDBRJY

    To 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 solution
    #1648
     kswift
    Participant

    You’re officially the best!! Thanks! I’ll get tomorrow’s update too.

    #1650
     kswift
    Participant

    By the way, is it easy to alter this code and pull in a sidebar next to the news on this homepage?

    #1660
     SQadmin
    Keymaster

    Hi,
    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 column

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #1699
     kswift
    Participant

    Thanks! Actually I’d like to put a widget-ready sidebar there. But that won’t be possible using shortcodes, right?

    #1730
     SQadmin
    Keymaster

    Hi,
    You can use this: http://wordpress.org/plugins/widget-or-sidebar-per-shortcode

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #1732
     kswift
    Participant

    That plugin works well! I just had to change their default class in the plugin code to ‘widgets-container sidebar_location’.

    #1744
     kswift
    Participant

    One 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:

    View post on imgur.com

    What’s the CSS that should fix this?

    #1793
     kswift
    Participant

    OK I fixed it myself, using:

    ul.inline-list > li > *, ul.link-list > li > * {
    display: inline-block;
    }

    #1809
     SQadmin
    Keymaster

    Glad you worked it out,.
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 13 posts - 1 through 13 (of 13 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?