All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
213 views

Commentform input area issue

This is probably really simple, but I just can't figure it out. So I change the input form on my comment form php. The changed snipped looks like this: http://pastebin.com/3Mj1XHGJ Yet when somebody ...
1
vote
1answer
862 views

Undefined index: b in /path/file.php relating to querystring parameters

I am getting errors in the server log for cformsII plugin but don't understand why. PHP Notice: Undefined index: b in /var/www/wordpressmu/wp-content/plugins/cforms/cforms-captcha.php on line 12 [...
1
vote
1answer
122 views

Certain actions failing when run through cron

I am having a huge argument with Wordpress, and this is my last port of call before I throw the PC out of the window. I have a plugin here that exports an XML feed into Wordpress posts. The posts ...
7
votes
2answers
7k views

Alternative to using get_avatar function?

I used a WP hack for displaying author's pics. For example, my single.php has an author slug which displays the author's pic. I created a folder called authors in my theme/images folder. Based on the ...
2
votes
0answers
140 views

Admin menu bar dropdown opens when I click on a form <select> element (Chrome) [closed]

Whenever I click on a <select> element within a form, it opens not only the relevant dropdown but at the same time the first dropdown menu of the admin menu bar. It seems to be an issue with ...
5
votes
13answers
23k views

Why permalinks work with /index.php/%postname% but not with just %postname%?

I'm having a problem with Wordpress permalinks. I change the permalinks to pretty permalinks but I am just getting 404s for the pages now. The strange thing is when I use /index.php/%postname% the ...
4
votes
1answer
120 views

Allow user to create instances of custom field

I have a custom field for a links page which takes a name and an URL and saves it in the post meta. However, I want the user to be able to click "Add new link" and a new custom box appears so they can ...
0
votes
1answer
627 views

creating a foreign key like relationship with custom post types

I am currently building a website, that is heavily reliant on custom post types, 2 of my custom post types are "Clients" and "Case Studies", now what I am wanting is a way to create a dropdown in the "...
0
votes
1answer
473 views

How to remove date in Recent Post widget?

I am stuck with this. I open the file default_widget.php inside wp-icludes folder, i want to remove the date displayed by the default recent post widget. I cannot find it! Pls help!!
0
votes
1answer
1k views

List one post only from each subcategory using get_posts?

Custom Post Type = 'projects' with a Hierarchical Taxonomy = 'projects_category' projects - big-corporates -- company one ---- first project 1 ---- second project 1 ---- third project 1 -- company ...
0
votes
1answer
427 views

Custom taxonomy huge list not loading properly in select box

I have custom post type "Book" and custom taxonomy "Author" associated with books. I have used remove_meta_box to hide default UI for taxonomy, because it was like tags where you can add multiple tags ...
0
votes
3answers
142 views

Remove Sidebars from page

If I wanted to remove 1 or more sidebars when a certain page is called what is the best way to go about doing that?
0
votes
1answer
736 views

WordPress/jQuery pagination plugin for multiple lists

I have 3 shortcodes. Each of them will be displaying a list. PS> the lists do NOT contain wordpress posts/pages. Is there any WordPress plugin that can achieve the purpose? OR Please suggest me a ...
1
vote
2answers
348 views

How to list 2 taxonomy terms for a post, based on their hierarchy

I'm using get_the_terms to display 2 terms on a post, associated with the taxonomy "location". The terms are the suburb and the city. The location taxonomy is hierarchical so the suburb is a child of ...
0
votes
2answers
315 views

Child Theme Based on Toolbox Not Found

I am trying to make a child theme of the toolbox theme and use it in my multisite WP 3.2 install. I created a folder called wp-content/themes/charlie-repair-toolkit/ then I created style.css in the ...
1
vote
3answers
1k views

How to Link to all posts that have the Standard Post Format

Why doesn't this work?! <?php echo get_post_format_link('standard');?> :( Any hints? All the other formats work.
0
votes
1answer
112 views

Mixing l18n string from my plugin with WordPress' translations

