0
votes
4answers
339 views

Customizing wordpress to match your site theme

I have been wondering about how I could customize a Wordpress theme to look like that of my site, which is basically made of simple html and css. Alternatively, do you think there is a customizable ...
0
votes
1answer
140 views

Page displays content from different query?

How can I reset all variables in order to get the actual page content? I keep getting the last post's content I've called from a news-box I've implemented - but need the actual page's content .. ...
1
vote
2answers
2k views

the_widget() and widget's ID

Let's assume I have a widget that displays only its name: <p> <?php echo $args['widget_id'] ?> </p> So when I drag & drop my widget to any sidebar it shows: ...
0
votes
1answer
161 views

Shortcode displays always first. Once again

OK, I've had a problem with echoes in my last shortcodem, but everything works fine now. But I have another one: function myWidget_shortcode( $atts ) { extract( shortcode_atts( array( ...
1
vote
2answers
168 views

Is there a way to separate a site inside a network (multisite) into its own wp site?

If there is a network (multisite installation) with 10 sites inside. Is there a clean way to separate that site to its own site in a different server? How?
0
votes
1answer
550 views

custom image dimensions (for gallery)

when uploading an image into the mediapool, wordpress will auto-resize it in several dimensions. unfortunately i'm requiring a special format which is kinda between thumbnail + medium. any ideas if ...
0
votes
2answers
1k views

Why is my mod_rewrite not working?

Ok I have a WP site using the permalink structure of /%category%/%postname%/ I have built it in the way of page templates, using category queries inside, i.e. page-help.php <?php $my_query = new ...
1
vote
3answers
139 views

What is wrong with this code?

function themeperauthor_need_switch() { global $post; if ( $get_post_type == 'weblogs' ) { return get_the_author_meta('themeperauthor', $user->ID); } return ""; } It doesn't return ...
0
votes
2answers
700 views

Show a Category X's custom post type on Category X archive page?

I created a custom post type "landing_page" to hold content I want to display on the top of category archive pages. So for each category, I have one landing_page entry tagged with that category. What ...
0
votes
1answer
2k views

How to deal with different jQuery versions?

For example If you have a plugin on a site that uses jQuery 1.5.x and want to create a new plugin by implementing a script which uses an older version of jQuery, for example 1.3.x or 1.4.x. I know it ...
0
votes
1answer
783 views

where can I see my custom post type archive template?

I am working with wordpress 3.1 and have custom post type of whitepaper. My single-whitepaper template seems to be working. But the archive template (archive-whitepaper.php) is not. And this after I ...
11
votes
5answers
20k views

How can I show posts only if meta_value is not empty

Three people have already tried to solve this, and we're coming up nil. I want to show only posts that have a value in the meta_key 'featured_image'. So... if 'featured_image' is not empty, show the ...
0
votes
1answer
502 views

Custom Taxonomies Cababilities

Since 3.1 I've had an issue with custom taxonomies for a site. it seems that my user (admin level) can't edit the taxonomies from any screen. I see them on under the custom post type and can see them ...
0
votes
1answer
190 views

URL renaming issue

I am a non programmer using a wordpress site (riyachting.com) I just discoverd that sending folks to my page with a URL that inlcudes some other stuff in it gets stripped out so only the URL of the ...
0
votes
2answers
90 views

When will be the next major update for wordpress?

My client isn't a great fan of updates so I want to assure him that the next major upgrade will be at least 3-4 months down the line. I just upgraded his blog to 3.1 - (YAY!) Would anyone concur with ...
1
vote
2answers
533 views

Dynamically creating custom post type items and updating them

I am creating a plugin which uses a custom post type. My question is two folds: (1) upon activation of my plugin how do I create the items of my custom post types. For example: if my post type was ...
1
vote
2answers
3k views

WordPress documentation - WP_Query arguments

I've been looking for a list all WP_Query arguments. This looks obvious, but http://codex.wordpress.org/Function_Reference/WP_Query isn't helpful at all, "post_type" is mentioned only in an example, ...
0
votes
1answer
58 views

View photo album without having to scroll down for each picture

I need a way to see my photo albums without having to scroll down for each picture. So, is there a way to lose the Header when I open the photo album ? Or, can the photo album open in a new window ? ...
1
vote
2answers
1k views

add new metabox to page editor with just page parent

I run a multisite install and I have removed the page attributes meta box from view for my users because I don't want them to be able to change templates. I would like them to be able to change the ...
0
votes
1answer
683 views

Can not manually change the permalink of a post in the EDIT secion

I have my site using a custom permalink structure, specifically category/post. Recently I noticed, once in the actual edit page interface I was unable to use the "EDIT" feature for the permalinks ...
7
votes
2answers
5k views

How do I query by post format in WordPress 3.1

