Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (15)

0
votes
1answer
549 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
264 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
279 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
280 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
214 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
3k 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
2k 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
313 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
415 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
159 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
33 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
314 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
2k 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
208 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
900 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
506 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? ...
4
votes
2answers
3k 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
279 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
1k 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
107 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
111 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
2k 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
292 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
1k 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 ...
16
votes
4answers
15k 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
923 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
244 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 ...
8
votes
2answers
6k 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
3answers
371 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 ...
0
votes
1answer
270 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 ...
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 ...
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 ...
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
678 views

Home page is getting current-menu-item even if it's not home

After upgrading to 3.1 I am seeing this issue. I use custom post types and when you click on the menu items either Games, Entertainment or Tech it gets the class current-menu-item but home link still ...
0
votes
3answers
1k views

How can I make my posts on my home page just show summaries?

My home page lists all my recent posts, however it displays each post in its entirety. Is there any way I can force it to just show a preview, such as the first 10 lines? This would enable views to ...
0
votes
1answer
717 views

Weird jquery problem when upgrade to Wordpress 3.1

After installed Wordpress 3.1, a jquery plugin selectbox i'm using not work 100 percent any more I use this plugin in wordpress backend to replace my <select></select> with custom html ...
5
votes
2answers
19k views

How to add Disqus comment count

I must be blind but I can't find for the life of me the full instructions for getting Disqus comment count to work. All I want displayed is just the comment count number. I've checked the "Output ...
0
votes
1answer
566 views

Different profile page by role

I'm trying to set it so that when you view somebody's profile page you see a different template based on their role. So, everybody gets a regular "profile" page but if your also a author you also get ...
1
vote
1answer
238 views

WP 3.1 upgrade breaks AutoFocus+ theme

I run WP for my photoblog ShutterScape using the awesome theme AutoFocus+. Recently, I upgraded to 3.1 and now, it refuses to show the featured images in the individual post pages. I am suspecting a ...
0
votes
1answer
492 views

Search results with custom loop don't update when paged

I have the following code in my search results page to split up posts per category. When I go to the 2nd page of pagination, the results are exactly the same as the first. I'm assuming $paged has to ...
2
votes
3answers
4k views

Using Shortcodes in WP-Menus in WP 3.1 (via nav_menu_objects)?

I've found this new plugin http://wpsmith.net/wordpress/creating-multiple-custom-menus-in-wordpress-3-1 that is using a new 3.1 hook (wp_nav_menu_objects) to remove specific nav-menu-items from the ...