Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
187 views

In WordPress 3.x, I can't access posts from all blogs in the network

I use WordPress a ton, but I'm somewhat new to multisite. Now that 3.0 has brought multisite into the main core, shouldn't there be an easy loop function that allows you to display the most recent ...
2
votes
4answers
2k views

Extract & Display the REAL first image attached to a post - extend the_post_thumbnail()

I have an interesting problem which I am sure someone here can solve. I have gone through a bunch of different plugins and code snippets in search for the perfect code to extract a primary image to be ...
1
vote
1answer
2k views

How to fix the IE9/WordPress Twenty Ten Header Image Display Problem?

Just loaded IE9. Looks good. Impressive stats on what works on IE9. One thing that does not work. On any site that uses Twenty Ten, the default graphic is shifted to the right and is only partly ...
1
vote
4answers
840 views

How Can A Widget With Only One Instance Be Defined?

How can a widget which of which only one instance can be used?
0
votes
1answer
275 views

Trying to use .htaccess to redirect /profile to /login-2?action=profile

I have a plugin Theme My Login for WordPress 3.0.1 which causes my user's profile pages to be here: domain.com/login-2?action=profile instead of here: domain.com/profile So I am trying to fix it ...
1
vote
2answers
3k views

how to load the language file in plugin?

I'm unable to load the plugin's locale file (.mo). I did all the procedues described in the http://codex.wordpress.org/Writing_a_Plugin but its not working. If I the lang string to the wordpress ...
0
votes
3answers
440 views

updated permalink structure on localhost does not work

I have a fresh localhost install and when i change the permalink structure from the default to any other structure the links break. I have created new post under the new structure and it doesnt work. ...
1
vote
1answer
7k views

Password protected photo galleries

What is the best way to password protect individual photo galleries so individual users can log in and view their user specific photo gallery?
9
votes
3answers
8k views

Validating Custom Meta Box Values & Required Fields

Something which I have never seen covered is the best way to validate that specific form fields are filled out correctly for custom post type meta boxes. I am looking to get expert opinions on how ...
12
votes
3answers
3k views

What Is The Use Of map_meta_cap Filter?

What is the use of map_meta_cap filter? This filter is not documented anywhere. I have an unclear idea of what it could be: Used to map the permissions of the user to operations on posts. What ...
4
votes
1answer
436 views

What specific database privileges does WordPress need?

I want to create a new database user for my WordPress installation. Usually on localhost, i can just use root, but it is good practice to use a user with as little rights as possible. What are those ...
1
vote
1answer
511 views

Widget Javascript code (ajax)

