brandonstiles
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: No code showing up in Text editor, Visual Editor, or Page BuilderHey @t-p! Thank you for the response.
I have done 2 of the 3 you mentioned- I deactivated all plugins and switched to 2016 and 2017, but nothing. I will see about flushing all those caches right now and will report back!
Forum: Plugins
In reply to: WooCommerce Cart not showing at all@lukecavanagh It should! Here’s what I have in my functions.php file for it:
// Remove WooCommerce Wrappers
remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_output_content_wrapper’, 10);
remove_action( ‘woocommerce_after_main_content’, ‘woocommerce_output_content_wrapper_end’, 10);add_action(‘woocommerce_before_main_content’, ‘my_theme_wrapper_start’, 10);
add_action(‘woocommerce_after_main_content’, ‘my_theme_wrapper_end’, 10);function my_theme_wrapper_start() {
echo ‘<div class=”container”>’;
}function my_theme_wrapper_end() {
echo ‘</div>’;
}function woocommerce_support() {
add_theme_support( ‘woocommerce’ );
}add_action( ‘after_setup_theme’, ‘woocommerce_support’ );
?>- This reply was modified 8 years, 2 months ago by brandonstiles. Reason: Switched add_Action to after the function
Forum: Plugins
In reply to: WooCommerce Cart not showing at all@lukecavanagh, yes sir, that’s correct! And I’ve double-checked to make sure the shortcode is in both HTML and visual view (I don’t see how that would make a difference, but I double-checked anyhow just to make sure).
If anyone has any information they could point me towards for this– everything I’ve read seems to have a different answer!
Forum: Themes and Templates
In reply to: Why are all my stylesheets being called on WordPress template?Hey @ryanphillips, thank you for your detailed response! I’m a bit new to the WordPress game, so I might be confused on some things. I AM trying to call a different stylesheet on all the pages (About.css for About Page, services.css for Services page, etc.).
I’ve wp_enqueue’d all the stylesheets, so really (what I should be doing) is using the is_page() calls on each individual page for its respective CSS stylesheet?
BTW, here’s another shot at the image to give you an idea: https://i.imgur.com/FdP14lC.png
Thanks for helping me out!!
Forum: Themes and Templates
In reply to: Why are all my stylesheets being called on WordPress template?Can anyone offer any suggestions about this?