I can change the html to the desired effect using Google Chrome, however when I use a FTP or file manager, I can't do the same in the php files.
Please Help.
Here to find archive product html
Theme Folder Path : yourtheme/woocommerce/archive-product.php
OR
Plugin Folder Path : plugins/woocommerce/templates/archive-product.php
You can't do that via FTP because the pages are stored in the database.
Use the following approach:
Go to your Wordpress dashboard
Navigate to Dashboard -> Appearance -> Editor
From there you can edit/modify your HTML of WooCommerce
Related
I have used custom template file for invoices in woocommerce orders but the invoice pdf containing custom template does not load rather on clicking the button the page redirects to the bitnami home page and does not load the custom template. How can I fix this issue in localhost?
To change the invoice content in woocommerce you can create the same file and put in woocommerce folder in current theme File path should be same as like that exist in woocommerce plugin folder for invoice template .
Otherwise you can also use the invoice hooks to generate the custom invoice
Thanks
my website using wordpress template and I want to edit the homepage but I can't find the source file of the homepage...i go to chrome - view source but can't find the index.php that has the source code of the homepage
how to find the file of the source code of the homepage
its depending on the file used by author. by the way, most of the themes have, home.php
front-page.php
index.php
otherwise, we can create a custom page in wp-admin and assign it as home page or front page to a wordpress, that will be configured on the settings page.
Go through it.
Start here https://codex.wordpress.org/Theme_Development to learn how WordPress themes are designed and coded.
I have imported a static html site into WordPress using the WordPress HTML imported plugin. However process was not completed hence many page links are not working. Once I edit the imported page then permalinks are working. It seems alias are not generated for all the imported pages. Is there any WordPress function available to automate the process ?
Not sure if this helps or not as I dont know how you set up your old static html site.
Try go to your wp admin site -> settings -> Permalink then pick the one close to your static html site.
i mean i want to see the source file of the main page.
when i click right click and choice the option view source, so i want to find
the "body" of the file,and edit it physical, which folder can i find it ?
thanks friends.
WordPress's HTML is generated by PHP in conjunction with CSS, so look in your active theme folder in wp-content/themes/yourtheme. You'll find all the parts of a WordPress theme: Using Themes « WordPress Codex.
WordPress runs on the server -- the "source" you're viewing from your browser is client-side, and is essentially the output of the WordPress PHP code that generates the pages (and some CSS transforms). In order to see the PHP source, you'll have to download it from WordPress's website yourself or look at your WP installation directory on your server.
I uploaded my wordpress site from my Local host to a folder off my main domain (http://example.com/folder) using this tutorial http://www.webdesignerwall.com/tutorials/exporting-and-importing-wordpress/
(im working on a mac)
Everything went ok - admin panel is fine homepage is fine etc - only any page apart from the homepage redirects to this (http://example.com/folder/pagename) except instead of showing the content from that page it shows the unstyled information from the index page of my main root (http://example.com/)
What can I do to get this working?
Thanks
Do a general search with phpMyAdmin in your database for localhost URLs. And see How to Find and Replace Text in WordPress MySQL Database using SQL When Changing Domains » My Digital Life and Search RegEx « WordPress Plugins for grepping through posts and pages.
Better yet, use interconnectit.com WordPress Serialized PHP Search Replace Tool
And check your theme files for hardcoded links (as opposed to links using Template Tags/bloginfo « WordPress Codex
) to style sheets and pages.
Reset permalinks in Dashboard/Settings/Permalinks.
Check:
wp-admin > Settings > Wordpress address and Blog address
to include "folder"
to get this working ... delete all the posts/pages - go to ur local wordpress blog and export it.
login to ur web blog and import.
that would be an alternative solution to working with the database and as far as i know exporting/importing content works good in wp :)