The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
52 views

How to recover WordPress Adress(URL)

I installed WordPress in localhost. I changed the WordPress Address from the general settings. After that none of the previous pages appears. Instead, a "Page Not Found" error page is appearing. I ...
0
votes
2answers
2k views

Where have the Privacy Settings gone in WordPress 3.5?

I moved a WordPress site to another server and everything is working well, minus the fact that I can't seem to change the settings in Privacy. When I click on "allow search engines to index this ...
0
votes
2answers
50 views

Is there any other place - besides a theme, a plugin, or a mu-plugin - that an option page might conceivably be used?

I'm creating a helper class for simplifying the creation of an option page in admin that could conceivably be used in a theme, a plugin, or a mu-plugin. I'm trying to make the class as easy to ...
0
votes
1answer
148 views

Filtering a Database Query

In a WP_List_Table example I'm using, I am seeing how to make a general query to the wp_options table in the Wordpress database. For example, $query = "SELECT * FROM $wpdb->options"; I also see ...
0
votes
1answer
205 views

Wordpress custom permalinks not working on OS X localhost

When changing premalinks, none of the pages and links are not working except home page :( Result are shown below. Thanks in advance.
0
votes
1answer
493 views

Plugin options will not save in database

I'm not sure what's happening here, since this has worked in another plugin I've created. I'm simply trying to store data in the options table. Here is the code I'm using: function on_myplugin_start ...
0
votes
3answers
804 views

Override Current Theme Setting in wp_config.php

I am looking for a way to override the currently selected theme, preferably from within the wp_config.php file. I know you can override some wp_options settings in the config like define('WP_HOME', ...
0
votes
1answer
583 views

Settings API validation callback

I finally managed to create working validation callback for Settings API with big help of Chip Bennet, there's only one glitch that I'm not sure how to fix. Here's the foreach loop from my validation ...
0
votes
1answer
20 views

Flush rewrite rules on option update with Settings API

I'm working on some plugin where I need to enable custom URL rewrites. I want to enable editing of custom URL through Settings API, so basically I did everything that's needed to validate and update ...
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
2answers
43 views

Change admin defaults for reading settings

I have customised index.php to display 6 posts: <?php // Get header get_header(); ?> <div id="primary"> <?php // Begin paginate and loop $temp = $wp_query; $wp_query = null; ...
0
votes
1answer
52 views

Can deactivating a plugin sometimes “reset” settings within that plugin?

I need to deactivate a plugin on a client's website to check whether it is causing a certain issue or not. But I'm not 100% sure that after deactivating this plugin, all its settings will necessarily ...
0
votes
1answer
107 views

Allowed memory size exhausted problem

This seems to be a weird problem. The exact error is this: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 337608 bytes) in ... It only hangs the dashboard. The ...
0
votes
1answer
139 views

Single callback with multiple setting fields

Is there anyway you can use a single callback with multiple setting fields? Maybe there is a way to pass the setting field used through the callback?
0
votes
1answer
42 views

How to change the setting so there is no post on home page

How do I set "Blog pages show at most 'Variable' posts" (under setting > reading) to 0 it isn't letting me. So what file do I need to edit so the value is 0?
0
votes
1answer
129 views

Visiting posts results in 404 errors after host migration

I have migrated my WordPress blog from one host to another by way of transferring the files and exporting/importing my database, updating URL references where needed. On my new host, I can ...
0
votes
1answer
72 views

Problems to disable the comments for my statics pages

I am pretty new in WordPress world (I came from Joomla). I am developing a mainly static website using WP (because maybe in the future I will have some dynamic behavior and because WP is pretty ...
0
votes
1answer
68 views

unsuccessful attempt to change domains- wordpress re-routing to old domain

I've tried to switch a website from zoparealty.com to zoparealtygroup.com. When I go to zoparealtygroup.com, I can see what appears to be a strictly HTML version of the site(no CSS, no php). ...
0
votes
1answer
344 views

Change the style of h1, h2, only in post entry

I would like to change the style of h1, h2, ... ONLY in post entry (when writing a new post). Default settings is just too big and has a different format, because I use Google fonts. I was using ...
0
votes
1answer
138 views

Set a hard-coded page-template (post-type-archive) as home/front-page of my wordpress blog?

under Settings->Reading I can set which page should appear immediately when visiting my site as "home-page". In my case I want the archive of my custom-post-type named "events" as home/front-page of ...
0
votes
1answer
494 views

Using wp_parse_args to set up Plugin Default Settings

So I want to have defaults set up for each of my plugins settings, and I'm using wp_parse_args to do so which I believe is the correct way, but I'm hitting a roadblock. Here's my code at the moment: ...
0
votes
1answer
120 views

Images not being generated at correct size

I have my WordPress Media settings set like so. Based on these settings no generated large image should exceed the width of 540px. I embed an image in a post like so. I choose "Large" as a image ...
0
votes
2answers
3k views

Two “.htaccess” Files Located in Different Directories?

I found two ".htaccess" files, one is located in '/httpdocs/.htaccess', another one is located in '/httpdocs/wordpress/.htaccess', the content is different, is it normal? The Wordpress was installed ...
0
votes
1answer
2k views

Changing max number of blog posts per page doesn't work

WP 3.2.1 Changing the max number of posts to show on each page via Settings->Reading isn't working. Could this reported bug be the culprit?
0
votes
2answers
721 views

How to save user meta on custom admin page

I have removed the edit profile page from WP admin as I don't want users to be able to edit their details as this is a closed intranet and their details are fed from AD. However I do want them to be ...
0
votes
3answers
375 views

Displaying the full text instead of post title

I've installed recently WordPress (I guess it should be 3.0? cannot find easily the version number) and my first post appears only the title (linked) and to see the full text one must click the title. ...
0
votes
2answers
23 views

Why I can't change the permalink of this page?

I have the following problem with a permalink: if I open this page (it is implemented as a static page) on my local website: localhost/wordpressAsper/archivio it automatically change it into ...
0
votes
1answer
30 views

Changing plugin options from theme functions file?

I am making a starting-point Wordpress theme that will be used on dev projects. In this theme, I am automating common plugin installs that are used on every project. I have been able to automate ...
0
votes
1answer
18 views

Adding a theme option to the admin that lets me turn on/off a javascript file

I want to add a theme option to the Wordpress admin so that I don't need to commit code every time I need to "activate" (or deactivate by commenting out) an Optimizely javascript snippet I only want ...
0
votes
1answer
63 views

How to make a textarea accept javascript in my settings apge?

I'm building a simple plugin that will allow us to add code to our site header by defining it on our settings page. However I haven't been able to make it allow scripts. This is my current code: ...
0
votes
2answers
82 views

Custom form in admin area, redirect in wrong page

I'm writing a custom form on my plugin settings area. <form action="<?php echo admin_url('options-general.php?page=yasr_settings_page') ?>" id="form_add_multi_set"> ...
0
votes
2answers
143 views

Can't output do_settings_sections . Can't understand why

I've this code: /* Hook to admin_menu the yasr_add_pages function above */ add_action('admin_menu', 'yasr_add_pages'); function yasr_add_pages() { //Add Settings Page add_options_page( ...
0
votes
1answer
37 views

What is the best way to revert to www version of domain name?

My site uses a bare domain, example.com. I want to use Google's Page Speed Service, which requires a www subdomain, like this www.example.com Google says the server must use a 301 redirect. What ...
0
votes
1answer
64 views

While Using Static Pages, How Can I Get /blog into the URL of Each Post?

I have Wordpress installed on the root of my website. It is using a static homepage and posts page. As it stands, each post will look like this example.com/blogpostname. I don't want to use category ...
0
votes
1answer
14 views

Verify Values Using Settings API

I have recently been working on a WordPress plugin using the Settings API. The only problem i found with it is that the user can manually edit the value in the input tag. I was wondering if there was ...
0
votes
1answer
90 views

How do you add a settings page to another menu?

I created a settings page that's being displayed in the options menu like this: add_options_page( 'ATB Event Options', 'ATB Event Options', 'manage_options', 'atb-event-options', ...
0
votes
2answers
36 views

Dark Bar at the top of wordpress page can't be seen?

I am new to wordpress and created a website as shown in the picture bellow. My webpage used to have a black bar at the top, which allowed me to insert "New Posts". (area shown in red circle). But this ...
0
votes
1answer
65 views

Wordpress Settings API settings not saving for some users

I created a plugin you can see here: http://wordpress.org/plugins/vegas-fullscreen-background-slider/ Some users are saying that settings aren't saving. For me it's working fine but I'm fairly new ...
0
votes
2answers
337 views

Sharing Buttons not Working - Sharing Settings [closed]

I'm trying to add a "share this" button to my site. I am having an issue configure this because when I go to settings -> sharing I get the image below Update: Here is my inspector error console: ...
0
votes
1answer
52 views

Character \ appearing before ' after saving a settings page

It's a strange issue and I've seen it happen with plugins, however I don't know how to fix it. Maybe just a PHP issue? Anyhow, I have a settings/options page with several text areas. Upon saving, a ...
0
votes
1answer
213 views

Difference between Option_Group and Option_Name in Register_Settings

I think the title pretty much says it all! I'm working my way through various tutorials on how to add an options page to my test plugin and am struggling to understand the Register_Settings function. ...
0
votes
2answers
92 views

How do I get blog posts to appear within CMS?

I'm working with a WordPress CMS website that was set up without a blog. I want the site to continue to function as it has, with mostly static pages, including the home page. I want a page called ...
0
votes
1answer
243 views

Page Options Saving But Not Updating In Backend

I have created a custom options page for a slider that you can upload slides to. Everything works great except when trying to save the data. It will get saved and I can use it on the front end. But ...
0
votes
1answer
26 views

Localise settings section headline

Assuming i've got a bunch of setting sections. I add these sections to my plugin page in the following way. $sections = array('notifcations', 'updates'); foreach ($sections as $section) { ...
0
votes
1answer
231 views

How to add a Reset to Defaults button with Settings API?

How can I add a reset button when using the Settings API? I've have something like this that's storing my defaults: $slider_options = get_option( 'nextslider_options' ); /* Define the array of ...
0
votes
1answer
61 views

image URL changed in wordpress

I have moved a theme from local to live and the image URL's are showing my live localhost default url instead of the current live url. Any idea's on why and how to fix this? The site is live at ...
0
votes
1answer
83 views

Static Page redirects to Frontpage

There is a static page named pcmuskel.de/ratgeber. Trying to access this URL wordpress redirects me to the frontpage. I had this page set up as frontpage before but it didn't work. The frontpage ...
0
votes
1answer
95 views

Need to add/remove group of options and display them as rows

I am creating a plugin which has 5 textbox for options. What I need to do is to treat these 5 options as 1 item, and being able to add more items. I've always worked with static hardcoded options for ...
0
votes
1answer
301 views

Tabbed theme options query about add_settings_section callback function

I have been building a tabbed option page based on some tutorials I found, using the settings API. Here is the code http://pastebin.com/bbSnhFP5 . It's all actually working fine for me but it's not ...
0
votes
2answers
413 views

formatting horizontal and vertical images in Settings?

I have several custom media sizes we always use. vertical: 95x117, 130x160 horizontal: 440x304, 220x152 home: 260x160 Is there anyway to set the thumbnail, medium and large to vertical parameters ...