-
AuthorPosts
-
January 20, 2014 at 8:26 am #6939
I saw in another post you recommended a child theme and inserting:
/framework/views/global/_content-none.php
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 #6941Hey Justin,
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 #6943My knowledge of wordpress is extremely limited. I do not understand this process.
January 20, 2014 at 9:03 am #6948Hey Justin,
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 #6952I 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 #6958Hey Justin,
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 #6965In 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 #6966It 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 #6967p.s.
The only editing options for the child theme in wordpress are:style.css with:
/*Theme Name: X – Child Theme: Renew
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to Renew in this child theme.
Version: 1.0.0
Template: x*/
@import url( ‘../x/framework/css/site/stacks/renew.css’ );
OR
funtions.php with
<?php
// =============================================================================
// FUNCTIONS.PHP
// —————————————————————————–
// Overwrite or add your own custom functions to X in this file.
// =============================================================================January 20, 2014 at 11:40 am #6980Hey Justin,
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 #6984How can I access this from the wordpress editor?
These are the only options that wordpress is giving me for editing in the parent theme:Templates
404 Template
(404.php)archive-x-portfolio.php
Comments
(comments.php)Footer
(footer.php)Theme Functions
(functions.php)Header
(header.php)Main Index Template
(index.php)Page Template
(page.php)Search Form
(searchform.php)Sidebar
(sidebar.php)single-x-portfolio.php
Single Post
(single.php)Blank – Container | Header, Footer Page Template
(template-blank-1.php)Blank – Container | Header, No Footer Page Template
(template-blank-2.php)Blank – Container | No Header, No Footer Page Template
(template-blank-3.php)Blank – No Container | Header, Footer Page Template
(template-blank-4.php)Blank – No Container | Header, No Footer Page Template
(template-blank-5.php)Blank – No Container | No Header, No Footer Page Template
(template-blank-6.php)Blank – Container | No Header, Footer Page Template
(template-blank-7.php)Blank – No Container | No Header, Footer Page Template
(template-blank-8.php)Layout – Content Left, Sidebar Right Page Template
(template-layout-content-sidebar.php)Layout – Full Width Page Template
(template-layout-full-width.php)Layout – Sidebar Left, Content Right Page Template
(template-layout-sidebar-content.php)vc_column.php
vc_row.php
single-product-reviews.php
woocommerce.php
Styles
Stylesheet
(style.css)January 20, 2014 at 1:21 pm #6997Hey,
you can’t access it from the WordPress editor you need a ftp program for that.
January 20, 2014 at 1:43 pm #7006how do I get that?
January 20, 2014 at 2:22 pm #7014Nevermind. Bluehost tech support did it all for me. I recommend bluehost;)
January 20, 2014 at 3:09 pm #7028Awesome, is everything working now?
-
AuthorPosts