The tag has no wiki summary.

learn more… | top users | synonyms (1)

-2
votes
0answers
11 views

Can not see plugin option for wordpress site [closed]

I want to add a plugin to my wordpress site. But can not see plugin option. I have read other posts and blogs. According to that plugins option must be available below Appearance tab. But its not ...
0
votes
0answers
11 views

How to create new options within the menu?

I have created a custom menu using the walker class which was fairly simple but for the life of me I can not work out how to add options to the navigation item. For instance I am wanting to make a ...
0
votes
1answer
29 views

Get Content From Blog Page

I have a page that is assigned as the "Blog". What I'd like to allow is the user to add content to this page then display it before the posts show up on index.php. I thought I used to be able to do ...
0
votes
0answers
20 views

Theme options not being sent to Database

Currently working on a little project for a theme, doing this so i can learn the in's and out's of wordpress. So far i've got to the point of adding sections, and fields within those sections. ...
0
votes
1answer
45 views

Custom options in plugin, register_settings not working as no options.php?

I'm having trouble getting a custom plugin to save options, as it cannot find options.php (and I don't know where it's supposed to be) The full code for the plugin: add_action( 'admin_menu', ...
0
votes
0answers
17 views

Random text changing to weird icons in both admin & front end

Has any body had this sort of problem before. The text mainly in input field descriptions turns to weird icons see image. I have deactivated all plugins and changed themes several times but same ...
0
votes
0answers
27 views

Using Wordpress functions in custom PHP file without any output to the page?

I need to use Wordpress functions get_option and update_option in a custom PHP file. However, I also need to be able to redirect using headers at the end of the PHP script. Requiring wp-load.php or ...
0
votes
1answer
14 views

Register a widget area when a theme option has been saved?

Is it possible to register a widget area and sidebars when an option has been selected and saved in a theme options panel? I am using a framework called redux but am not too sure if this can be ...
0
votes
1answer
37 views

options.php problem - data not saved

I've created a custom menu page with some fields. I want to store these settings to use elsewhere. The form with the fields should save and POST data using action="options.php" but every time I hit ...
0
votes
0answers
28 views

Custom options page, add_options_page deprecated?

I'm trying to create a page in my theme to allow users to add generic info (phone numbers etc) I followed a tutorial and thought I had something good but it turns out part of it is deprecated. So ...
0
votes
0answers
45 views

Simple WP Plugin with plugin settings page

I need to create a plugin with only one select on his settings page and save select value. I have a select with all register menus and I can not to save my select value. What am I doing wrong? What ...
1
vote
0answers
16 views

Edit Custom Post Type on Custom Admin Page instead Post Admin

Background: I am still quite fresh to coding and WordPress. For me the best way to understand, is to work on a specific project. Project: I want to build a Customer Relationship Tool for WordPress ...
0
votes
0answers
43 views

Can't use get_option function in PHP file located inside plugin folder

I am currently developing a small plugin which queries an API for some XML data. The XML data is then used to display a page. I wanted to do most of the display and formatting related stuff in ...
0
votes
2answers
39 views

Add Custom Script in Other Plugin's Options page

I am trying to put a custom inline JavaScript is an options page created by a plugin. The page URL is like this wp-admin/admin.php?page=psbg. This is the code I am using to output my script at the ...
0
votes
1answer
12 views

Deletion of shared options using uninstall.php

I'm using uninstall.php for my plugin to delete all the traces my plugin did to a site on uninstall (delete). I did it in a good way, but even after the deletion there are some fields in the options ...
0
votes
1answer
37 views

Is saving multiple options or saving multiple items in one option better?

I have added multiple fields to a custom taxonomy. I followed Pippin's tutorial. This method creates a single option per taxonomy item. The multiple fields are saved in taxonomy_id. I was not sure ...
0
votes
0answers
25 views

Using a dropdown to alter an option value on plugin settings page

I'm trying to implement a dropdown menu on my plugin's settings page. When the user selects a choice from the dropdown and presses the Save Changes button, I need the choice's value to be appended to ...
0
votes
1answer
19 views

Error when renaming option

UPDATE: This error came from WP_DEBUG...of course, embedded_url didn't exist yet. However, when I set the value of $options[embedded_url] using the form, the $options array magically adds both the new ...
0
votes
2answers
32 views

The best place of the code for creating a robots.txt file

I'm using the Option-Tree framework for the options of my theme. Now I want to add the option to create and edit the robots.txt file. First, I have the function to get the content of the file or ...
1
vote
1answer
41 views

Plugin options not being saved or created

Having a lot of trouble with this config page. I have followed the documentation (which was sparse) and done a bit of searching for help. My problem is simple, my config options aren't being created ...
0
votes
2answers
43 views

Access to option page by role/capability

So i've been googling around and i'm trying to figure out a plain simple solution to my problem. I've tried several things but they are simply not working. I just got into WordPress and i have to edit ...
0
votes
0answers
38 views

Sanitize Term Custom Field - apostrophe problem

Alright guys, before posting I've searched the similar questions but I couldn't find the answer. Problem: I've added custom fields to a custom taxonomy, when I'm saving the options using ...
1
vote
1answer
192 views

Multiple options not staying selected after saving

Problems: The save works, but is only storing one of the options in the database after save. Options not showing as selected after save. The select fields: <select ...
0
votes
1answer
13 views

Multisite and plugins options

I need more information about get_site_option(), update_site_option() and add_site_option(). In codex they say it's the same as single install except that in multisite, it returns the network-wide ...
0
votes
0answers
47 views

Is it possible to pass a date from one Advance Custom Fields options page to another?

I have been trying for a week now to figure this out. I have a site that has numerous ACF options pages. On one options page (Trade Show Details) the start and end dates for a trade show are entered. ...
0
votes
1answer
58 views

