January 20, 2014 at 8:26 am #6939
I saw in another post you recommended a child theme and inserting:
to allow the page saying “Nothing to show” to be updated. I did the above but cannot find where to alter this page and content.January 20, 2014 at 8:39 am #6941
you have to copy paste this file from the parent theme folder into your child theme folder and then edit the file in your child theme folder to your needs. Save it and then when the child theme is activated you will see the changes.January 20, 2014 at 8:53 am #6943
My knowledge of wordpress is extremely limited. I do not understand this process.January 20, 2014 at 9:03 am #6948
did you watch the video in the Video Tutorials section on how to install a child theme? Did you already set it up? Once you’ve done that copy /framework/views/global/_content-none.php this file from the /x/ parent theme into the child theme. Then edit the _content-none.php file in the child theme to your needs.January 20, 2014 at 9:19 am #6952
I did the child theme parts. It is installed. The editing is the part I’m not sure of. There is a title and content place when I view this home page. How do I edit one and not the other?January 20, 2014 at 9:54 am #6958
your file currently looks like this:
<?php // ============================================================================= // VIEWS/GLOBAL/_CONTENT-NONE.PHP // ----------------------------------------------------------------------------- // Output when no posts or pages are available. // ============================================================================= ?> <article id="post-0" class="post-0 post type-post status-publish hentry"> <div class="entry-wrap"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing to Show Right Now', '__x__' ); ?></h1> </header> <div class="entry-content"> <?php _e( "It appears whatever you were looking for is no longer here or perhaps wasn't here to begin with. You might want to try starting over from the homepage to see if you can find what you're after from there.", '__x__' ); ?> </div> </div> </article> <!-- end #post-0 -->
On line 14 you can change the title. And one line 17 you can change the message. Simply replace the content in the quotes.January 20, 2014 at 10:37 am #6965
In wordpress editor, I cannot find the views/global file?
Most pages for editing have:
<?php x_get_view( x_get_stack(), ‘template’, ‘blank-1’ ); ?>January 20, 2014 at 10:38 am #6966
It also has:
A blank page for creating unique layouts.
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack’s index, first go to “views”
// inside the “framework” subdirectory. Once inside, find your Stack’s folder
// and look for a file called “template-blank-1.php,” where you’ll be able to
// find the appropriate output.
I cannot find “views” or “framework”, if this is relevant.January 20, 2014 at 10:49 am #6967
The only editing options for the child theme in wordpress are:
Theme Name: X – Child Theme: Renew
Theme URI: http://theme.co/x/
Author URI: http://theme.co/
Description: Make all of your modifications to Renew in this child theme.
@import url( ‘../x/framework/css/site/stacks/renew.css’ );
// Overwrite or add your own custom functions to X in this file.
// =============================================================================January 20, 2014 at 11:40 am #6980
you have to go to your x parent theme /wp-content/themes/x/ and in there go to /framework/views/global/_content-none.php and copy that file and then go into your child theme folder and recreate the path so create a folder called /frameworks/ then a folder names /views/ inside the frameworks folder and then inside the views folder a folder called /global/ in that global folder you paste _content-none.php and then you edit that file you copied in there.January 20, 2014 at 11:52 am #6984
How can I access this from the wordpress editor?
These are the only options that wordpress is giving me for editing in the parent theme:
Main Index Template
Blank – Container | Header, Footer Page Template
Blank – Container | Header, No Footer Page Template
Blank – Container | No Header, No Footer Page Template
Blank – No Container | Header, Footer Page Template
Blank – No Container | Header, No Footer Page Template
Blank – No Container | No Header, No Footer Page Template
Blank – Container | No Header, Footer Page Template
Blank – No Container | No Header, Footer Page Template
Layout – Content Left, Sidebar Right Page Template
Layout – Full Width Page Template
Layout – Sidebar Left, Content Right Page Template
(style.css)January 20, 2014 at 1:21 pm #6997
you can’t access it from the WordPress editor you need a ftp program for that.January 20, 2014 at 1:43 pm #7006
how do I get that?January 20, 2014 at 2:22 pm #7014
Nevermind. Bluehost tech support did it all for me. I recommend bluehost;)January 20, 2014 at 3:09 pm #7028
Awesome, is everything working now?