how do nopCommerce list pages in the footer from a theme - nopcommerce

I downloaded a theme off the NopCommerce site. The footer list some basic pages but there are some missing. For example: the "About us page" I can see from the admin end that these are pages that you can change the text for but the new theme just doesnt have them.
Is there a way to turn on and off page visibility or do i have to edit the root layouts in the source code to display links for these pages?

If your theme doesn't include a link to the page, there's a good chance you'll have to add to the HTML yourself. Fortunately, its not difficult at all.
This is where the About Us link is in the Default template
\Views\Common\Footer.cshtml (Line 19)
<li>#T("AboutUs")</li>
Paste that line into your downloaded theme's footer file to get the About Us link to show up. If your theme follows a similar file structure as NopCommerce's Default Template, the file you'll need to edit should be at
\Themes{your-downloaded-theme-name}\Views\Common\Footer.cshtml

Related

Changing Footer text in magazine pro theme wordpress

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.

WooCommerce My Account Page from page.php?

I created my-account.php inside woocommece folder in my custom theme.
But, when I want to display what is inside my-account.php file, My Account page take template from page.php. What a drag coherent content...
My custom theme support WC, in settings all is (at least it should) adjusted properly.
How to fix this?
Thanks.

How can I edit a blog specific sidebar?

Website I'm referring to: http://www.csolsinc.com/blog/
The sidebar on this page is different than the non-blog pages on the website. I've looked around the coding (it's a Wordpress site), and I'm not entirely sure where to locate how to edit the code specifically in that sidebar?
Any tips?
The code specific to the single blog posts resides in the single.php file of the theme. Look for something similar to get_sidebar() in that file.
If you're talking about the actual blog archive page, the code can be found in the page.php file of your theme.
If you're looking to add/remove widgets to the sidebar, login to the site backend and navigate to Appearance > Widgets.

How to locate file of wordpress page

I am a real newbie with wordpress. I need to quickly find out the filename for a particular url.
Let's say my URL is
http://example.co.uk/account/membership-levels/
Where will the .php or .html file most likely be? In themes folder?
w
Thanks for your help.
Wordpress doesn't have a 1:1 relation between content and templates. On some minimalist themes you could have a single php template in your themes folder (wp-content/themes/themename/single.php) to display all your articles.
Depending on your permalink structure, that link you are asking about is probably rendered using the page.php template, and if it isn't, then single.php should be the one. The only reason for editing a template is when you need to change the structure of all your posts. If you only need to edit one particular post or page, then you should just edit the content.
To edit the content, you need to log into your dashboard (wp-admin) and look for that entry among the pages or posts section.
Many themes will show an edit icon next to the posts title if you read it while logged on your dashboard, so you can skip searching for it in the backend.

Wordpress Templates aren't showing up on my Page Options

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.

Resources