Support » Theme: Publish » How do I have a page instead of post on home page and can I take date of posts

  • Resolved satinfeather99

    (@satinfeather99)


    Hi, I would like to take the date of selected posts and also have a page instead of a post on the home page. Can I do this. I need to get this figured out today!

Viewing 15 replies - 16 through 30 (of 49 total)
  • Theme Author Konstantin Kovshenin

    (@kovshenin)

    For more information on child themes please read through the Codex entry: http://codex.wordpress.org/Child_Themes

    WPyogi

    (@wpyogi)

    I posted it above (and that was from the page linked above on how to make a child theme…)

    Put only this in the stylesheet — remove all the other stuff which is not part of the child theme anyway:

    /*
    Theme Name: Publish Child
    Description: Child theme for publish
    Author: Your name here
    Template: publish
    */
    
    @import url("../publish/style.css");

    Your styles will go below the above.

    satinfeather99

    (@satinfeather99)

    I will try @import url(“../publish/style.css”);

    thanks 🙂

    satinfeather99

    (@satinfeather99)

    Hi this is my error message. Themes must have a stylesheet and a template.

    Do I need to have a template in the publish-child folder?
    @import url(“../publish-child/style.css”);
    and
    @import url(“../publish/style.css”);

    WPyogi

    (@wpyogi)

    The only thing in your child theme folder is the style.css file and it has the above at the top — with only the one @import line.

    There is no line like this anywhere:

    @import url("../publish-child/style.css");

    What is at the top of your child theme style.css file now?

    satinfeather99

    (@satinfeather99)

    this is my path to my theme /www/argent/wp-content/themes/publish

    WPyogi

    (@wpyogi)

    What is in your style.css file?

    satinfeather99

    (@satinfeather99)

    This is what I have on the top and put the publish-child folder on the theme level

    /*
    Theme Name: Publish Child
    Theme URI: http://www.avisualadvantage.net/argent
    Author: Lauren Labas
    Author URI: http://http://www.integrit-network.com/
    Description: This is a child them for Publish Template
    Version: 1.2.3
    License: GNU GPLv3
    License URI: http://www.gnu.org/copyleft/gpl.html
    Tags: light, white, blue, two-columns, left-sidebar, flexible-width, custom-background, custom-colors, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready

    Based on _s: http://underscores.me

    Resetting and rebuilding styles have been helped along thanks to the fine work of
    Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
    along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
    and Blueprint http://www.blueprintcss.org/
    */

    @import url(“../publish-child/style.css”);

    WPyogi

    (@wpyogi)

    I’m really a bit confused — I’ve posted twice exactly what you need to put in that file …

    Again, ERASE everything you have and put this:

    /*
    Theme Name: Publish Child
    Description: Child theme for publish
    Author: Your name here
    Template: publish
    */
    
    @import url("../publish/style.css");

    satinfeather99

    (@satinfeather99)

    Thank you for your patience. I really appreciate it. I will try that 🙂

    WPyogi

    (@wpyogi)

    No problem… just keep at it and we’ll get there :). I know it can be a bit confusing when you have not done it before.

    satinfeather99

    (@satinfeather99)

    that worked. So I went to themes and activated it and lost a bunch of stuff it seems.

    http://www.avisualadvantage.net/argent/

    Am I missing doing something with the parent theme. I to have everything this same on the parent css as the child css. Just copied and pasted. Should I just have the revisions to the code on the child css and all the other css on the parent?

    WPyogi

    (@wpyogi)

    You should only have changes to the CSS code in the new style.css file. It looks like you copied the entire thing? That’s really not what you want to do as it make it much harder to keep track of what’s what in your CSS code.

    WPyogi

    (@wpyogi)

    Oh, and you need to re-do any images because the file path is different now – so that’s why your logo is missing.

    satinfeather99

    (@satinfeather99)

    okay that sounds good. I will do that. So you select the child theme as a template not the main template? Seems like you should have both activated but I do not see how. I will revise the new child css with not css in it yet.

Viewing 15 replies - 16 through 30 (of 49 total)
  • The topic ‘How do I have a page instead of post on home page and can I take date of posts’ is closed to new replies.