Hello guys can please anyone suggest me how do i edit the black marked tabs in image through code,(the path for the code of this tabs)
First please check from where the content of the home is come from.
you can you template path for it.
if its comes from CMS Page you can edit form the admin CMS page.
if its a comes from Static block you can change it from the CMS blocks in admin.
and if its a hardcode in phtml file or any xyz.phtml file call in home then you have to edit that xyz.phtml file.
Related
In admin panel of Wordpress I have created a new page named "Home". In a theme folder I created file with name "home.php" where wrote "<?php /* * Template name: home */". But in page edit the "template" tab doesn't appear even after hard reload. I have no idea what's the problem. Could anyone help me please?
I tried to do hard reload many times. Tried firstly to create template file and then the page and vise versa
I think the problem is home.php is a reserved template name, please check, you'll see home.php as a fallback for front pages and index
Try changing the file name to template-home.phpor something different, that should work
I am a beginner in WordPress and tried to use the Ultimate User plugin. Installation seemed fine and when I add the default pages to my menu options, and click, it will have a "/?page_id=12" path (or different numbers) but the same page as I see as a home page. I was expecting to see pages such as "members" with a list of members or "profile" with your profile details.
I have tried creating a blank page.php file in my drive but that made the entire page blank, instead of the same contents as the home page.
I have just the add_theme_support('menus'); line in my functions.php file.
There are some .php files in "templates" folder of the plugin but I am not sure if I should copy that file to my "themes" folder, or do anything with it to show the right page.
It would be appreciated if someone could give me some tips to solve this issue. Thank you.
I am new to using Opencart and Php open source frameworks in general, and have been searching the forums and haven't found anything to create a non-default home page that is simply static html with no database it needs.
I was wondering how to do this in the source code, if it is possible.
So far I have created an index.html file and that shows up as the home page. But when I click the logo for the site, it goes back to the index.php file, to be exact: yourstoreurl/index.php?route=common/home
Secondarily, I will likely want more than one static page, not just home, and would like them to show up in the navbar where the tabs for your products are displayed. For instance, in the default site, have navbar links for "home" which I want to be static html, and "about" which I want to be static html, before "Desktops" and "Laptops and Notebooks" https://demo.opencart.com/
How could this be done?
The reason I want to do this is to have some written content at the entrance of the site, and have html & css experience so would like to create it that way.
Sorry, bro open cart is a database-backed app.
Use a custom static web page as your home page, put your shop in a subdirectory, and put a link on the home page to the shop.
I am new in prestrashop. I am working on http://www.how2brich.com
website. There is about menu. I have putted content of this menu through admin but i want to change some data inside the code.
the link is showing http://how2brich.com/content/4-about-us this.
I am not content folder and 4-about-us page for change code.
Any one plz help where to get about-us page content.
To change content of this page go to Preferences >> CMS and if you want to change the code go to "/themes/yourthemename/cms.tpl" but keep in mind it will change all CMS pages code so add a condition(like if , else) to add specific code for this page.
To get content editor "about-us" page please enter Back-Office. Then Preferences->CMS. And then please click on button "edit" on the "about-us" line.
If you need to change the code (template) of the cms pages please find the template on the path "themes/your_theme/cms.tpl"
I have created a new page and allocated to default template which is same as other pages but it shows up with broken template with comment (which I want to remove from this page) in it and I cannot find where it's coming from i the actual template folder. I have searched page.php and others but had no luck.
The settings are exactly the same as other pages and I have no idea why it's doing this.
Is there somewhere I can check to resolve this issue?
If you need to disable comments, you can do that within the page editor in the backend. It should be below the content area.
Regarding setting a page template, If multiple page templates are available for you to use, you choose which page template each page uses on the right side of the page editor underneath the Publishing options.