Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
764 views

How can I disable the update notice for non-administrators?

As I already told, I'm setting up a Blog for a friend. Next to not being him an administrator but an editor that can make changes to theme options) I have an additional question. I don't want him to ...
0
votes
1answer
149 views

How to do multi site setup

A client wants to set up a multi site with tabs looking like this: | Home | About | Broker | Resources On the main site (meaning www.site.com), the links will be www.site.com/home, ...
1
vote
1answer
774 views

wp_nav_menu google analytics event tracking

I've got a WP3 custom menu, with a custom link in the menu, How can I add google analytics event tracking to that custom link. Thanks Alex
1
vote
3answers
1k views

How to add classes in the wp_list_category parent link

How do I add classes in the wp_list_category , I know the wp_list_categories('title_li='); generates classes , but I want to add a class in the parent category link <ul> <li><a ...
0
votes
1answer
536 views

Calling a php file from a javascript file in wordpress

I have a simple pop up form code written in javascript. It is in js/script.js folder inside themes folder. I am using jquery ajax method to communicate with a php file to store data in db. The php ...
4
votes
3answers
8k views

wp_nav_menu remove class and id from li

I'm new to wordpress and trying to learn my way through from making a theme. Right now I am using wp_nav_menu to generate my menu My menu consists of pages and categories However, the default ...
0
votes
2answers
137 views

Instant install of wordpress

I just think about that... maybe it exist...you will tell me... Wordpressis a beautifull software, and the thing i like the most, is the instant install of the theme and plugin... So i though, why ...
1
vote
2answers
2k views

Adding Variables to post query

How do I add custom variables to the wordpress query without having to hit the database twice. In the example below I want to add some meta filters. All this code works fine but I have been running ...
-1
votes
2answers
288 views

How customizable is a self-hosted WordPress blog compared to a Blogger blog?

I currently have a Blogspot blog and I'm thinking of making the leap to a self-hosted WordPress one instead. Everything I've seems to suggest this is the best way to go for the best possible ...
0
votes
1answer
194 views

Where is this query?

This query given below appears alot in my slow-query log. Can someone please tell me where can I find this query ? that will help me try to modify it SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM ...
0
votes
1answer
181 views

Custom taxonomy admin description

Is it possible to add a short description to a custom taxonomy's admin area? For example, I've added a taxonomy that determines what kind of banners are displayed on a post's page. In the meta box ...
3
votes
1answer
536 views

Post format selector in Thematic child theme post class

I'm having a very hard time implementing post formats in my Thematic child theme. I am able to add post format theme support and add content via the big conditional statement, but the .format-video, ...
0
votes
1answer
485 views

Document.body.scrollTop in Wordpress

