Does anyone know of a way to add an input field (or any type of html for the matter) directly above (or below) the title input field on the post edit page ?
I'm looking of a way to do this without modifying core files (I'm doing this as part of a plug-in which creates a custom post-type).
I'm not aware of any available wp hooks in th...
http://codex.wordpress.org/WPMU_Functions/get_current_site#Examples
In Wordpress, I am trying to retrieve the site name inside a plugin using the above function:
echo 'You are viewing '.get_current_site()->site_name;
echo '<br/>Domain '.get_current_site()->domain;
echo '<br/>id '.get_current_site()->id ;
echo '<br/>path '.get_current_...
How can I remove the author prefix on a WordPress website, I have done a quick Google but have only found htaccess redirects which I don't want to resort to.
To clarify I want to turn this:
http://www.domain.com/author/cameron/
into this
http://www.domain.com/cameron/
I don't want to use any redirects of any kind, but actual PHP cod...
Okay, so I have a custom date field set up as 'm/d/Y H:i:s' and I'd like to echo that as 'M j'. How do I do this?
...
i am using WP Photo Album and i like how it has albums but i am having trouble trying to make it work with lightbox. i've manually put lightbox in and it didnt work then i put lightbox as a plugin and when i click on one of the images in the album it doesnt show.
this is what the images in the album look like
<div class="thumbs">
<ul>
...
i've tried a number of variations and i know this works when i put in is_home even though thats not what i'm trying to achieve but it display it on every page.... if i try anything else like is_front_page or like wha ti have in the example below which is what i'm actually trying to achieve then it doesn't (work!). can anyone help please?...
Hi
How do I pass a variable to create_function() ?
I have something like this:
function my_hook_function(){
$var = 10;
apply_filters('hook', $var);
return $var;
}
$variable = 5;
$function = create_function('', 'return $variable;');
add_filter('hook', $function);
echo my_hook_function();
but it doesn't work :(
theoreticall...
Hi, I'm developing a WordPress plugin that uses 2 pages for a specific purpose.
When I create the two pages manually with a template that I created they are listed as links on the main page but I don't want them to be shown. How can I avoid them to be shown?
Can I change something on my template so that they are not shown?
Thanks!
...
With the facebook iframe like button, am I able to specify what text shows up in a users stream?
When I use a plugin for a wordpress blog post it shows up at
USERNAMe likes POST TITLE on BLOG NAME
but when I try and put it on another page with the straight up iframe code, i just get:
USERNAME likes http://www.pagename.com/bla/bl...
I want to build a site to introduce my phone apps and guide users to the app store. is there any good theme or template for me to get start?
I need to put all my apps together and have separate page for single one.
...
I created a custom Flickr Widget for Wordpress and successfully set up an options form for users to enter their Flickr information, but I cannot get the checkbox in the form to save whether or not it is checked. Any help would be greatly appreciated! Here are my widget(), form(), and update() functions:
function widget($args, $instance)...
So I have a Wordpress site and I also have an Rails based Application Process for people to sign up to come to our organization. Is there a way I can have a login form on the Wordpress site somewhere and when they click login, it logs them in to the rails app? I'm using Restful Authentication on my rails app.
Thanks so much!
...
I'm trying to integrate Facebook Connect with my Wordpress installation.
I DO NOT want to use a plugin for this as all the ones I've tried do not give me the scope I need.
I've set everything up giving the user the option to log in (with previously created wordpress details), register (with wordpress) or login with Facebook using
<fb:l...
I want to map subdomains to my wordpress tags.
So when a user visits mytag.myblog.com, he should see the page myblog.com/tag/mytag (without redirect, though).
This will require some modification of the wordpress code and setting up "catch all subdomains" for the domain in apache. The latter part should be no problem.
I found a plugin th...
Hi
so I'm using Wordpress, which loads the theme and possibly many plugins which can have functions with the same names as the ones in the theme.
How can I avoid function name conflicts between the theme and plugins, without having to rename them to something like "theme_function()"?
...
has anyone ever done the first lower case 'p' test on a standard wordpress page as appose to a post page?
example, write "lower case p test" ...
it works on a post pages but not on a standard page. i even put hardcoded html text in page.php and it removed the p.
i found a plugin and put this bit of code in and it didn't work...
remo...
Hi, I have an static (HTML) web template and I just want to implement that template on WordPress but I don't know who to do that..
Kindly help me
Thanks...
...
How can I check if a category exists, and if exists, return the ID; if not, create the category?
...
Hi guys,
I want to do a sitemap for my website, I used in wp_list_pages
but the function made me only <ul> and <li> tags.
I want to define title with h2 tag and sub pages in h3 tag
how can I do it?
Thanks.
...
Changing password for user 1 looks like this:
UPDATE `mydb`.`wp_users`
SET `user_pass` = MD5( 'password' )
WHERE `wp_users`.`ID` = 1;
Now, I have text file with such format:
user30 pass30
...
user2 pass2
user1 pass1
How can I change passwords for all these users without doing it manually? Maybe some sql command that could imp...