Travis
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Please Help With Moving Sidebar from Left to RightCan you provide a link?
Hello,
The stylesheet doesn’t seem to be loading at all for me…
Did you use @import to pull in the parent theme styles?
Forum: Themes and Templates
In reply to: [iContent] Change colorsHello yeliz,
Can you post a link to your site?
Forum: Themes and Templates
In reply to: Move menu downHello aksmac12,
You’ll want to make a child theme first (see how here: https://codex.www.ads-software.com/Child_Themes )
Then add this line of code to your child themes style.css:
header[role=banner] { height:auto; } #TopMenu { position:relative; }
Forum: Themes and Templates
In reply to: Recent posts below content of single post?You would want to use WP_Query to get all of your posts. Something like this:
<?php // The Query $args = array( 'post_type' => 'post' ); $the_query = new WP_Query( $args ); // The Loop if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); echo '<li>' . get_the_title() . '</li>'; } } else { // no posts found } /* Restore original Post Data */ wp_reset_postdata();
Forum: Themes and Templates
In reply to: Add a file from sub-directory to child themeHave you tried adding this to your functions.php file for your child theme?
<?php get_template_part( 'includes/links' ); ?>
(This is not tested so let me know if it works)
Forum: Themes and Templates
In reply to: Remove space below post in Twenty TwelveHello agne987,
You’ll want to make a child theme first (see how here: https://codex.www.ads-software.com/Child_Themes )
Then add this line of code to your child themes style.css:
.site-content article { margin-bottom: 2rem; }
You can adjust the value “2rem” to whatever you want.
Thank you mdetrick!!!
Forum: Plugins
In reply to: [HTML Page Sitemap] using post_typeDoesn’t look like it works with this plugin, but would be great if it did… for now we have to use wp_list_pages.
https://codex.www.ads-software.com/Function_Reference/wp_list_pages
Forum: Themes and Templates
In reply to: Add post meta to theme?Figured it out. Needed to check it nonce variable isset
if ( !isset($_POST['my_meta_noncename']) || !wp_verify_nonce( $_POST['my_meta_noncename'], plugin_basename( __FILE__ ) ) ) return;
Forum: Themes and Templates
In reply to: Add post meta to theme?I pasted the code in my functions.php file and I’m getting the following error with debug on:
Notice: Undefined index: partners_noncename in /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/themes/theme/functions.php on line 71
Forum: Fixing WordPress
In reply to: Editor window really long on visual and html modeI am having the same issue, the postarea div is 4025px tall!
I’m having the same problem, nothing is showing
Forum: Plugins
In reply to: [NextGEN Facebook] Facebook description for a page?Ok, Thanks!
Forum: Plugins
In reply to: [NextGEN Facebook] Facebook description for a page?Hi jsmoriss,
Thanks for your reply. Is there a way to manually edit the meta tags for each page/post, instead of auto-generating? Thanks!