I have a widget like this: class test_widget extends WP_Widget{ function test_widget(){ $widget_ops = array('description' => 'test widget'); $this->WP_Widget(false, 'Test', ...
1
vote
1answer
299 views

How did I enable atom feeds in a fresh WP3 install?

I've just install Wordpress 3, and I can't figure out how to put an atom link in the sidebar, under (or otherwise near) the RSS links. I looked at sidebar.php, but it simply references a meta ...
1
vote
1answer
476 views

Are there any 'Coming Soon' themes for Wordpress 3.0?

I have a website I am starting to build on Wordpress, but I want a placeholder theme to put up while I develop the theme. I had some links to some good "Coming Soon" themes for 2.X, but I lost them. ...
237
votes
108answers
114k views

Best Collection of Code for your functions.php file [closed]

Please vote on the question and any answers you find useful by clicking on the UP arrow on the left hand side of the question or answer. As with many others who are now viewing this post, I have been ...
1
vote
2answers
999 views

Creating a searchable A-Z listing of hundreds of companies/services

I am about to create a webbased guide. A guide that will list numerous of companies - their services, contact information and so on. And I need help coding this! I am using Genesis News Child Theme ...
81
votes
10answers
28k views

Steps to Take to Hide the Fact a Site is Using WordPress?

I have a website for which we are trying to be discreet about the fact that we are using WordPress. What steps can we take to make it less obvious?
3
votes
1answer
212 views

Editing the Number at the end of Page URLs / Editing Page Slugs

I am playing around with wordpress and a few plugins. Say I have something called "Shopping Cart" and I delete the page. Then I recreate it, I can't have the old URL back. I get ...
3
votes
1answer
976 views

Any Hook Called When Post Becomes Published?

Posts may be published either immediately or in the future. Suppose a plug-in wants to do something at the moment when the post becomes published and visible on the blog (I don't mean when the post ...
1
vote
1answer
258 views

Recommendations for books/resource to get started with wordpress 3 development (plugins/themes) [closed]

i am looking for learning resources to get started with wordpress 3 (i'd like to learn the latest) plugin/theme development. i also looked at Recommendations for an In-Depth WordPress Book? i am ...
0
votes
1answer
94 views

window resizing problem

I have been working on a plugin of wordpress, in which i save the last reading position, the width and height of the browser at the time of closing the browser, I save the width and height with jquery ...
2
votes
2answers
463 views

No option to add a 'featured image' in my wordpress installation

Hay, I've installed WordPress 3 on my server, and duplicated the stock theme and made some amends to it. However, when i add a post, i don't see an option to add a 'featured image'. Has this featured ...
2
votes
1answer
1k views

How to Set up a Multisite WordPress?

I would like to build a multi-site WordPress in which users can make accounts for their website but I'm not sure how I can actually achieve this. What is the best way to create a WordPress multi-site? ...
2
votes
1answer
253 views

What Is The Difference Between suppress_errors() And hide_errors() in $wpdb?

What is the difference between the suppress_errors() function and the hide_errors() functionin wpdb class? What is the use of each function?
1
vote
1answer
552 views

Multisite on Rackspace Cloud (ubuntu lucid)

First post in this astonishing exchange. Glad to be here. I've installed WP3 on Rackspace Cloud, under an Ubuntu Lucid installation, properly configured all the multisite dependancies, network blogs ...
3
votes
2answers
10k views

Disable Specific Widgets on Selected Pages of a WordPress Website?

I would like to give a CMS look to some of my pages. I want to customize them by removing the default widgets and adding other widgets as my wish (I will use plugins like My Custom Widget to add ...
42
votes
7answers
21k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
4
votes
3answers
771 views

What are the ways to use WordPress as a user generated content site

What are the methods to create a user-generated-content website? I know each has his own favorite way to do that, please elaborate on your own method, how to implement it and the pros/cons. (This is ...
3
votes
2answers
5k views

Adding Custom Fields to WordPress Comment Forms?

What is the best way to add custom fields to a WordPress comment form? (for example subject, image, etc...) And how do I use the data entered afterwards...
6
votes
3answers
1k views

Making Custom Fields Standard in the Admin UI

I've added a few different custom_post_types to my Wordpress 3 installation. They are all a bit different from eachother, and should store unique information in custom_fields. But while one may store ...
1
vote
1answer
481 views

Multi-Site Plugin Activated (Not Network-Activated), What Happens?

Hey guys. I am working on a plugin and I am trying to figure out all of the possible scenarios in which the plugin can be used. I am aware of the new Multi-Site feature. If the plugin is network ...
1
vote
2answers
3k views

How to edit theme functions file to modify pagination?

By default, when adding <!--nextpage-->, the following links are displayed: Pages: 1 2 I need to replace "Pages:" with a graphic arrow which links back to the previous page, and append a ...
0
votes
5answers
591 views

How to insert a writing panel between the title and the page content?

I want a writing panel for a custom field called 'Sub-title' and would like it to appear in its logical place in the Page editor (that is, between the title and the Page content). Is that possible? ...
0
votes
1answer
162 views

How do I fix unexpected redirection of visitors after enabling multisite on WP3?

After enabling SuperAdmin and multisite functionality in WP3 many users are getting redirected to a sign-up url. I do not have account sign-up enabled, how do I turn this off? It seems to happen ...
1
vote
2answers
609 views

Suggestions for Implementing a Wedding Website in WordPress?

A would like to create a website in WordPress that allows user to create wedding websites. What suggestions can you give me on how to implement it?
0
votes
1answer
197 views

WordPress Install Issue, Receive Warnings But Successful Install

I get the following warning on my installation. It installs successfully but I'm not sure whether or not these issues are vital to my blog. I'm using IIS, anyone know why I'm having these issues and ...
4
votes
1answer
5k views

Customizing the Subject Field in WordPress' Notification Emails?

Can I customize and edit the subject field in the "Password Reset" notification mails sent from our multisite blogs? I have tried some plugins like My brand login and white label CMS etc. But I can't ...
4
votes
1answer
169 views

Splitting an Evolving Site into Multiple Sites, or Maintaining as One Site?

To Separate or Not to Separate...That is the Question? I currently have what I believe is a mistake in my site architecture. I initially built my two lines of business into the same site. ...
5
votes
2answers
1k views

Scaling a WP eCommerce site

Related to this question. Any recommendation on tools, plugins for optimizing a large eCommerce site on WP. Currently hitting 1000 items and 5000 more items coming. It seems the optimizations would ...
0
votes
2answers
384 views

Error upgrading from 2.9.2 to 3.0.1

I have my wordpress install under svn. I was on version 2.9.2. These were the steps I took: saved a copy of my current wordpress directory cd into my top level wordpress directory svn up (just to ...
2
votes
1answer
213 views

Stopping People Viewing Draft Posts

At any one time I have a number of blog articles that are in draft. Generally, if I encounter something useful, I'll note it in a draft blog entry, to revisit, research and write up at a later date. ...
1
vote
2answers
811 views

Why do posts disappear from admin after upgrading from WP 2.7.1 to 3.0.1?

After upgrading from WP 2.7.1 to 3.0.1, many of my posts are not showing in the admin section. I have almost 30 posts, but they're not showing on the post admin page. I created a mirror so I have a ...
2
votes
1answer
131 views

Using transients to store captchas

I was just wondering if something like this would work: The page displays a form, with a captcha code inside it. When this form is generated, a transient is set to store the captcha code. The vistor ...
1
vote
3answers
5k views

A Simple CRM Plugin for WordPress?

I want a simple CRM in WordPress.com, any suggestions as how to do? Which plugins to use?? How to start and implement?
0
votes
5answers
338 views

When I try to de-activate any plugin it gives error “Warning: call_user_func_array() [function.call-user-func-array]”

When I try to de-activate any plugin it gives error. How to solve this? Plugin is getting de-activated but on clicking button "Deactivate" I get this error. Warning: call_user_func_array() ...
5
votes
3answers
2k views

Decreasing the Memory Consumption of a WordPress Site?

The test site requires a lot of memory when viewing some category/archive pages. I met with the following error messages yesterday: Fatal error: Allowed memory size of 33554432 bytes exhausted ...
4
votes
2answers
2k views

How can I get posts in a subcategory to display on it's parent categories archive page?

Currently when you display an archive category page, it only displays it for the main parent, and doesn't display any of the posts that may be in the subcategories under it's parent. How can I alter ...
0
votes
1answer
155 views

how or where wordress collect unlogged user session

i see the pattern in some theme where we can collect session of unlogged user. for example, in a comment form: After user commenting, user can see that the their comment is waiting for a moderation. ...
0
votes
3answers
270 views

What is the best way to move a single site from one MS installation to another? [duplicate]

Possible Duplicate: Easily Move a WordPress Install from Development to Production? I have a dev, staging and production installation of WP MS. And I am trying to figure out what is the ...
1
vote
1answer
190 views

Does any one have Idea to get these functionalities with the plugin wp-multi-network

I am using the plugin wp-multi-network(http://wordpress.org/extend/plugins/wp-multi-network/) to maintain child networks under multi site.Using this I can create child networks.But I can’t set sign up ...