add_editor_style()
doesn’t seem to affect anything.
functions.php:
function style_editor() {
add_theme_support( 'editor-styles' );
add_editor_style( 'style-editor.css' );
}
// Remove the parent theme's editor styles function
remove_action( 'after_setup_theme', 'twenty_twenty_one_setup' );
add_action( 'after_setup_theme', 'style_editor' );
style-editor.css:
body {
background-color: #fff;
color: #000;
}
I’d expect this to work, but the only way to get it working is to go into the parent functions.php and comment out add_action( 'after_setup_theme', 'twenty_twenty_one_setup' );
This page is on a localhost server amd not yet live in the wild
I have bee following a tutorial to create a theme for wordpress,
( https://mdbootstrap wordpress tutorial )
and at the last part there is a section on creating a woocommerce cart as a part of the site creation. The woocommerce tutorial is located at:
( woocommerce tutorial )
Everything went well until the woocommerce install. At this point I will post here, what I wrote on their help forum, about the issue that I am having, as it is detailed.
( https://mdbootstrap.com/support/general/woocommerce-tutorial-missing-images-for-sample-products/ )
Any help is appreciated.
++++++++++++++++++++++++++++++++++++++++++++
Expected behavior – After following “WordPress Woocommerce Tutorial” Expected Woocommerce page to appear same as in MDB Tutorial Example
Actual behavior – The first “SHOP” page does not look the same as example – no images or formatting as the example (except for the head and footer which are good- as per MDB wordpress tutorial (see screenshots)
Environment – Latest WordPress – MAMP and components latest – Updated browsers – Latest Woocommerce – MDBootstap 4
Going through the WordPress MDBootstrap tutorial successfully using localhost –
I have gotten to the step where I have imported the sample data from “WooCommerce Products CSV” as instructed in the tutorial.
The tables show up in the Admin > Woocommerce > Products and everything SEEMS to be OK… However No Product Images !!!!!
Resources (screenshots, code snippets etc.)
Here are screenshots of what I am looking at to help you:
WP Admin Media Library ( no thumbnails!!!!)
Going through Forums here and Woocommerce site I have found nothing similar.
Help please> How to Fix?
Otherwise a really good and useful tutorial and appreciated VERY much!
Thanks in advance!
++++++++++++++++++++++++++++++++
UPDATE:
I decided to look inside of sample_products.csv to see if that was the source of the photos, and yes, the URLs for the photos are there. So I downloaded each of the photos into a folder and have them now.
That changes the objective of the request for help a bit.
Now, with the photos in hand the issues become:
Where to put them so that woocommerce, wordpress and database have expected access to them and how to do so without breaking anything?
Do they need an enclosing folder / directory and if so what to call it?
Is this the best way to fix the issue, or, is there an updated sample_products.csv to match the latest version of woocommerce (which just came out 2 days ago) – or another way entirely?
Thanks again
]]>How does wordpress know that my theme is updated or needs updating in the admin panel like all the other themes show?
Does it have to be uploaded an gone through the review process then when accepted, that is when people know they need to update the theme?
]]>Thanks in advance.
]]>I know that sounds weird, but I’m learning!
So, I want to custom build the template, add images, content, ect and list it on ebay with a domain name. Do I need to use my hosting account? Should I use a local wordpress? Where & HOW do developer create their themes with wpmdev with going “live”?
PLEASE HELP!
]]>So this is where I’ve installed the theme : https://cyberfreax.com/wp/
Please help me out !
]]>However – new as I am to this – I’d like to know before I dive into it, what is the best practice here; to first enable multisite-functionality and then create the theme, or the other way around?
I fear that if I make the wrong call I’ll be dealing with a lot of problems due to different theme settings…
Thank you in advance.
]]>I’m trying to create a theme on WordPress for the first time and I’ve followed (for the most part) this tutorial, i just ignored the menu and sidebar parts, because I’m not having a sidebar and I’ve put the menu into the index.php file, not sure if that was a good idea but hey, I’m still learning, which is why I’m here.
I don’t know what to put into the index.php file to make the pages show in the main content area. From what I saw (or skimmed) on the tutorial they didn’t really cover it.
Any help would be appreciated. Sorry if I haven’t been very clear.
]]>I don’t necessarily need the drop-down menu in the page creation part of the Admin (but adding that wouldn’t be a bad thing as we may make use of it in the future as the website grows). I really just have three custom pages: the home page, a custom post type, and then there’s a standard info page layout. Is this something I could just call up in the page template itself with conditionals or is there a better method?
Any guidance would be helpful. Sorry I don’t really have a link; my website creation is internal for this contracting job.
]]>