Shaunrafuse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Code showing on site<div id="left"> <?php if ( is_active_sidebar( 'sidebar-left' ) ) : ?> <div id="left-sidebar" class="left-sidebar widget-area" role="complementary"> <?php dynamic_sidebar( 'sidebar-left' ); ?> </div> <?php endif; ?> </div>
This is for a new file created for the sidebar called ‘sidebar-left.php’
function mychild_widgets_init() { register_sidebar( array( 'name' => __( 'Left Widget Area', 'twentyfourteen' ), 'id' => 'sidebar-left', 'description' => __( 'Left sidebar.', 'twentyfourteen' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h1 class="widget-title">', 'after_title' => '</h1>', ) ); } add_action( 'widgets_init', 'mychild_widgets_init' );
And that’s what I added to the ‘functions.php’ file I created. Then that text shows up on the top of the site, admin dashboard or signed out..
Forum: Fixing WordPress
In reply to: Code showing on siteI’m using the twenty fourteen theme, and when I open the child theme directory via FTP there is no functions.php in it.. I’ve always read that it needed to be created…
Forum: Fixing WordPress
In reply to: Can't align sidebarTried that but still the same problem..
Forum: Fixing WordPress
In reply to: How Can You Add An Additional Sidebar?Would you have any idea why the code is showing up on the site???
Forum: Fixing WordPress
In reply to: Can't align sidebarI’m using a child theme, everything is just called from the parent.. Change it from there???
Forum: Fixing WordPress
In reply to: Can't align sidebarSadly, no luck.. Line removed but still the same issue.
Forum: Fixing WordPress
In reply to: How Can You Add An Additional Sidebar?This is a problem I have whenever I make a functions.php file and enter text into it. Main reason why I’ve steered more towards the plugins and simple CSS coding.. It’s slightly discouraging but I really want to learn it and get some more pleasing aesthetics to my site.
Forum: Fixing WordPress
In reply to: How Can You Add An Additional Sidebar?I’m real fresh to the coding world, not sure what’s going on here… Plugins and the custom CSS manager have been my tools of choice in building the site and still, the CSS skills are limited.. But I’m working on it!
Forum: Fixing WordPress
In reply to: Can't align sidebarhttps://tinypic.com/r/ei17qh/8
Look on the right side underneath posts, you’ll see what I mean..
Forum: Fixing WordPress
In reply to: How Can You Add An Additional Sidebar?well I seem to have run in to a slight problem esmi.. I don’t have a sidebar to play with (or can’t find it to put text in) and I can see code directly on the site.. Homehealthyfitness.com
Forum: Fixing WordPress
In reply to: Can't align sidebarsnap? Sorry I’m confused, snapshot?? If so, may I ask how I would share it on this forum?
Forum: Fixing WordPress
In reply to: Can't align sidebarWorked perfect! Thanks The Grey Parrots.. Still the only place on the site that wordbreaks (-) at the end of a line though and I can’t fix it!
Forum: Fixing WordPress
In reply to: Can't align sidebarhomehealthyfitness.com
Forum: Fixing WordPress
In reply to: How Can You Add An Additional Sidebar?Oh that looks fun ?? your good lol… I’ll get right on it keep ya posted, thanks!!
Forum: Fixing WordPress
In reply to: How Can You Add An Additional Sidebar?Yup