Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (17)

3
votes
3answers
324 views

How to create a page that isn't accessible via menus?

I need to create a page in my site that I am able to access via url, but that won't be included in any of the navigation menus which are generated using wp_list_pages() on my site. How can I ...
4
votes
2answers
1k views

Advice for implementing single sign-on?

Our organization is using Google Apps (standard edition) and we've just implemented a WP site. I'd love any input on anyone who's used implemented Google Apps (in the last month or so) as the service ...
6
votes
4answers
315 views

Seamless integration between WordPress and BBpress

I have a WordPress site at domain.com and a BBPress install at domain.com/subfolder the wp site has a menu item that goes to the forums, and I'd like the header to be the same between the two, so that ...
2
votes
1answer
384 views

How do I add Post Like and Bookmark Functionality to my WordPress Site?

on a wordpress site, I'd like visitors to be able to "like" or "save" posts, so that they have a personalized page with all the posts they liked. how could that be achieved? thanks
25
votes
4answers
10k views

Database synchronization between dev/staging and production

I have a problem with WP database synchronization between development and production and I am wondering how other people solving it. I am aware about this question but it doesn't really cover the ...
5
votes
2answers
768 views

Any official way to create an admin theme?

I was wondering whether there's a common way of customising the aspect of the admin panel. I know you can play with the css and js files but what I was looking for is some kind of "admin theme" like ...
2
votes
2answers
170 views

How do I read the value of a custom field of the page?

When creating custom page templates, how do I get the value of a custom field of the displayed page?
2
votes
2answers
406 views

Importing media medium setting image gallery / image attachments

I have recently imported an image gallery to a clean WP install as I am deploying the site to a live domain. I have imported the posts but the images use the medium size for attachements. I would ...
1
vote
3answers
760 views

Many users with strange names register, but don't leave comments. Should I be afraid?

Many users with strange names, register on my blog, but don't leave comments. Should I be afraid, that this might be attack of some sort. Maybe someone found some sort of bug in Wordpress which allows ...
6
votes
4answers
3k views

Removing Metabox for “Slug” without removing functionality

Here is an interesting question. I have recently noticed that if you utilize the code remove_meta_box('slugdiv', 'post', 'normal'); you are actually unable to modify the slug when you click on ...
5
votes
1answer
607 views

How to get current_cat in navbar, in single post

In a site I have using Wordpress 3.0, when I'm in a single post, the navbar showing the categories doesn't give the parent category the class of "current_cat" and therefore that category is not ...
2
votes
1answer
86 views

How to get last_updated and newest_blogs in WP 3.0

We were using WPMU version 2.9.1, in which we had a plugin - Fimii WPMU Stats mu-plugin - that showed us last updated blogs, and newest blogs. We now upgraded to Wodpress 3.0, and the commands for the ...
0
votes
1answer
5k views

Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]

I need a plugin which can do horizontal scrolling of RSS feeds in wordpress, I have got a vertical scrolling RSS feeds but cannot find a horizontal one
-2
votes
2answers
586 views

I need a plugin in wordpress like google tasks [closed]

I need a plugin like google tasks, in which we can add in to do tasks on the wordpress page
0
votes
1answer
63 views

Is there any way to modify images from a theme using the web interface?

Is there any way to modify images from a theme using the Wordpress web interface?
6
votes
7answers
5k views

WordPress Plug-in Development In MVC Architecture, How?

I think, the wordpress plug-in architecture is not MVC. So I want to use/do the MVC architecture in WordPress plug-in development (like cakephp, codeIgniter ). How can I use them in plguin development....
0
votes
1answer
1k views

How can I resolve a .htaccess internal server error setting up a WordPress multisite?

I am stuck in .htaccess file creation for multisite. I am getting an error in page now internal error 500 and when i checked my log in apache it says C:/www/vhosts/localhost/wordpress3/.htaccess: ...
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
963 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
280 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
4k 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
455 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
8k 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?
14
votes
5answers
10k 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 ...
14
votes
3answers
4k 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
465 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
541 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
301 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 'widget'...
1
vote
1answer
541 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. ...
266
votes
108answers
133k 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
1k 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 ...
101
votes
12answers
38k 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
226 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 domain.com/shopping-...
3
votes
1answer
1k 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
297 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
98 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
470 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
324 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
578 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
3answers
12k 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 ...
56
votes
7answers
34k 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
800 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
6k 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
488 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
4k 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
603 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? ...