I have a script that loads jQuery when an element comes into the viewport, as discovered by Javascript (without a library), and it looks like this: viewport.js: var height = 0; if( typeof( ...
0
votes
1answer
258 views

Making jQuery-based galleries with Wordpress without a plugin?

I've been racking my brains for the best way to create a simple gallery in Wordpress without relying on a plugin like NextGen gallery, and was thinking a shortcode would be a good way combined with ...
0
votes
1answer
276 views

WordPress - using sessions?

http://diovo.com/2009/10/using-sessions-in-wordpress/ This is working on one blog,but not on other,what could be the problem? How to find what is a problem? Tnx in advance
1
vote
1answer
268 views

File available but giving 404 in wordpress

Hey, im not sure why but php files other then wordpress either redirects to homepage or gives a 404. for example i have a timthumb.php in directory /js/ it was working fine and generating ...
0
votes
1answer
210 views

Wordpress FLIR (Facelift Image Replacement) plugin clipping off end of text

I'm using the FLIR for Wordpress plugin (v0.8.9.2) with FancyFonts enabled. I'm running Wordpress 3.1. The problem I'm having is that it appears the plugin is cutting off a couple pixels off of the ...
1
vote
3answers
2k views

How to display post title & excerpt when mouse hovers on an image?

I am bit busy with developing one fashion website, currently (http://test-domain.zakirsajib.co.uk/), where I have images come from posts and when mouse will hover on any image, the corresponding post ...
3
votes
3answers
2k views

Wordpress hook before inserting post into database

I need to do check the inserted post for certain keywords and perform some functions depending on the keywords found. is there a wordpress hook that executes "just before the post is inserted into ...
0
votes
1answer
1k views

Get_the_terms restrict output

I have a custom post type Holiday associated with a taxonomy Country. On my single-holiday.php, I use the taxonomy to display in the title. For example Holiday in Spain (Spain being the tax) Rarely, ...
1
vote
2answers
106 views

Copyright messages for a particular set of pages

I have created some pages (not post) in wordpress related to my college notes. I would like to display a copyright message of the college on this pages, but I don't want do this manually every ...
1
vote
1answer
303 views

Wordpress slugs and 404 handling takes preference over folders in site root?

I have wordpress installed and permalink structure set to /%postname%/ In addition to WordPress folders, I also have a public_html/beta folder where I wanted to copy the same site and test some ...
0
votes
2answers
380 views

List top 5 authors with most posts

How are you? I have a blog which have 20 authors. I want to write code to show the 5 author who have more posts. like this: Adam (10 Posts) Khal (8 Posts) Yous (5 Posts) Moha (3 Posts) Yousef (1 ...
0
votes
1answer
155 views

Not Found when using activity stream as front page with BuddyPress

I'm trying to create a Thematic child theme that uses BuddyPress. First, I tried using BuddyMatic -- which currently doesn't work with WP3. Next, I tried the BuddyPress compatibility pack -- which ...
0
votes
1answer
32 views

Is there a (preferable built-in) way to check what custom queries are used in a theme?

I've build a theme using custom post-types with queries like $my_custom_post_type_query = new WP_Query( array( 'my_arg' => 'value' )); Now I'm writing a plugin where I need to do something like ...
0
votes
1answer
311 views

WP 3.1 custom post type permlinks

I know there is alot of discussion about the CPT and permlinks together with the 404. I did not found a solution though I am close. It would be great if someone could assist me to get it working. Ok ...
0
votes
1answer
1k views

Multisite subdomain-site redirects to primary site

So, here's the deal. I got one WP Multisite installed with 1 subsite. Im running the whole thing in subdomain "mode". I did the whole DNS-pointer (A *.domain.se) to the correct IP. Now the problem, ...
1
vote
4answers
1k views

WordPress multisite installation broke menu links

I am using the Thesis theme with my WordPress multisite installation. I also changed the permalink settings from the Super Admin settings to remove /blog/ from the path. But now my menu links are ...
0
votes
2answers
205 views

custom post data - how to

We're setting up a site to showcase a series of archival recordings. We have the custom post types sorted out thanks to all the help from this site (many, many thanks): add_action( 'init', ...
0
votes
2answers
720 views

Is there any Wordpress alternative to Book module of Drupal?

Wordpress can be used as CMS. So, I think I can switch from Drupal to Wordpress. I'm looking for a book module alternative for creating structured document. If you don't know about Book module of ...
1
vote
1answer
475 views

WordPress Multisite domain mapping with different IPs

Hey there, I have 5 different sites with 5 different IP's on cyberwurx shared account. How can I install wordpress multisite and use the domain mapping plugin and also keep my sites on different IP's? ...
3
votes
2answers
2k views

can I orderby one custom field and meta_query another in the same query

I have a custom query and I am filtering out events by custom field: event-month. I simple filter our the events that dont have a month_number = to date("n"); Its a pretty great little query, but I ...
2
votes
2answers
269 views

Is it ok to not a have child theme and just create a theme from scratch?

I would like to know if creating a Wordpress theme from scratch is good? because I know the template tags in wordpress and other tags ... ...but Will I get any future problems in here when it comes ...
2
votes
1answer
909 views

Can I apply a WP theme to a specific custom page template?

One section of my website is going to be completely different visually than the rest of the pages, is there a way to apply a WP Theme to specific page templates ?
1
vote
2answers
1k views

How to allow visitors to enter custom post type?

I wanted to use a custom post type to create a "share your story" type of feature. People would fill in the text boxes and "share their story". This would then be automatically posted on to a stories ...
0
votes
1answer
106 views

Wordpress 3.1 update has reversed my blog posts

anyone know why my blog posts are now all showing up in reverse order since updating to wordpress 3.1? So like my first ever post is showing up first and my latest post is on page 12?! any ideas how ...
0
votes
1answer
109 views

What is theme-editor.tmp?

What is theme-editor.tmp? It is located under wp-content.
2
votes
1answer
2k views

Custom post type permalinks breaking due to 3.1 bug fix

So I just updated a site to 3.1 that uses several custom post types. When I had made the site I had not noticed at the time the $post_type parameter for register_post_type has to be in all lowercase ...
0
votes
1answer
85 views

Wordpress Command Question

Ok would like to learn how to run commands through WP rather than SQL commands So I have created a text file named delete-non-authors.php to delete authors with no posts Do I need to add this to a ...
0
votes
2answers
1k views

Multiple Category Query

Is it possible to display a wordpress category page but have it pull posts from mulitple categories? For example, let's say I need to pass in params for cat_id in this fashion ...
0
votes
1answer
253 views

Adding extra info via GET while registeration in wordpress

i am trying to make a little referral sort of system for my site. so for that i settuped an extra parameter in the registeration url as : ...
2
votes
3answers
926 views

Community and User Generated Content Website: Have been thinking about Drupal but leaning on Wordpress heavily

I'm a non-programmer and run a food website (plain - jane Dreamweaver) along with a simple Wordpress powered blog. I envisioned creating a food website that is both user powered (one can submit ...
12
votes
4answers
9k views

what is the correct way to compare dates in a WP query_posts meta_query

I have a query_posts call in a WP template. Through the use of the More Fields Plugin I can give the site admin the ability to create an event (custom post type) and then enter a date which is ...
0
votes
2answers
876 views

Wordpress noob, assign custom stylesheet using @import or if? Didn't work for me

I'm trying to import independent stylesheets for the blog page, gallery page and the contact page but I'm having some trouble getting this to work. <link rel="stylesheet" type="text/css" ...
0
votes
2answers
232 views

getting a 404 page for all pages except home. possibly permalinks

I can switch to default and everything works, but once permalinks is set i get the 404. The thing is I've been using permalinks for years without problems. I can't find what went wrong as I had not ...
0
votes
3answers
2k views

Add google org chart to wordpress page

How do I display this page in a Wordpress site? What do i need to add or remove? This is for a static page not a blog post. (FYI: I want to use this to display a family tree on my website). I'm a ...
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 ...
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' ...
1
vote
2answers
284 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 ...
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 ...