0
votes
1answer
1k views

Custom Post Type Causes Error: Warning: call_user_func_array()

I have a custom post type created called 'missions'. When developing the site on my Dedicated Virtual, I had no problems. But I moved the site to a shared hosting grid server (mt) and now receive this ...
5
votes
1answer
6k views

Custom Taxonomy not working with posts_per_page in new WP_query (pagination problem)

OK, so i'm messing with Custom Taxonomies for the second time and in both instances i've run into this problem where using the posts_per_page argument in either a query_posts or WP_query scenario.. ...
2
votes
1answer
609 views

Multiple sites that share some pages, but not others

I'm pretty new to WordPress... I'm trying to set up a few sites, each with their own top level domain name. What I want them to do is share some of the pages, but not others. For example - they would ...
12
votes
2answers
16k views

How to save the state of a drag and drop jQuery UI Sortables front end layout editor?

I am building a front end post layout editor using jQuery UI Sortable. The posts are laid out in 300px by 250px boxes over a background image. The posts are created and edited using the WordPress ...
2
votes
1answer
1k views

How to remove row-actions from pages table?

I've already found out here how to remove the row-actions from the posts table in wordpress admin. Now I'd like to do the same in the pages table. I've looked in the core files but, well, I just don't ...
0
votes
1answer
72 views

Is it possible to use WordPress functions in a page template?

When a user enters a page I want to check if he is logged in. How can it be done in the page's template? Or is it possible only in functions.php or a plugin?
1
vote
2answers
1k views

Force PDF download from custom menu?

I added a link to a PDF in my custom navigation menu. Is there a way to force it to download instead of open?
2
votes
2answers
409 views

adding .current* tags to custom post types and taxonomies

TwentyTen adds some classes to custom menus, for instance: #access #menu-item-262.current-menu-item, #access #menu-item-262.current-menu-ancestor All the top-level links in my primary navigation ...
5
votes
3answers
1k views

Allowing specific users to only add posts using certain custom taxomy terms

I was searching through the forums, but I can only find slightly related issues. This is my problem: I'd like to assign some editors the capability to only add posts in a predefined term of a custom ...
-1
votes
1answer
3k views

Contact Form not working !

I have added a new Contact Us page but it's not working and says E-mail has not been setup properly. Please add your contact e-mail! Please help... From where do I can configure it properly? ...
2
votes
2answers
323 views

Display title for search engine visitors

I read somewhere*) that there's some q part inside the wp_query object, that identifies search engine visitors and shows the keywords they searched for. I'm currently developing local, so i can't ...
1
vote
2answers
2k views

How to insert custom code into wp_nav_menu structure?

I was able to use <?php wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => false ) ); ?> to create the menu within my theme. Messed around with 'items_wrap' but ...
0
votes
1answer
748 views

Static home page with “Blog” inside?

I'd like to have a static home page and also have a link called "Blog" that lists posts in the "blog" category in chronological order. Would the best way to do this just be to place code in ...
0
votes
1answer
556 views

Wordpress 3.1.2 Bug: add_theme_support() and video post format registering twice

Ive been experiencing a problem with the new WordPress 3.1.2 update. When i use add_theme_support(); and register an array of post formats, it registers all of them fine, but when it comes to the ...
4
votes
2answers
210 views

One for the gurus: upgrade to 3.x messed up only filenames with accented chars

After upgrading from 2.8.x (maybe it was 2.9.x) to 3.1.2, all the references inside posts to filenames (usually images) which contain accented chars stopped working. Before, filenames that are ...
0
votes
1answer
2k views

Query multiple taxonomy in Custom Post Type

Currently I use: query_posts("post_type=listing"); to pull all entries of my custom post type. But I have a taxonomy called status with the values of Available, Pending, Sold. I only want to show ...
6
votes
1answer
3k views

Linking Two Post Types

