Viewing 5 posts - 1 through 5 (of 5 total)
Steve

Single article under DP child theme

Hi, I made a child theme to customize the DP, everything went well until I had to change the Article / Listing page layout. I can't find which file do I need to copy in my child theme to customize the layout. Any help much appreciated.

Created: July 26, 2013 at 8:19 pm

  • Richard Bonk
    Richard Bonk
    July 26, 2013 at 9:10 pm

    The name of the file in the child theme is _articlepage.php and the code is located in the single.php (It is just a small section in that file, so don’t try copying the whole lot, it will not work!).

    I have attached a packed _articlepage.php file for you here.

    Kind regards,

    Richard
    _____________________________________________________________________
    Wide range of PremiumPress and WordPress Plugins and add-ons
    PremiumPress customisation services and Website Design
    Selection of PremiumPress Child Themes

    Attachments:
    You must be logged in to view attached files.

  • Steve
    July 26, 2013 at 10:56 pm

    Hi Richard,

    Thank you so much for the prompt response and for the file. It is a bit strange why this file is not part of the template folder.

    Also, I just want to make sure if I am on the right path. To change the Listing page is OK/enough if I copy the _single.php file from the “template_directorypress” folder into the child theme?

    Thank you again,
    Steve

  • Richard Bonk
    Richard Bonk
    July 26, 2013 at 11:12 pm

    Yes, just copy and edit the _single.php

  • Mark Fail
    Mark Fail
    July 27, 2013 at 3:31 am

    thanks for sharing

Copyright © 2010-2020 PremiumPress Limited.

secure payments