I am trying to query for all posts with a post format of 'quote.' I have added the post formats to my functions.php with add_theme_support( 'post-formats', array( 'image', 'video', 'gallery', 'quote' ...
2
votes
2answers
3k views

How to get and edit custom fields if in Quick Edit

I've got some custom fields that I would like a user to be able to edit in Quick Edit, I can manage the columns but I'm unable to edit them if Quick Edit is clicked current code with custom fields I'd ...
0
votes
2answers
7k views

Failed media import

I sat up MAMP on my mac and installed wordpress 3.1. Then, I exported my wordpress.com ina tried to import to my local wordpress.... I ticked import media option and I was hoping that I will get all ...
1
vote
1answer
2k views

A way to count logged in users and display count?

Is there a possibility to get the count of users currently logged in and display it somewhere?
4
votes
4answers
1k views

How to modify the “after” of last element in wp_nav_menu

When using wp_nav_menu how do I make it so 'after' => does not show on the last element of the list?
0
votes
5answers
314 views

Google maps plugin [closed]

Please recommend a google maps wp plugin that can put a map inside a wp page while other text will be situated near it (right or left hand side).
2
votes
3answers
4k views

Change default admin page for specific role(s)

I was wondering if anyone knew of a plugin or a way programmatically to change the the default admin page for a specific user/role? I have a master panel page for my plugin currently setup with ...
1
vote
1answer
3k views

Can I open a Nextgen gallery into a lightbox from an album listing page

I am working with a slightly customized version of the album-compact.php template. I have pretty much just organized the look and feel. I haven't messed with anything else. I have an album listed ...
0
votes
3answers
3k views

“Members only” section of a WordPress site - self signup and no backend access

I'm working on a site which is mostly static content and one main blog. Because of this, WordPress looks like the best option to construct this site. However, the client is now looking for the ...
1
vote
4answers
2k views

WordPress hangs when I publish or update a post [closed]

I've been Googling this for a while: I was on 2.8 when this bug occurred, so first thing I did was finally upgrade to 3.1. It didn't fix anything. Next thing I did was disable all the "Update ...
1
vote
2answers
5k views

Does meta_query work within get_posts array?

I can't seem to get this to work — I'm trying to show posts that have the meta 'featured_image' value set to anything. From what I can tell, it's set up correctly, but I'm in a little over my head. ...
0
votes
1answer
742 views

get_post_meta of multiple posts?

I'm trying to get the key values for multiple posts with get_post_meta but am having no luck so far. In short, I have a function that adds 'votes' and 'thevoters' to each post. I want to check to make ...
1
vote
2answers
11k views

how to display post content without post image?

i've implemented a jQuery gallery for displaying several images within a post. the problem is that the_content(); also displays the post image. any ideas how to filter it? thanks
1
vote
2answers
4k views

How to store multiple input values with same meta_key

is there a way to store the input value from multiple custom meta box fields with the same meta_key? I use the following code to store ONE value for the meta_key 'startdate': function startdate() { ...
1
vote
1answer
514 views

user Profile meta value as custom field

I would like to add custom fields automatically to all my custom post types weblogs based on data from the author profile field. My code: function add_custom_field_automatically($post_ID) { ...
0
votes
1answer
152 views

Formatting error with source code on WordPress.com?

I've been trying to post some Java code to my blog, but it seems like it has some problems with the formatting. First, whenever I copy/paste code into the editor, it's pasted as pre-formatted, which ...
0
votes
1answer
318 views

Custom functions for string data calculations

Just a quick question. I have a form that calculates values based on user entry. The information is then passed via ajax to a php file for calculation returning the results. The problem is that that ...
0
votes
1answer
610 views

How to take the help button and link off the dashboard

I want to take the help button/link off fron the top right of the dashboard. I dont want to do it with a plug in so if you could tell me where the code is located and what to take off that would be ...
2
votes
2answers
613 views

How to control contextual help section by code?

I had added some content to contextual help section for plugin options page. Now I'd like that page defaulted/toggled to contextual help section open on specific condition in my PHP code. My only ...
0
votes
1answer
319 views

attach several images to post + gallery

i'm wondering if its possible to attach several images to a post then display those images in a thumbnail/fading gallery? By the way, the images should also be resized to a fixed size + thumbnail. ...
1
vote
3answers
2k views

Permalinks in Custom Post types

Is it possible for a custom post type to have a permalink as domain.com/custom-slug/ instead of domain.com/custom/custom-slug/? I can't seem to achieve it. rewrite argument while registering it ...
1
vote
2answers
305 views

Posts wont expire

I am having some trouble with scheduling posts to automatically expire (either by deleting or going to draft), every plugin I have tried does nothing and when it reaches the scheduled time nothing ...
0
votes
2answers
487 views

How to show custom posts

We're creating a site to showcase a series of archival recordings covering a wide variety of topics. We'd like to have a page in the main navigation (e.g. recordings) to display these by title, w/a ...
1
vote
1answer
691 views

Edit Post VS Custom Form

I have a blog which relies heavily on user generated content. I would like my users to be able to create posts, but the posts must only have specific fields: title content an attached image two ...
0
votes
1answer
269 views

Shortcode leaves no space for other elements?

I've created my own shortcode. I'm unable to share the code unfortunately ;/ When I use it on my pages it behaves strange. It always has the highest priority. I mean something like that in page ...
2
votes
3answers
3k views

How do I get W3 Total Cache not to cache sidebars? [closed]

At the moment I run PHP code in my side bars. Even though I have the following header("Pragma: no-cache"); header("cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 ...
1
vote
1answer
2k views

Why does Wordpress remove my variables in the URL?

I am trying to put variables into the URL, which I can then use in my Wordpress template. So for example I have created a wordpress template something.php and the page "somepage" with this template. ...
8
votes
2answers
2k views

Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?

I've been looking all over to find a solution for SSL with WordPress MultiSite and Domain Mapping. Ideally, I'd like to purchase an SSL cert for each domain (or potentially a wildcard cert) anyone ...
1
vote
1answer
516 views

Google picasa plugin [closed]

Please advice a google picasa plug that will have similar to original look, but with more styles or that will simply look better.
1
vote
3answers
303 views

How to find hooks as per Just-In-Time approach?

How can I follow Just-In-Time approach in hooking up my function to an action? I mean everybody just attach the functions to a very early stage like init which leaves the scope of optimisation. I saw ...

15 30 50 per page