Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
298 views

Custom page template, not acting as page

I have defined several page templates on my site http://178.21.128.82/. When I set my pages to use one of these page templates, wordpress seems to stop treating it as a page: It is not accepted in ...
0
votes
4answers
1k views

Salesforce lead tracking with contact forms plugins [closed]

I am using Contact Form 7 on my website and would like to integrate Salesforce lead tracking with it. I was able to add a hidden field with my oid as suggested on this site But when I submit the ...
0
votes
1answer
547 views

Applying my own css classes in wp_menus 3?

Have this function : class my_walker extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { global $wp_query; $indent = ( $depth ) ? ...
1
vote
1answer
310 views

Custom WP_Query with no posts to output

I have created a custom WP_Query as seen below. The query works well except for when $favorites is empty. When $favorites is empty, the query still outputs posts, which I don´t want. It could seem ...
0
votes
1answer
308 views

Edit post image attributes on fly?

Greetings, We can edit image attributes with this get_image_tag filter when we are adding images or with regex and filter the_content,but is there any similar filter or action that can we use to edit ...
7
votes
5answers
14k views

Remove wrapping div and ul from output of wp_nav_menu

I am using the new menu system of Wordpress, and here is the result of wp_nav_menu() <div class="menu-main-menu-container"> <ul id="menu-main-menu" class="menu"> <li ...
1
vote
2answers
295 views

Outputting posts from post id´s in variable

I have a variable containing some post ID´s. I´d like to output the posts in that variable using the standard wordpress loop. How can I do that? Thanks! Added: <?php /* Template Name: Favorites ...
1
vote
1answer
2k views

Problem with using wp-load.php outside of WordPress

I'm trying to use wp-load.php in a page outside of wordpress so I can access all the functions in wordpress. Typically I just include the file like this require( ...
1
vote
1answer
4k views

Login form in popup

I'm using WP3 with the defaul theme. I would like people to register before submit a comment. What I'm trying to do is having a link instead of the comment form that says something like "Leave a ...
0
votes
3answers
1k views

Removing Unnecessary Text from Admin Menu without CSS

I am looking for a way to remove all the unessesary text from default worpdress metaboxes. Preferably I would like to ensure that the content is not just hidden through CSS but actually removed from ...
1
vote
3answers
384 views

Override database config for WordPress multiblog

Our team has run in to a problem working with wordpress 3 multiblog. We usually work with a local copy of the site (localhost/testsite) but with the same database to keep all changes up to date. ...
1
vote
3answers
1k views

Multiple RSS feeds scroller in one sidebar

How can i have multiple RSS feeds scroller in one sidebar. I want the RSS feeds of CNN, BBC, google news, USA today etc, all at the same time, is it possible to duplicate an RSS scrolling widget?
1
vote
1answer
97 views

WP Northwind for Theme Development?

Is there any tool online that can quickly populate a WordPress3 database with faux information to assist in theme development? Perhaps creating 8 categories, inserting a dozen or so posts into each, ...
1
vote
3answers
3k views

WordPress 3.0.1 on IIS 6 Web Server PermaLink Issues

I recently stumbled upon this blog on " Using IIRF URL Rewriting on IIS6 with WordPress" ( http://john-sheehan.com/blog/using-iirf-url-rewriting-on-iis6-with-wordpress/ ) by John Sheehan as I ...
0
votes
1answer
176 views

Specific colours for wordpress author ids

before I ask this question I would just like to say a big thank to those who helped with my other question. On some wordpress blogs I've seen, with multiple post authors. When you view the full post ...
1
vote
1answer
306 views

want to create a subcategory.php to manage subcats

is it possible to create a subcategory.php and use it to manage subcats. or is there a way to get around this. if it is not possible.. is there something like this <?php if(is_subcategory() || ...
0
votes
2answers
349 views

Google calendar in wordpress showing events

How can I have the google calendar in wordpress showing my events?
0
votes
1answer
284 views

Mobilepress fails to translate short codes

I launched mobile version of my site some days ago. It was looking fine. I used mobilepress for the same. But i found that shortcodes are being displayed as simple text. is there any other plugin to ...
3
votes
3answers
298 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
951 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
310 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
349 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
22
votes
4answers
9k 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 ...
4
votes
2answers
764 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
165 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
401 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
681 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 ...
5
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
559 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
84 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
4k 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
556 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
61 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
4k 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 ...
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
845 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
278 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
441 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
512 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
300 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
483 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
117k 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 ...