All Questions

Filter by
Sorted by
Tagged with
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
8k 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 ...
2
votes
2answers
7k 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
2k 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 ...
2
votes
2answers
18k 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
2
votes
2answers
11k 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
581 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
170 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
324 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
755 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
738 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
335 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. ...
2
votes
3answers
3k 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
3answers
1k 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
491 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
1k 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
279 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
5k 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
4k 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
3k 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
522 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
312 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 ...
0
votes
2answers
217 views

Why doesnt this query work? (Custom Taxonomy)

My Query $my_query = array( 'posts_per_page' => 10, 'tax_query' => array( array( 'taxonomy' => 'country', ...
0
votes
2answers
2k views

WordPress MS wp-admin/includes/post.php error with shortcode generator

I'm having a serious issue with Wordpress 3.1 with Multi Site enabled and my themes custom shortcode generator. For some reason, I'm getting the following error whenever I create a new page/post/...
0
votes
1answer
274 views

Disable plugin only for one post

It's possible to disable a plugin just for a post? I'm displaying a post in my footer but I've installed Simple Facebook Share Button and I don't know how to remove that button. Unfortunately I can'...
3
votes
2answers
269 views

Theme editor menu item refuses to go away

I've got an action set up on admin_menu to modify it as needed. I successfully removed the themes menu with the following: remove_submenu_page('themes.php', 'themes.php'); Now I want to get rid of ...
14
votes
4answers
14k views

Remove Ability for Other Users to View Administrator in User List?

(Moderator's note: Original title was "Remove Admin from User Menu") I have created a client administrator role which is essentially an Editor with ability to add/remove users. The article "Editor ...
0
votes
2answers
4k views

Transfer WP from subdomain to main domain

I've set up a redesign of a site in the subdomain to work out any kinks and to make sure everythings working ok before setting it up on the root domain. I've looked up transfers but have only found ...
1
vote
1answer
1k views

exposing attachment uploading to the front end — delicate

i'm probably breaking a few common sense rules here. is there a way to utilize wordpress' bake in attachment file handling for an upload form within a theme template? yes, the front end -- i ...
3
votes
3answers
3k views

Can You Export Theme Settings From WordPress Multisite?

I do local WP development on a WordPress Multisite instance. What is the best way to move theme settings from there to the live instance? By theme settings I am talking about widgets and theme options....
3
votes
2answers
253 views

Localizing strings that come from outside of plugin?

Plugin queries remote API and under certain circumstances (mostly errors) displays textual messages from API responses. All messages in API responses are in English, but since they are more or less ...
0
votes
2answers
2k views

Internal Server Error only on frontend and certain admin pages

I'm experiencing an internal server error on a site, but only on the publicly facing site, and on certain pages in the admin section, including posts (/wp-admin/edit.php) and anything else accessing /...
0
votes
2answers
404 views

Can anyone clarify difference between archive-{posttype}.php, type-{posttype} and date.php?

I'm trying to get the custom archives per post-type working, but after a week of trying, searching and scratching head I still cannot get it working. I'm mainly talking about the {post-type}/{year} or ...
2
votes
1answer
6k views

WP 3.1 getting tax_query to work in query_posts()

I'm trying to filter my posts using multiple custom taxonomies for my custom posts with the following code, but I keep getting blanks with my new code i.e. no posts appear in the loop. It works like ...
2
votes
2answers
157 views

Is there a quick way to inject i18n domain into theme/plugin files?

I do have prepared theme files (with __(), and _e(), etc), but they lack domain argument. There are lots of such string scattered around the theme files, editing by hand seems to be a dreadful ...
0
votes
1answer
56 views

Suggestions to prepare a site which is 90% based on a plugin that's still on beta stage?

I want to make a forum site which uses the bbPress plugin for Wordpress (it turns Wordpress into a forum platform). The forums say that the beta plugin shouldn't be used in production. I want to get ...
5
votes
5answers
3k views

WordPress SLOW, tried everything!

I have read every wordpress solution and tried them all (at least most), but I CAN NOT get my site to run faster. I am using the couponpress theme, which is a coupon listing theme where users can list ...
3
votes
2answers
5k views

WP 3.1 - archive pages for custom content types possible now without a plugin?

I noticed that WP 3.1 supposedly has 'new CMS capabilities like archive pages for custom content types', however, I can't see that implemented yet? I've been using a plugin called 'Simple Custom Post ...
0
votes
1answer
2k views

Problem with shortcode inside a shortcode

I use this in my Functions.php file to format short codes for some jQuery UI tabs, however I also use a short tag to reference my video embeds, which breaks when they're inside the UI tabs. My ...
4
votes
3answers
15k views

Wordpress Vote Plugin - Vote Once and Track User

I've been looking through voting plugins and cannot seem to find one that works for me. I'm hoping you can help me out before I have to build my own as I'm tight on time. I have a page that will be ...
0
votes
1answer
527 views

Categories as selectable links on submission form

I have a submission form where users can submit posts on my site. I have three steps (3 form pages) and in the first one user selects the post category, clicks the submit button and moves on to the ...
0
votes
2answers
99 views

Switching Code plugins

I am currently using "Wordpress Code Snippet" to add functionality to my code i insert into my posts. The way this plugin works is that you add the code into the plugins library in the settings and ...
2
votes
1answer
1k views

show/hide toggle for subpages in wordpress admin area

We have a wordpress site using many subpages to each page - I'm looking to create a show/hide accordion toggle within the backend to show and hide subpages allowing us to keep the page listings clear. ...
1
vote
4answers
18k views

Better search for Wordpress admin backend [closed]

Is there better search functionality or a plugin for the admin area of posts or custom post types, I would like to be able to search custom fields and maybe some other advanced searches from the ...
0
votes
2answers
132 views

permalinks on title tag

Is it possible to have my custom permalink structure on title tag of my blog? my current permalink structure is this /%postname%/%location%/%mba_courses%/ where my location and mba_courses are custom ...
0
votes
1answer
189 views

WP plugin repository didn't parse readme.txt correctly

I just added a plugin on WP repository but it seems like my readme.txt wasn't parsed correctly. I even ran it through the validator but on the plugin page it shows Description text under all tabs - ...
9
votes
3answers
8k views

Function to execute when a post is moved to trash .

Hi is there an action which can be performed while a post is moved to trash .... I tried delete_post and deleted_post. It works but twice for each action ( before and after the action as written in ...
2
votes
3answers
2k views

Add parent template name to body class filter when visiting subpage or single post

how would I go about creating a filter for the body_class() tag that allows me to add the the parent pages slug name as a class to the body whenever visiting a subpage or post?
3
votes
2answers
4k views

Is there a way to disable the sticky posts feature?

I want to turn this off as I have a custom ordering process using custom fields.
0
votes
1answer
5k views

remove theme's name from dashboard .. How?

How are you every body how can remove name of theme in dashboard .. please .. You are using K2 RC-8 theme with 10 widgets. how can remove 'K2 RC-8 theme' .. please

15 30 50 per page