Post Project
  • Search
    • Buyers can
    • Search offers to buy now
    • Search freelancers to request a proposal
    • Freelancers can
    • Search projects to quote on
  • How it works
  • Log in
  • Sign up
  • Freelancer?
Browse by Category
    Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media

    Wordpress: Template on custom post type

    - or -

    Post a project like this
    3357
    $$
    • Posted: 9 years ago
    • Proposals: 4
    • Remote
    • #229817
    • Awarded
    Dava G.
    Aruna S.Mohsin P.Dude W. have already sent a proposal.
    • 0
    • 0

    Description

    Experience Level: Intermediate
    I'm a bit stumped with an issue I'm getting and need assistance.

    I'm using wordpress, the roots theme, and a plugin that creates a custom post type called 'display'.

    To assign a template to that display post, I'm having to use a template file called 'single-display.php', but despite turning the sidebar off, it's appearing still and I want to know how to fix it.

    I also require learning how to do this for future reference.

    I've been trying to piece the following article together, and the plugin code to find the answer but I can't.

    Article: http://wp.tutsplus.com/tutorials/widgets/using-custom-post-types-to-create-a-killer-portfolio/

    Code: http://pastebin.com/3cPHgKdy

    End result: http://j.mp/10epg65

    I want the left sidebar (which is in the template), but not the default right sidebar.

    My roots config file looks like this (which should get rid of the sidebar in question):

    http://pastebin.com/4yRdnTzd

    Assistance as soon as possible would be appreciated :)
    Doug B.
    Doug B.
    99% (25)
    Projects Completed
    34
    Freelancers worked with
    29
    Projects awarded
    31%
    Last project
    15 Jun 2020
    United Kingdom

    New Proposal

    Login to your account and send a proposal now to get this project.

    Log in

    Clarification Board Ask a Question

      There are no clarification messages.
    3357
    $$

    - or -

    Post a project like this
    Doug B.
    Doug B.
    99% (25)
    Projects Completed
    34
    Freelancers worked with
    29
    Projects awarded
    31%
    Last project
    15 Jun 2020
    United Kingdom

    Related project Searches


    article content management system development (cms development) customization wordpress (cms)

    Product

    • About
    • Team
    • Careers

    Support

    • How it works
    • Trust & Safety
    • Help Centre

    Discover

    • GuidesStoriesNews

    Resources

    • Customer Stories
    • Business Cost Calculator
    • Startup Cities

    Browse

    • Freelance Services
    • Freelance Services By Country
    • Freelance Skills
    • Terms
    • Privacy
    • Sitemap
    • Company Details
    • © 2022 People Per Hour Ltd
    We use cookies to improve your experience and our services. By using PeoplePerHour, you agree to ourCookie Policy