The tag has no usage guidance.

learn more… | top users | synonyms (1)

3
votes
5answers
3k views

Removing custom background and header feature in child theme

I am creating a child theme using twentyten as my base. I am looking for a way to remove the features of adding custom header and background without touching functions.php file in the parent theme. ...
0
votes
1answer
273 views

Form Submission Warning: Cannot modify header error only when plugin is deactivated

I have created some custom post forms that I'm now using in place of a plugin called WP User Frontend which allows you to post and edit from front end. These post forms we're working great but when I ...
0
votes
1answer
197 views

Cannot Modify Header Info Error on updating User Profile

I keep on getting this error on updating a user: PHP Warning: Cannot modify header information - headers already sent by (output started at /wp-admin/includes/update.php:134) in /wp-includes/...
2
votes
1answer
2k views

Removing custom meta box added in parent theme

I am using a child theme, and wish to change one of the meta boxes defined in the parent theme. The meta box is for 'pages' only. I tried using the remove_meta_box in my functions.php, but it has no ...
0
votes
1answer
304 views

How to Override A Function in ms-functions.php

I want to execute my own welcome new user email notification instead of function welcome_user_msg_filter(){} located in ms-functions.php I recently learned how to override functions in pluggable.php, ...
9
votes
3answers
1k views

How to override pluggable function in theme?

All the documentation I've encountered discusses overriding pluggable function via your plugin. What if you're doing theme development instead? My functions.php requires another file that overrides ...
2
votes
4answers
2k views

Extract & Display the REAL first image attached to a post - extend the_post_thumbnail()

I have an interesting problem which I am sure someone here can solve. I have gone through a bunch of different plugins and code snippets in search for the perfect code to extract a primary image to be ...
0
votes
1answer
339 views

How to add custom function to pluggable.php

I am working on a WP plugin and I want to add a custom function to pluggable.php (located in /wp-includes). I am calling that function from admin.php (located in /wp-admin) eg. Consider the function ...
1
vote
1answer
1k views

How to override wp_insert_comment()

I am trying to override wp_insert_comment() (wp-includes/comment.php). I added the following lines of code in my functions.php file, located in my theme : add_filter('wp_insert_comment', '...
-1
votes
1answer
801 views

External Authentication

I currently have a website with its own user authentication. It also has 3 separate installations of WordPress in its subdirectories, each loading data from 3 separate databases. What I would like to ...
0
votes
1answer
2k views

Warning: Cannot modify header information - headers already sent

I've just received this error/warning after trying to upload an image, any ideas what it means and what I can do to fix it? Warning: Cannot modify header information - headers already sent by (output ...
0
votes
1answer
653 views

Adding tables to dashboard pages programmatically?

I think that is not possible with some actions or filters, I know that I can do it just with html and using right css styles, and of course php to achieve what I need, or to write some minde actions. ...
3
votes
2answers
739 views

why plugins are loaded prior to pluggables

I got this image from one E-book for WP plugin development. Could you please clarify me why the Plugins are loaded before Pluggables.
1
vote
1answer
519 views

unable to change default URL at “General Settings” page

Okay I have the Default URL for the blog at "General settings" grayed out and unable to change the url of the blog anymore. The current value is "http://blog.financialcoachshow.com/blueocean/...
1
vote
1answer
1k views

Do I have to override the wp_mail() pluggable function with writing a plugin?

If I want to override wp_password_change_notification, do I have to write a plugin to do this? It seems to have no effect in functions.php of my theme. The only thing I need to do is change the ...
0
votes
1answer
3k views

overwrite a plugin function in functions.php

need to customise a plugin function but would rather not edit the plugin itself so updates wont remove the custom changes. function iss in a class called UserAccessManager and the function is; ...
18
votes
1answer
12k views

How to override parent functions in child themes?

I've been reading around and trying to figure out how to do this, but for some reason I can't seem to override parent functions in my child theme. I'm using TwentyTen as a parent - can anyone tell me ...
1
vote
2answers
900 views

Overriding functions in wordpress plugins

I notice that in some plugins you can override functions by ... Creating an uploads folder Creating a folder with the plugin name Using the following code if (!function_exists('function_name')) { ...
1
vote
5answers
364 views

Problems with removing admin bar

I am trying to remove the admin bar from a theme front end of a theme. I found the following code block: add_filter( 'show_admin_bar', '__return_false' ); remove_action( 'personal_options', '...
1
vote
1answer
214 views

Wordpress Child Themes

I'm trying to redeclare a function in a wordpress child theme that is already in use by the parent theme. However, I get a "Fatal error: Cannot redeclare" message when trying to do so. Also, I've ...
1
vote
1answer
2k views

change default option in wp_dropdown_categories

I'm using wp_dropdown_categories() to output a dropdown. In default view (without having clicked it) it shows the name of the first category in the list. I'd like it to say "Categories". Is this ...
2
votes
1answer
670 views

How to make gravatar.com avatars conditional?

Problem: I am using custom avatars for registered users and my own locally-hosted image as the default gravatar. I want to stop WordPress making HTTP requests to check for gravatar.com images on every ...
1
vote
2answers
626 views

Changing the comments link produced by the get_comments_link() and get_comments_pagenum_link() functions

Currently my theme calls upon get_comments_link() to create the standard anchor #comments to link to the comments below the post, as does the get_comments_pagenum_link() function on paginated comments....