and thanks in advance for your help. I've done some searching, and this question has been answered a couple of times with reference to the "posts 2 posts" plugin, but the documentation on that is ...
0
votes
2answers
642 views

While in “the loop”, detect if a post is the most recent

While inside "the loop" in WordPress, is there an easy way to detect if a post is the most recent? A Usage Example: I want to make the first post output an H1 for the title instead of an H2. Or I want ...
0
votes
3answers
125 views

Odd functions.php issue in Wordpress

I'm using More Fields plugin, and when I use my functions.php to embed the custom field, I get an odd issue. The field value is followed by a "1" I use this code: //Address add_action( ...
1
vote
4answers
2k views

Adding footers to posts?

I'm trying to add footers to the end of my posts. I need to be able to assign different footers to different posts (not globally). I tried using WP Post Footer, but it's not working on WP 3.1.2.
0
votes
2answers
663 views

What Does this Code Snippet Do?

I got this error message when I was installing a plugin: "Unable to locate WordPress Content directory (wp-content)". I found a solution here: ...
1
vote
3answers
6k views

How to copy/paste web content with photos into my blog

I use my wordpress blog for research... When I write about something, the firs thing I do is research of what's already out there on given topic. What I want to do is to be able to copy paste parts of ...
1
vote
3answers
197 views

Let users share posts via Twitter?

I am using Twitter Tools, which allows me to auto-tweet my blog posts. Thats great, but I would also like a button to allow readers to easily tweet them. <--- What I am talking about is exactly ...
1
vote
1answer
6k views

Linking an image to open a youtube video in lightbox/fancybox in wordpress

Here is what i'm having problems with... I want to link a youtube video to start playing in a lightbox/fancybox when a person clicks an image. Kind of like this site has - http://www.adroll.com/ - if ...
0
votes
2answers
816 views

Making tags appear as an Unordered list <ul> instead of a 'cloud'

I'm developing a a site using the wp e-commerce plugin, and it handles tags in pretty much the same way it would if I were using it for a blog instead of a store. The issue is that I want to use the ...
0
votes
1answer
122 views

Problems in creating a static site with WordPress

I want to create a static, company brochure site. I created a page called "HOME" and I was able to change the reading settings to static, and select "HOME" from the drop down box. I then created a ...
0
votes
1answer
319 views

Wordpress 3.1.2 Network Enabled non-www to www

OK so i am drawing a blank. I have setup a WordPress 3.1.2 Network site and want the main site to appear with www.mydomain.com not mydomain.com and i can get that to work but the back-end on the ...
0
votes
5answers
10k views

wp-admin is redirecting to back to home page (localhost)

I have WordPress installed on my localhost. All worked perfectly till today. But today when I enter http://localhost/wp-admin in the url to access the admin panel, it redirects back to the home page. ...
0
votes
5answers
340 views

Wordpress for Podcast Network

Is there a theme or some hack of the categories system that I can use to create a site for a podcast network? I want it similar to This Week in Tech in that all the podcasts will appear on the front ...
0
votes
1answer
590 views

Media library only show 2 items per page?

For some reason WordPress media manager is only showing 2 images per page? This is happening on 2 separate sites now and I can't get rid of it. Is there a way to manipulate items per page for the ...
1
vote
2answers
312 views

How to list users and their post amount?

I want to list all the users of my site and the amount of posts each user has. So far I have the function below, but I don't know how to pull in each user's ID to use in the count_user_posts... ...
5
votes
4answers
17k views

How to get current-menu-item title as variable?

Is possible to get current-menu-item as a php variable? I'm listing the category museums via the menu item 'museums we support' so i'd like the get 'museums we support' bit and display it somewhere? ...
4
votes
4answers
1k views

How do I allow a specific Role in Wordpress 3+ to only see certain plugins?

I am familiar with user roles and how to change them within Wordpress 3+, My problem is when I disable a user from being able to view plugins, all plugins are disabled from view. How do I let them see ...
3
votes
1answer
453 views

Displaying search results in the widget itself?

