I'm using a child theme of Twentyten theme. I want to make a template, where I'll have a left sidebar and it's styles will be completely different from my primary sidebar. I'm using the secondary widget area for this purpose. I've followed this solutin by digital raindrops first, http://digitalraindrops.net/2010/10/twenty-ten-alternate-sidebar/ ,then used their files. Everything seems ok with the code, but the template isn't in the option where I create the pages. That means I can't select the template I just made from the pages eanu in admin. Any ideas? do I need to put the template file in the parent file directory and not in the child theme directory? Thanks for the help.
note: I can add widget in the second sidebar and the primary sidebar, and they are showing fine in the back. Oh, my primary sidebar has vanished too!! Please help!
solved the problem myself. I forgot to add register_sidebar in function.php.!
Related
I want to change the footer text and add my website name in it, how could I do so? I am using Magazine Pro Theme on Wordpress.
Normally pro themes provide documentation for customizing it. You can find there the changing option. You can also check the theme option for that.
I hope you will get your answer.
I must be present somewhere in the theme customizer. In mostly themes footer text will present in theme customizer under footer option
If you don't find the code in the theme customizer, then another method is to change it from the footer.php file. First of all, login to your WordPress dashboard and visit Appearance » Theme Editor from the left sidebar of your WordPress dashboard. On the right side, you'll see different theme files. From here open the Theme Footer file (footer.php).
Check this image
Now you can change the footer text from here. But before changing it, save the backup of code for restoration in case if you change the wrong code. If you still face any issues, send me the code which is present in footer.php and I'll guide you which code you have to change.
I have a problem with my theme and I am sick of tired to communicate with the theme support team...so I try to solve the issue myself (if possible).
My problem is: I have some single product layout under theme option but when I try to change none of them work. I could overwrite the style in the child theme (how the information, text...etc will show) but my main problem is the product image. Is it too big and the thumbs appear under the image. I want smaller image box and thumbs on the left side. Is it possible to overwrite this in the child theme somehow?
I am not a professional programmer or web designer, but would be happy to learn :)
Thanks for any help or comments :)
May be you can check it with word press plugins. Here is a link. Before override Woo commerce Single Product Template You can try it with custom css in your theme style.css
Copy this very basic CSS and place in your child theme’s style.css file. Check this link.
I'm creating a child theme of Quality (https://wordpress.org/themes/quality/). I´m using the Business Template for the main page.
These are the sections of the template in Quality:
And these ones are the sections of my child theme:
As can be seen, most of the sections disappeared in the child theme.
How can I use those sections in my theme?
Seems like theres something thats already added when you are using the Quality template, which isn't activated in your child theme.
Isn't there some kind of setting page, where you can enable stuff like this?
Maybe under "Appearance" in the wordpress backend menu.
I had not found any option to change that in the menu before post my question.
It does not seem to be a WordPress problem, but theme problem
I am using woocommerce for the first time and have searched for answers to this question for hours now. Found none. I'm exhausted and really grateful if someone wishes to help out.
I am using woocommerce on a self-created child theme. The main shop page uses a theme-template called "page-left-sidebar", which normally places the sidebar with widgets to the left of the page. This option would look good in the web shop that I'm trying to create.
But Woocommerce templates override my custom templates, and although I get the correct "page-left-sidebar"-template's sidebar widgets, I see with my eyes and also when investigating with firebug, that woocommerce is calling the "page-right-sidebar"-template's main & sidebar css rules instead those of the left-sidebar-template. The page-right-sidebar is the default page template in my theme, as it happens.
I have tried editing woocommerce's "archive-product.php" -page. But I just cannot understand, where and how to tell the div's to be situated where I want them to.
My theme's default "page.php" and "page-left-sidebar.php"-template are identical. Only the template's name (obviously) changes. In my "style.css" I have rules both for default sidebar (sidebar to the right) and page-left-template-sidebar.
What files should I edit and how?
To display sidebar on the left, the style.css file should have property float:left for that section
Found a workaround... I still don't understand how the default templates work, but I've tried until I give up. I just hard-coded a div style="right;" in the archive-product.php, closing the div just before the sidebar commanding lines. It's crude, I know, but it seems to do the trick.
I'm working on my first WordPress project. It won't be a blog but a CMS to quickly edit content and pages on the site.
I've got the header and footer exactly how I want it by editing them in the Appearance -> Editor menu. Under this menu I see quite a few templates that I could use (screen shot http://i.stack.imgur.com/P7IyY.png), some of which I don't even think I'll need or know where they came from. However when I edit my pages and go to the Page Attributes section there is only an option for 1 template (screenshot http://i.stack.imgur.com/UblzD.png). If I select Default Template as my template for the page, only the header and footer seem to load.
I am pretty new to WordPress. Am I suppose to 'activate' these templates somewhere? I only plan to use a handful of them (index pages, contact pages with a sidebar). What am I missing?
Thank you!
You should take a look at the information posted in the WordPress Codex on template files and the like. This image is particularly helpful in getting an understanding for when certain files are used by the WordPress engine to render pages WordPress Template Files Diagram.
You'll find the rest of the information relating to that diagram on this page.
I experienced this issue when using a child theme. I added a new template file to the child theme but the "templates" dropdown did not show on the page options section of any of my pages. I checked and double-checked the formatting of the template file and that was not the issue.
It turns out that my styles.css document in the child theme was not formatted properly and was missing the "template" attribute that designates the parent theme being extended with the child theme. I update the child theme css document to reference the parent template and voila! The template dropdown showed as expected.