• Resolved emmasteed

    (@emmasteed)


    Hello,

    Is there any way that I can select which projects show on the homepage of my website. I am using the Sketch theme and want to have the slider on my home page but not every project that I upload. Is there any way to do this?

    Many thanks,

    The blog I need help with is https://www.emmasteed.co.uk.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Sure – only posts/projects/pages that you tag with your slider tag will appear in the slider. Simply remove your slider tag from those posts/projects/pages you don’t want to appear and you should be good to go. You can check the Customizer’s Featured Content panel to remind yourself which your slider tag you chose.

    Moderator Kathryn Presner

    (@zoonini)

    If you’re referring to the projects below the slider, there isn’t a way to exclude projects from that area. You could try using the portfolio shortcode within the content area of the page instead.

    https://en.support.wordpress.com/portfolios/portfolio-shortcode/

    Then you could hide the default portfolio area with some custom CSS.

    Alternatively, you could hide specific projects on the homepage with custom CSS, but you’d need to update the CSS manually every time you add a new project you don’t want on the homepage.

    If you’d like any further guidance on either of the custom CSS workarounds, just let me know.

    Thread Starter emmasteed

    (@emmasteed)

    Thanks for the reply Kathryn!

    What custom CSS would I need to hide the default portfolio projects?

    Moderator Kathryn Presner

    (@zoonini)

    Adding this to your custom CSS editor should do it:

    .home .projects {
      display: none;
    }

    Thread Starter emmasteed

    (@emmasteed)

    Worked perfectly Kathryn! Thank you very much!

    Moderator Kathryn Presner

    (@zoonini)

    My pleasure!

    Hi Kathyrn, or anyone who is able to help;

    On my home page/front page I can’t figure out how to get rid of the links/images at the bottom of the page (actually I have this problem on all pages on my site). They are links to all other projects in my portfolio that appear just above the footer on every page and just below the content of each page. They are throwing off the whole look of my portfolio site.

    Would I have to edit the custom CSS as stated in the above post?

    .home .projects {
    display: none;
    }

    Thanks for any help. My site is https://marysiawalker.wordpress.com/ if that helps.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @moondoggle Per the forum welcome please post your own topic.

    *Looks*

    But in this case you’re looking in the wrong place. You’re posting in the wrong place and need to ask in the correct forum.

    https://en.forums.wordpress.com/forum/support

    This forum here is for self-hosted WordPress.ORG software installations.

    This link explains the differences.

    https://en.support.wordpress.com/com-vs-org/

    It’s a common misunderstanding. ??

    Moderator Kathryn Presner

    (@zoonini)

    Thanks, Jan!

    moondoggle – I’ll answer your question here since the it would be the same for a self-hosted site. You’ve assigned the Portfolio page template to several pages – and that template is designed to automatically display portfolio projects below the slider. To hide the projects and their pagination on all pages using the template, this custom CSS should do the trick:

    .page-template-portfolio-page .projects, .page-template-portfolio-page .navigation {
      display: none;
    }

    Also keep in mind that the table you added to your page content is not responsive — it doesn’t scale to smaller devices, so viewers need to scroll to the right on phones to view it all.

    If you need further CSS help on WordPress.com, please post directly in the CSS Customization forum.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Projects on the home page’ is closed to new replies.