I wrote a custom wordpress plugin that is shown in the left menu bar in the backend of WP.
My problem is, that it is just shown if I log in as an administrator. If the editor logs in he can't see it. Is there any way that I can enable it so that every role can see it?
I tried to google the problem but didn't get any satisfying results, that's why I am asking it here.
Thanks for your answer!
You need to set the proper capability, third parameter in the add_option_page() function which you would have used to create the menu.
http://codex.wordpress.org/Function_Reference/add_options_page
Related
I want to add some extra form fields to an existing page in Wordpress.
This page is where you are redirected whenever you edit a post or page.
My problem is I don't know where to find this file or what its called.
I need to know what file i need to edit in order to be able to add the new inputs.
this page would only be seen if you are an administrator and logged in and in dashboard.
I'm using wordpress edge shuffle theme.
The easiest way to solve this is to use Advanced Custom Fields. ACF allows you to specify custom fields that appear on certain edit pages in the admin. You'll then have custom data to use on your frontend templates.
Check out this tutorial for more.
For me, as I was just trying to figure out how to edit my posts page
While logged on to my admin account to edit, I went to my actual page and the top admin bar had an option of "customize" and that took me where I needed to go to add some css
I need to build a dashboard that will allow users to sign in/out and access/update their business account information.
WordPress has its own dashboard for publishing content but this is not what I am looking for.
Would it be easier for me to create a second site using a framework (Ruby on Rails) that makes this type of user access easier? Or is there a solution in WordPress that I am unaware of?
You can easily customize the existing WordPress dashboard. The items shown on the dashboard are determined by the function current_user_can(), so you can hide items by restricting the capabilities of the user using the function add_role(). You can add your own items by the function add_submenu_page().
It has been a while since I customized the WordPress dashboard but if I remember correctly I also had to use JavaScript and CSS to dynamically modify the DOM but this may be because I was doing something unusual. Anyway I think it was quite easy to do.
you can check out the following wordpress plugin for your requirement
https://wordpress.org/plugins/client-dash/
I would like to know which WP plugin should I choose to allow every user who come to my page to add a post to my page form the frontend.
He just click on a button add a new post or something like that. Than a form appear and he inserts the title and uploads an image.
After that its published as a post.
Is there a solution like this available for WP?
Thanks in advance.
From what I know, there is no existing plugin doing it as you need. Even if it existed, I wouldn't recommend it's use for security reasons; it is hard to follow every uses and make sure visitors would post the way you want.
You are definitely better to code it by your own, and it's quite simple using the wp_insert_post function. This function will work anywhere you put it inside Wordpress (no need to build a plugin from scratch), so a simple form with validation would make it.
Hope it guides you on what you're looking for.
I want to find the universal way to scroll to comment box in WP powered blog.
Unfortunately I cannot use ... because sometimes its named different way.
Any idea on how to do that ?
Tested on WordPress 3.1.2
To go directly to the first comment
http://example.com/path/slug/#comments
To go directly to the form to enter a new comment
http://example.com/path/slug/#respond
I'm quite new to Wordpress and don't quite understand one simple problem that I have come across when working with the menu tool. I simply want to have the "register" and "login" buttons when the user is not logged in, and show a "profile" and "logout" buttons when they are, and with the theme I am using the login and register buttons seem to be shown regardless of the user status.
Any help would be much appreciated. I hope I've explained the problem enough for you.
google for "wordpress member plugin"
install best plugin you like
after installation you can use as widget on your side bar. Hance you get login and member info in sidebar or somewhere you want.
Try
Theme My Login plugin, this do what you are looking if not exactly
Check out the BAW Login/Logout Menu WordPress plugin, its title says it all. I tried it and it worked flawlessly. This must be your case.