I am new to wordpress, so if this question was already answered I apologize in advance. I have a search form in wordpress which looks like this: <form action="wordpress/action.php" ...
0
votes
1answer
386 views

Using theme options to change a border-radius value

I'm developing a theme where I'm using theme options to allow users to set various things -- text size, background colour, link colour, etc. The basic code I'm using for the options is in header.php ...
0
votes
2answers
4k views

Bulk Image Uploader to create new post from each image [closed]

Is there any plugin which creates a new post from each image I upload/select with it? I want to create many posts with one image per post. Currently I select, upload all images. Then create new post, ...
0
votes
1answer
458 views

How to implement friend system for Wordpress?

At the moment my users posts are only viewable to them. I would like to implement a system where they can choose to share any post with other users they know. The problem I'm having is, how do I make ...
0
votes
1answer
337 views

Lightword Theme - only one menu item

Since I am pretty new to WP and the whole stuff i ran into a problem. I am using the pretty-well known "Lightword" Theme. And today i've upgraded to the newest version. It's now possible to add/edit ...
1
vote
1answer
728 views

Menus - Open items in new tab/window?

I have 3.1.2 running with the Boldy theme. Site link. I have a menu that has a number of external links listed in the items. By default, these items do NOT load in a new tab/window. There is no ...
2
votes
2answers
10k views

Add BuddyPress Profile Menu Item [closed]

In BuddyPress, when a user clicks on their username, they are presented with a page that contains a menu: Activity Profile Messages Friends Groups Settings How do I add an item to this menu? How ...
4
votes
2answers
4k views

Can upload doc and pdf but not ppt - not permitted for security reasons

"Insert search engine here" was pretty useless for this one - I've had a look through wp-includes/functions.php, wp-admin/includes/file.php etc. but not found a reason for the behaviour I'm getting. ...
1
vote
2answers
321 views

style being attatched to <html> tag from outside of style sheets

I'm developing an online store using wp e-commerce plugin. Whilst working on it locally the problem didn't occur, but after I started testing it online a large gap began appearing before the top of ...
2
votes
2answers
1k views

WordPress Nonce and check admin referer help needed

Just before I start please note that I am new at any type of WordPress/PHP security. Few days ago friend of mine asked me to create Theme Options for his Theme, all set and working fine, however he ...
1
vote
2answers
239 views

Pull images from the gallery

I am building a template where wordpress is being used primarily as an image CMS, I am pulling the first image from the content section of each post. <img src="<?php echo grab_image() ?>" ...
6
votes
4answers
3k views

dynamically add scripts to WP_Widget widget() method

I have a wordpress widget that has the standard outline like: class my_widget extends WP_Widget{ function my_widget(){ //do setup stuff } function form(){ //do form stuff } function ...
7
votes
3answers
5k views

Sample code for validating custom metabox?

I've found very little on this site or in Google searches for examples of validating metabox custom fields. If anyone wants to give examples, here are some cases that would be useful 1) Date entered ...
1
vote
1answer
104 views

finding whether request is for post, and post id

I need a hook such that when visitor lands on any of the post (not page), I need to record a hit. How can I find whether the request is for post, and is there any hook to find if the loaded content ...
1
vote
2answers
2k views

Query for multiple post types does not work

I'd like my frontpage to display a list of my lastest blog posts merged with my latest "Products" custom post type posts. From the documentation i gather this should work: query_posts( ...
1
vote
1answer
371 views

How do I write into a file (css)

I'm writing my first wp plugin and I have many problems, most of those I got to solve by just reading the codex, but I don't know how to write into a css file within my plugin's options. Maybe there's ...
1
vote
1answer
792 views

functions.php conditional tag - only show in single.php?

//Geo Map add_action( 'woo_post_inside_after', 'my_geo_mashup' ); function my_geo_mashup() { global $post; if ( in_category('listings') ) { echo GeoMashup::map(); } } Works to ...

15 30 50 per page