Can I modify Woocommerce dashboard - php

I am using Woocommerce plugin on my WordPress website, and now I want to modify dashboard for users, but when I open the page i have only this [woocommerce_my_account] short code, so now I want to know where it is coming from, and how can I change it?
So in that dashboard I want to add some new pages, tabs and videos.

Here is the path contents/plugins/woocommerce/templates/myaccount/my-account.php so you can edit there.

You can use this free plugin to change basic things.
My Account Page details are shown in the form of side bars. These
side bars are: ‘Dashboard’, ‘My Downloads’, ‘My Orders’, ‘Edit
Account’ and ‘Edit Address’
Option to edit the text of the menu options.
Option to deactivate the menu option temporarily.
Option to reorder the menus.
Download Plugin

Path contents/plugins/woocommerce/templates/myaccount/my-account.php so you can edit there. as mentioned by #noman
Custom age for the dashboard.php
Create a folder “woocommerce” inside your theme folder
Create another new folder “myaccount” inside the “woocommerce” folder
Go to plugins/woocommerce/templates/myaccount and copy the dashboard.php file
Paste this file into yourthemefolder/woocommerce/myaccount folder
Now edit the text and save the file

Related

Wordpress Select Template for Each Page on Activation

So, I have wordpress multisite. I want my users to be able to activate a new theme, and still have their content in place. The problem I am having is, everytime a new theme is activated, each page's template selection is updated to the 'default' template. I would like for example, the Home Page to keep the home-page.php template etc... I have tried naming the templates in all the themes the same.. but that did not work.
Am i clear? or do I need to explain more? Is this possible?
Firstly take backup of all your WordPress data in .xml file
situated at example.com/wp-admin->Tools->Export
you also customize your new theme in custom tab, there you can access all the previous data from older theme

Add a text link to WooCommerce Checkout page

I am using WooCommerce on a wordpress installation. I have also purchased the plugin woocommerce-checkout-field-editor-pro to create custom fields on the checkout form.
My problem is, while the WooCommerce Checkout Field Editor Pro plugin is great, it does not allow me to just add a text link. It allows a label, but no way of making that label a link.
If I can just figure out where the custom label field gets stored when its created I am thinking I can just wrap it in an <a href > tag to turn it into a hyper link. But I can't figure out where the field is stored. Any help would be greatly appreciated.
Thanks!
A few template files make up the checkout page and can be found in:
wp-content/plugins/woocommerce/templates/checkout
The files which may be of most interest to you could be either form-checkout.php or review order.php.
Inside your own theme folder, create a folder called woocommerce and copy across any files you want to edit, making sure to place them inside the exact folder structure they are kept within Woocommerce. So in this case, copy the files to your_theme/woocommerce/templates/checkout/. Any changes made to these files will override the original template.
You can edit the templates and add, or remove, any code as you need to.

Add php/html file to Wordpress Themes

I am new on wordpress and are using the themes as well. May I know where do I put a new file if let say main.php? I want to make a custom main page and replace the index.php page on the theme. Do I need to put it under htdocs\wordpress\wp-content\themes\<theme-name>. I am using this locally on my computer.
On my main.php, I also include css file. Where do I insert the css file as well?
you can set your front page in wordpress dashboard customization options
Go to Administration > Settings > Reading panel.
and select the page listing in dropdown , but before that you have to create a new page and select you custom page from dropdown . see the below image.
refer this for more info
you can have your css file keep on style directory of your theme and link it in your main page using
get_template_directory_uri() . '/styles/your-style-file.css'
You have to create page template for this.
Have a look over below thread hope this will help you
https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/

How do I know which file to edit in wordpress?

I have a website in WordPress and I've noticed in some points I want to change a piece of text or something similar, but I don't know which file to edit.
How do I locate the file that I want to edit using FTP (for example using FileZilla) in order to change the website detail that I want to?
Long story short, there's going to be more than one file. A good place to start is by looking at the class of the body tag. Generally it references which templates the page is using.
It's a very big topic to discuss.
If you want to edit any content of the page you can edit page.php file which is located in your Theme folder e.g. (wp-content/themes/theme-name).
If you want to edit any content related to post you can content.php which is again related to your theme folder.
If you want to edit sidebar content edit sidebar-content.php file (located in your theme folder).
There are other templates as well. But all the template files are located in your theme folder.

Socialengine - How to add custom module to layout editor

I've made a few modules within my socialengine application however I was wondering how do I add these to the layout editor (root/admin/content) so that I can add widgets to these pages?
You can add the widget in layout editor by adding setting in content.php file.
We recommend adding your widget via the Package Manager which should help take care of the rest. For more information, please see in the Developer SDK section: http://support.socialengine.com/questions/180/Admin-Panel-Manage-Packages-Plugins
You should create a page first from layout editor.DO NOT GIVE any page URL in edit page info section.Leave the page without URL.Most important, add the content widget to your page and save it.
Now, you have a fresh page which does n't have url set.Create a module and either install it or paste it in your application/modules directory. Now, open your database and find the table
"engine4_core_pages" and click on insert and set the name field with your modulename_controller_action.
Comeback to your module and open index controller and put whatever code you want to in index action and just add a simple code to view this in your page,"
$this->_helper->content
// ->setNoRender()
->setEnabled()
You are done.You can set the route from your modules manifest.php inside settings
folder.
Hope this will help.
http://bloffin.blogspot.in/ for more...

Categories