How to reorder menu tabs on the MemberPress account page? - php

I've searched many MemberPress docs but can't seem to find a filter that lets me reorder the menu items on the MemberPress account page.
For example,
From:
Home
Subscriptions
Payments
Logout
To:
Home
Payments
Subscriptions
Logout
Sorry I don't have any existing code as I couldn't find anything to start with. Thanks!

The way to achieve this is to copy /plugins/memberpress/app/views/account/nav.php to /YOURTHEME/memberpress/account.
This automatically over writes the default see => https://docs.memberpress.com/article/165-how-to-override-template-files
Using your favourite editor open nav.php and you will see "span> .... /span>"
Each one is the item, so just reorder as needed.

Related

Add 2 buttons in Wordpress Hirebee theme from Appthemes

I am using the Wordpress Hirebee theme from Appthemes.
Link to theme features: https://www.appthemes.com/themes/hirebee/
Link to theme demo: http://demos.appthemes.com/?theme=hirebee
The theme already has a messaging and notification system for freelancers and employers to communicate with each other. So I want to:
Make two buttons on profile. One button will be "Contact Me". It will send a normal message to the Freelancer.
Second button will be "Hire me" button. It will invite the freelancer to an open project already created by the employer/user. To use the Hire me button, employer/user have to create a project first, then look for freelancers and invite anyone they like from the profile. If no project is created when the the hire me button is clicked, it should show a popup message saying to create a project first with a link to Create a project page.
Both the above buttons should work along with the theme's existing notification system so users will get notifications for any messages or replies.
If someone used Hirebee theme please let me know how to do that.
Thanks in advance :)
We are currently trying to set up this same theme and that is a good question. I been waiting to see if anyone answers you.
Michelle

woocommerce custom field configuration

I need your help. Its my first time when I use woocomerce in WP and I don't know how to add custom button. On public product view I must add button with link to selected wikipedia page. On private admin product view I need custom url or text field in (wp-admin->product->add product).
Okey now I create custom field and taxonomiex but I don't know what next.
I tried to find some tutorials but I did not give advice.
I also had a similar situation like this. I purchased a plugin to fix it due to tight deadline. You can do it using below methods:
1) By using ready to use plugins
https://wordpress.org/plugins/woocommerce-custom-product-data-fields/screenshots/
(Free one)
https://codecanyon.net/item/woocommerce-custom-fields-product-addons/11332742
(Paid one)
2) You can also create a plugin by yourself
Basically a plugin will allow you to modify the site as you require without modifying the wordpress core. Learn about Hooks and Filters.
I would suggest you to go with 2nd option, learn to develop plugins so that it will be helpful for you in the long run. Read the documentation https://codex.wordpress.org/Plugin_API. It will take some time but it is worth it.

How to customize Wordpress Dashboard Menu

I've been trying to customize my Wordpress Dashboard based on the user roles. For ADMIN, he has all the menus showing up in his dashboard menu:
Now I also have a user for whom I want only two menu items to show up, ie. Users and Upload Document, something like:
I tried Adminimize and Admin Menu Editor, but both doesn't do the intended task. Can anyone please suggest a way/Plugin to achieve this?
Go on user profile and give permission which you want to do it.
User >> all user >> select user >> and find list of role(this role has some permission.).
You can use the following plugin to have control on your admin menu and you can customized it based on your user roles
https://wordpress.org/plugins/client-dash/
Its really easy to use. Just Install it and Go to Settings – >Client Dash. The second tab will be Menus. Go there. Where it says “Select a menu to edit”, click in the dropdown and select the role you would like to customize the admin menu for. Then click on the Select button.
Ensure that “Import role’s existing menu items?” is checked and hit the Create Menu button. This will show a progress bar briefly as the menu that the selected role is currently seeing is imported. This way you don’t have to start from scratch but can easily modify what users with this role are already experiencing.
You can even add and delete menu items.
Hope you will find it helpful.

OSClass a lot of item adding at once

So my task is to create a button in the advertisments part of osclass web page. Were an authenticated user could press a button "add more" and then choice any amount of pictures for example 30. And then those pictures would be counted as a separate advertisement. Then the user could add some detail to each one of the advertisements. As I have never created a plug-in for osclass I would like some guidance/help in doing so. Any links of good tutorials that could help me accomplish this would be great! And thanks for help! :)
Here's a tutorial to help you develop a plugin for Osclass. :)
About the plugin you want to create, it seems you want to create a custom attributes plugin (extra fields added to items) to extend Osclass item datas.

Is there a way to add Facebook Like buttons to lots of products?

I know how to add a Facebook like button for a group or page, but is it possible to add a like button to every product in a web store without having to create a group or page for each product?
This was originally asked on StackExchange Web Apps Private Beta here.
If each product you want users to be able to like has it's own web page (like a product detail page), then you can setup the Open Graph tags on each page, and have buttons with a custom href pointing to them:
<fb:like href="http://mystore.com/product-1"></fb:like>
Yeah you can. Now with Facebook, you can "like" almost everything. You just have to implement it the way you'd do it for a page, or a quote. You can put it in your display loop/function.
I hope I was of any help.

Categories