I’ve used plugins to change roles and capabilities, changed it in the db myself, and looked around the files to check for anything unusual.
The website uses the redux framework with a theme I believe it’s called shopkeeper, can’t be sure because who developed the website changed the plugins and themes names
I don’t have contact with who developed it
Plus the first admin created was deleted from the database.
My guess is that who developed the website created a custom role to access the theme options and when he/she deleted the user and role the access got “damaged”… Is there anyway to check this?^
Or if you have any other idea please share.
]]>array( "name" => __("Property Category", 'framework'),
"desc" => __("The following property category appears on your homepage. Choose which category you would like to display.", 'framework'),
"id" => $shortname."_categories",
"cid" => $wp_ids,
"type" => "select",
"options" => $wp_cats,
"std" => ""),
What I’m trying to resolve is how to add the categories into the select menu.
]]>I installed WordPress v3.5.1 and the customize theme page (or theme options page) only shows the left column menu, but none of the menu choices will toggle to reveal the options; and there is nothing but blank white space in the middle of the screen.
I notice that this is also happening for ALL the themes, including twenty-twelve and twenty-eleven, so it appears that the problem is not specific to a particular theme.
I should mention that I set-up a test site before doing this live one (same hosting account) and there was no problem with the Theme Options page.
The site is located at:
https://www.privatepracticemarketingroundtable.com/ppmr-members
Anything you can share is appreciated.
Thanks!
]]>is it allowed to create a theme options page with more than one form but just with one registered setting?
Example
<form method="post" action="options.php" enctype="multipart/form-data">
<?php settings_fields( 'htmlkombinat_configuration' ); ?>
<input type="text" name="option_one" value="">
<input type="text" name="option_two" value="">
</form>
<form method="post" action="options.php" enctype="multipart/form-data">
<?php settings_fields( 'htmlkombinat_configuration' ); ?>
<input type="text" name="option_three" value="">
<input type="text" name="option_four" value="">
</form>
Regards,
Alex
]]>Everything works beautifully when I’m logged in as an admin, however when my client is logged in as an Editor and makes a change to the options page and saves, she gets this error:
You do not have sufficient permissions to access this page
I know what you’re thinking… that she probably doesn’t have permissions to access the page..!
The thing is that she DOES! Despite the error message declaring her lack of access permissions, the changes she makes ARE saved and reflected correctly on the homepage. Everything works great, except for the annoying and likely confusing to a client error message.
Here is a snippet of my code. As you can see, the permissions are set to “edit_pages”, which she can do…
add_menu_page($themename." Options", "".$themename." Options", 'edit_pages', basename(__FILE__), 'mytheme_admin');
Why is this message coming up for her, and how can I remove it? I don’t want to have to tell her and any future clients to ‘just ignore the error’
]]>I’ve set up an options page for my theme in the admin area. On this page I would like to offer the user to save code in a textarea input form. I will then insert that code into a post.
I’ve set up the form, no frills, standard, but when I save HTML the form seems to be saving it with extra backslashes before each quote mark and hence the code is not printing properly in the front end…
Any ideas what may be causing this? Do php variables automatically do this? Is there a wordaround?
Thanks
]]>https://blog.themeforest.net/wordpress/create-an-options-page-for-your-wordpress-theme/
I did try and do it from semi-scratch, following the tutorial, but kept screwing up something, so ended up just changing a couple of things in the original code and using it, and it works flawlessly.
Just wanted to share! And thank you Theme Forest!