Why won't register_setting() create a setting?

I'm stumped. I've been researching this like crazy, but I can't seem to figure out why register_setting() isn't working for me. I'm new to WP plugin development (obviously), so it's probably just ...
0
votes
1answer
88 views

delete_option() and update_option() returning false

I know that when delete_option() or update_option() fail to perform their respective database interactions, they return false. Does anyone know why they wouldn't be able to perform these actions? ...
1
vote
0answers
38 views

Is there an atomic way to update_option in Wordpress (to ensure data integrity)?

I want to update an option which is an array by adding a new value, but there's no atomicity or guarantee of data integrity. EXAMPLE //Get the option value (an array) $val = get_option( ...
0
votes
0answers
22 views

Apply cropping to custom size from media library

I want to be able to apply a specific crop to the medium size or any other custom image size i define. I want to control the crop as it is controlled in the media library for the thumbnail. I want to ...
1
vote
0answers
132 views

Changing the ID of an option - not working (SMOF) [Solved] [closed]

Recently I decided to use the SMOF Options Framework in my WordPress theme, instead of my own options page. I think that switching it is easy, but I'm having a problem that I can't understand. First ...
0
votes
0answers
29 views

how can I detect that option value has changed?

I am working on a plugin and I want to fire a different action based on each option value change. so how can I do that ? example: $options = get_option('ACP_settings'); if $options['acp-select'] has ...
0
votes
0answers
27 views

Theme Option won't show up in my template

I've modified theme option from wp.tuts tutorials, And when I save the settings, it works. But the settings on the second tabs won't show up in my template. here my first theme option and the second ...
-4
votes
1answer
68 views

Echo get_option displays as text

I am trying to use some code that is stored as a settings option in WordPress. When I try to use the following code below however, it show up as plain text instead of executing. The option I have ...
2
votes
1answer
497 views

“Error: Options Page Not Found” on Settings Page Submission for an OOP Plugin

I am developing a plugin using Tom McFarlin's Boilerplate repository as a template, which utilizes OOP practices. I've been trying to figure out exactly why I'm unable to correctly submit my settings. ...
1
vote
2answers
49 views

How do i save plugin-specific info?

Im currently building a plugin that imports some data from an XML feed. This is all working great. Now i want to add some info, letting the user know when the last import happened. "Last import: ...
0
votes
0answers
37 views

Saving options for the fields on paginated pages

I am working on a WordPress plugin with some options for the fields which are working fine without pagination. I am kind of new to WordPress plugin development. The problem is I added pagination to ...
0
votes
1answer
71 views

Use options to control jQuery plugin

This may be a dumb question, but I've been teaching myself Wordpress and I've been struggling with this for a while. What I want to do is use a Wordpress control panel page to control a countdown ...
0
votes
0answers
41 views

get Options value in “external” page

I've create a really small plugin. This plugin add one filter : add_filter('the_content', 'BlueSteelAPI', 5); BlueSteelAPI is calling my API. I've create an admin page for register the secret key ...
0
votes
2answers
1k views

Warning: Illegal string offset on theme options page [closed]

Im creating custom theme options and Im getting this PHP error: Warning: Illegal string offset in ... on line 75 // adding the page to menu add_menu_page('Theme Options', 'Theme Options', ...
0
votes
0answers
56 views

Options not saving

My options were saving properly then I edited the files and it's not saving anymore. I undo the changes on the files and I'm sure that those were the only files that I edited. One section saved ...
0
votes
0answers
16 views

How to set options on a sub blog in a multisite environment?

How would I set options for a specific multisite blog? Do I switch blogs, call add_option, and then switch back? Also, can I set options for a site if it hasn't been activated yet? Code: ...
0
votes
1answer
106 views

Proper use of option_page_capability_{$page_name}

I am having trouble giving access to an options page to Editors. I am pretty sure I need to use the filter option_page_capability_{$page_name} but it is not working for me. Is there a specific place ...
2
votes
1answer
216 views

How do I setup nested repeatable option fields?

I'm trying to wrap my head around how to create a set of option fields that should be able to repeat for as many times as possible. But I'm having a hard time to figure out how to proceed. Currently ...
0
votes
0answers
99 views

Custom options - register, defaults and delete empty fields (Settings API)

I cant figure out how to register all of my setting fields into 1 database option. Code for my menu page: add_menu_page('Custom options', 'Custom Options', 'manage_options', 'rm_options', ...
0
votes
0answers
46 views

Move one option value into another option

I have 2 existing options that I want to move into an existing 3rd option. What is the best way to go about this? Here's the scenario: I have 2 options in existance: get_option( 'license_key' ) ...
0
votes
0answers
52 views

Adding line to multidimensional array option

I'm building a shipping plugin with a settings page where the user can add boxes with the attributes : Name, Length, Width, Height So far, I have managed to greate an option boxdata[l,w,h] and I have ...
0
votes
0answers
176 views

update_option() updating the option with an empty value?

I have a call to update_option() inside a class which edits some keys from the options array passed to it and then saves the updated array to the database, I don't have any fancy code, the function is ...
0
votes
2answers
123 views

Who To Create Option Page For This Simple Plugin

I know how to write WordPress plugins but I have no idea how we could create an option page for our plugin. I read lot of tutorials but I still have no idea about creating option pages. So just for ...
0
votes
0answers
97 views

Slightly modified options framework Colour picker

I'm using slightly modified options framework for a theme I'm working on, I have used this before with other themes but never had a need to use the colour picker. I need to be able to allow the user ...
1
vote
0answers
77 views

Image upload and other options in the same plugin settings form?

I write a wordpress plugin. My plugin has two options. One is an image upload mechanism and the other is a checkbox. My code is below: <?php /* Plugin Name: Plugin Name Plugin URI: Description: ...