I recently asked a question about l18n for WordPress terms like "Taxonomy", "Plugin", "Custom Post Type", etc. I was wanting to get some input on whether to translate these terms or not. Scribu made a ...
16
votes
7answers
4k views

Where can I sell WordPress themes and plugins? [closed]

I've been building some WordPress themes and plugins. What are the online marketplaces I can sell them?
0
votes
2answers
1k views

How do I minify '@import' css files with wp-minify?

I am trying to use wp-minify to minify my js/css on the fly. I can get the 'direct' css files to be minified, but I can't seem to get wp-minify to minify the 'linked' css files. My theme is a child ...
6
votes
1answer
68 views

Does a plugin's “main” file need to be named the same as the folder containing it?

I remember - many moons ago - debugging a plugin that I was building for a very, very, long time. The only thing that fixed my issue (which I can't remember for the life of me), was to name the ...
1
vote
1answer
101 views

How do the pros code up a WordPress theme? Locally? Through FTP?

Up until now, I've been building my WordPress sites by transferring files through FTP. This can sometimes get really slow (time it takes to upload the file, Firebug slows to a crawl, etc.) and I was ...
0
votes
1answer
982 views

Comment_form and GD Star Rating

I'm finding GD Star Ratings a bit complex to work with. I'm using the comment_form function to generate a custom "review" form on a custom post type. At the top of the form, I want reviewers to leave ...
0
votes
1answer
529 views

Limit archive widget results

Is there a way to limit the amount of months shown in the Archive widget? I don't want to use a drop-down list (I can manually add a drop down in my footer so people can get the full archive). I'm ...
0
votes
3answers
4k views

500 Internal Server Error when Trying to Save Menu [closed]

I've got a few dozen pages in my menu. When I try to add new pages to the menu, then Firefox gives me the "connecting" message int eh tab and it eventually stops after a few minutes and gives me an ...
0
votes
1answer
263 views

Include a metabox in the 'home' screen of a custom post type? If not, then the dashboard page?

I have a page with a simple YouTube embed. I would like the client to be able to easily switch the video id from the dashboard without having to edit any templates. Something like this: <iframe ...
0
votes
1answer
94 views

Wordpress Shortcodes - Optional Styles

i'm creating some custom shortcodes for my wordpress theme. Shortcodes are by nature optional on pages/posts, but may contain css, js or other files. My question is, how can i enqueue css styles ONLY ...
1
vote
2answers
2k views

How can i add validation to this login form with out it redirecting to the wp-login.php page

Im using the code as posted on the website below, to create a hard coded login form. http://www.wprecipes.com/add-a-login-form-on-your-wordpress-theme What would be the best way of incorperating some ...
3
votes
1answer
11k views

is_archive() returns false on the archives page

I've followed the official documentation to create my archives page: http://codex.wordpress.org/Creating_an_Archive_Index It works fine exept that "is_archive() returns false when I'm viewing this ...
0
votes
2answers
6k views

Simplest way to query with blog_id?

What is the simplest way to query posts using blog_id? I have a post type called video that holds, not surprisingly, multiple embedded videos. Each post has a different video. I would like to ...
1
vote
1answer
530 views

Taxonomies image

I'm currently creating a theme and I would like to associate an image to one of my taxonomies. I'm already able to add some fields and I now want to add a file input which'll be handle by Wordpress ...
0
votes
2answers
104 views

Pages that don't look like blog posts?

I 've been scouting around for answers on creating static pages (that means NO BLOG POSTS of any kind) on pages where you don't want ANYTHING that looks blog related, (posts, leave a comment, date ...
0
votes
2answers
1k views

Bizarre wp_signon problem

Very odd problem with wp_signon Below I pass a users credentials to wp_check_password and it returns true proving the password is correct.... however when i try to signin it return wp_error with "...
9
votes
2answers
2k views

How set defaults on wpLink()

With WP 3.2, WordPress maybe has a new function to add Link-Quicktags to the editor. But I found an function to set defaults for the link-button: Take a look at wplink.js Line 278. ...
2
votes
1answer
3k views

get the username of a user in his author page

I've implemented this code inside my author.php file, in order to display the username of the author: <?php printf( "<h4>The blog of<a href='" . get_author_posts_url( get_the_author_meta( ...
1
vote
4answers
4k views

Redirecting when changing custom post type slugs?

I changed the name of two of my custom post types. The original slugs for them did not properly reflect the post type. So I need to redirect requests for posts beginning with designer_lingerie (the ...
1
vote
0answers
435 views

Custom search using custom fields, post type, and custom taxonomy [duplicate]

Possible Duplicate: Include custom taxonomy term in search I need to create a search on a certian post type and then be able to have a checkboxes and dropdowns to search custom fields and custom ...
0
votes
2answers
1k views

Unable to save Theme Options when TinyMCE is enabled for the text area

On the site I'm currently developing I have created a theme options page (under Appearance). All there is on this page is a text area so the client can add some summary text to appear above their ...
0
votes
1answer
1k views

How to get a page array and category array going at the same time?

I'm using the code below to add a logo in the header of certain pages and I'm wodering if there a way to add the logo(sublogo.jpg) to certain categories as well as "page-one", "page-two" and so on? ...
-1
votes
1answer
115 views

not able to add thumbnail custom field in dropdown

I am using custom fields. Whatever we define in "add new custom field" shows up in the dropdown on refreshing, but for some reason the thumbnail word doesn't add up in dropdown. Can I manually edit ...
3
votes
6answers
320 views

How do WordPress veterans deal with the issues of upgrading WordPress?

Sometimes upgrading WP is catastrophic: critical plugins don't work any more (and new compatible versions don't exist yet). What do the WP veterans do about it? Do they upgrade WP after the boring ...
4
votes
2answers
5k views

Custom settings disappear during database migration?

I've noticed a problem that pops up occasionally when moving a WP install from one place to another (usually the same server.) I copy all the files to their new location, get a mysql dump, update all ...
5
votes
3answers
2k views

Wordpress 3.2 has broken my TinyMCE code

My code was working up until the 3.2 update, where I noticed that tinyMCE has been updated too. Does anyone have any ideas why this may not work now? I don't get any console errors but I don't get ...
0
votes
2answers
255 views

Need help fixing sql syntax error after WP 3.2 upgrade

I'm using a plugin that failed after upgrade to wp3.2. The error log shows: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ...
0
votes
1answer
658 views

display public excerpt for private post

Thank you in advanced. I know there are plugins that can do this, but I am looking for a simple solution for my function file. I would like to display the excerpt for all posts with the more tag for ...
7
votes
4answers
10k views

How to Remove all Instances of edit_post_link

Can someone please assist with how to remove from my theme, whilst in author mode, the edit_post_link (Edit link), throughout all my pages. Which php files in the Twenty Eleven theme (WordPress v3.2) ...
0
votes
1answer
195 views

Is it necessary to translate WordPress key terms when localizing a plugin

In translating a plugin, how should "WordPress" key terms be handled? For instance, should the following need translations or should they be left as is: Taxonomy Custom Post Type Taxonomy Term Plugin ...
2
votes
1answer
869 views

Warning when attempting to edit/add custom post type

I have two custom post types in my WordPress installation. Both are set up the same way in functions.php (one called "Media" and the other "Testimonials"). For some reason, I'm now getting the ...
2
votes
2answers
484 views

Cleaner way to access custom fields in code?

I have 15 custom fields that I use to generate reviews for my site. Currently I access each field like this: //Buy or rent, type home, price if ( get_post_meta(get_the_ID(), '...
1
vote
1answer
566 views

Why doesn't my simple the_title filter get applied?

I have added the code below to an active plugin, but it's having no effect on my posts. add_filter( ‘the_title’, ‘myfunction’); function myfunction($title) { return "Why won't this work?" . $title;...
2
votes
2answers
3k views

$wp_query->current_post restarts from zero on paged pages

I know how to keep track on the 'index' of the current post when running the loop using $wp_query->current_post Bu this restarts the count from zero on subsequent paged pages. So if I have 20 ...

15 30 50 per page