Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

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
714 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
16k 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
533 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
422 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 ...
0
votes
2answers
2k views

WordPress 3.1 and Disqus throws Warning: number_format() error in Posts List

After upgrading to WordPress 3.1, the comment count for each post in the Posts list now shows the PHP error Warning: number_format() expects parameter 1 to be double, string given in ...
0
votes
1answer
368 views

Wordpress 3.1 makes my drop down menu dissapear, jquery dont work

Please help, After i upgrade to WP 3.1 just now, all my site menus not working, no drop down menu, and the jquery countdown not working. please help me.
0
votes
1answer
757 views

Ordering Submenu Pages in WP 3.1

I just recently upgraded to WordPress 3.1 a few moments ago. However, I noticed that when you have Post Types show up under a *main* menu page, it overrides the link fo th menu link. Here's my ...
0
votes
2answers
849 views

Conflict between wp_list_pages and get_posts - list pages not displaying

This has only been a problem since I updated to Wordpress 3.1 I have a page that displays a list of custom post types. The page is the child of a parent page. There is a sidebar that lists sibling ...
0
votes
1answer
1k views

The new WordPress 3.1 “Admin Menu” isn't appearing on my site or in the Dashboard

WordPress 3.1 added the Admin Bar feature, similar to the one used in WordPress.com websites, which appears on both the website and Dashboard for logged in users (if enabled in your User settings). ...
2
votes
2answers
3k views

How to fix broken upgrade to 3.1

As soon as i saw the message on WPSE about the 3.1 release i immediately went a did a switch on my local installation(SVN switch). Only issue is the wp-settings.php is trying to include a ...
2
votes
1answer
877 views

Multiple plugins using the same OAuth class issues

I just updated a plugin that needed to be updated. The issue is they added support for OAuth, the problem this plugin and another are using the same OAuth classes. Is there a easy way to fix this? ...
1
vote
1answer
171 views

show the meta values to visitors that collected via coment form

in stackoverflow (here) there is a solution for collecting extra information from visitors, and i want to ask that, is it possible to show the collected information to other visitors in his/her ...
3
votes
4answers
19k views

Custom Post Types on Category Pages

I'm working with a custom post type that uses the normal WordPress categories. I am able to modify my category template to display my custom post types exactly how I want them. The problem is, once ...
0
votes
1answer
137 views

Restrict Viewing of post on both front and backend?

Any ideas to restrict viewing of posts to post author only? The twist: Restrict both back AND frontend. I'd like to avoid the role scoper plugin. Example: The author creates a post, and can now ...
0
votes
1answer
76 views

kitchen sink not working

seems the kitchen sink, and sidebar show/hide links, are not working. i have upgraded to latest release with no such luck in fixing problem. Any help would be greatly appreciated.
3
votes
1answer
262 views

Custom Taxonomy-specific JavaScript

I'm looking to add some scripts and styles to particular taxonomy page. For example, I want to have a banner rotator only appear for posts that fall under the "issue" custom taxonomy. I've tried ...
2
votes
2answers
2k views

How do I create a featured post within a custom post type?

Do I do this exactly the same way as I would with normal posts? I use a $featured_cat global variable and pull that out. Should I do the same here? Or should I use an associated custom taxonomy? Or ...
0
votes
2answers
1k views

Custom content plugin for front page in wordpress

Is there any plugin available which I can use to post custom content on My front page?? I am using front page which has link to other blog pages. I want to put custom content on this front page but i ...
0
votes
2answers
186 views

Function Reference Documenting Template Tags for use in Custom Theme Templates?

(Moderators Note: Original title was "custom template / wordpress functions?") I'd like to use a modified WordPress theme template and was wondering where I can find a reference for the .PHP ...
2
votes
1answer
2k views

How to create thumbnails with a fixed width, so all of them will have the same width?

right now, a thumbnail will be either 150px in height or in width, depending if it's landscape or portrait. Is there a way to make them always the same width and scale them in height accordingly, ...
0
votes
2answers
579 views

Problem with activate theme

I have download a wordpress theme from http://wordpress.org/extend/themes/citizen-kane When I am trying to activate it gives somthing like in the locationDashboard->Appearence->Themes Broken ...
1
vote
2answers
558 views

Twentyten Child Theme: header images display messed up in admin panel

WordPress v 3.0.4 multisite-network enabled, local installation w MAMP 1.9.4, PHP 5.3.2, Theme: Twentyten child TWO PROBLEMS: 1) Display of header image thumbnails in admin panel and 2) path to ...
2
votes
1answer
180 views

Why is my custom loop not filtering correctly nor paginating?

Hopefully someone can help me with this as I've been struggling for a few days. I've built a form on a page that lets users filter Events by custom taxonomies Type, Period and Duration. These are ...
1
vote
1answer
135 views

Is Using WordPress Supplied WYSIWYG Advisable?

I have been considering using the the_editor function to create WYSIWYG editors in my own pages. Is using the WordPress's inbuilt WYSIWYG editor in a plugin meant for general distribution advisable? ...
1
vote
1answer
3k views

How to add a select menu to this metabox code?

I'm using a metabox script that works great for having absolute control over the design and placement of the metabox fields. There is one problem: I can't remember where I found the script and need to ...
0
votes
1answer
921 views

Hide page title in Wordpress 3.0

I can't find the option to hide the page title. Is there some other plugin required to get this functionality? If you look in this video video you can see the option to set the page title. I don't ...
1
vote
3answers
2k views

How to retrieve the value stored in a multi-dimensional array and SUM the entries?

I'm trying to retrieve multidimensional values stored in user_meta where the meta key is my_posts and the meta_value is a:3:{i:0;s:2:"23";i:1;s:2:"20";i:2;s:1:"9";} Somewhere in the admin page ...
0
votes
1answer
408 views

Custom Page Template [closed]

Could somebody help me make a custom page template? I'd like to have a basic page (with sidebars, header and footers) and a table for data. I'd like the data to be taken from custom fields. ...
0
votes
1answer
307 views

Wordpress menu: How to make www.link.com/#name never contain current_page_item class?

I am using the wordpress menus on a website, but the problem is that one of the links on that menu is www.homepage.com/#order So, when I am on the homepage, both "home" and "order" links on the menu ...
0
votes
2answers
103 views

I want to print a message in post “ After one month from publish date”

I need to showing message in post , but after one month from publish date. I try to make it before ask you, but I can't this is my code $publish_date = $post->post_date_gmt; ...
3
votes
3answers
818 views

WordPress Multi Site Best Practice

This question is mainly to get some clarification on best practice for setting up a WordPress Multi-Site. As I have not done this before. I have outlined the scenario below. All help is greatly ...
1
vote
1answer
626 views

Correct way to use a form to to filter custom posts by taxonomy terms?

This is a continuation of this post. I've built my form and managed to get the correct taxonomy terms listed as a dropdown, but I'm wondering what action I should be using in my form and how I can ...
1
vote
2answers
175 views

How to customize admin posts based on the user who is logged in

We are building a site that will have 10-15 photographers posting content. There will be a common blog + each admin has their own portfolio to manage. "Portfolio galleries" and "portfolio pages" are ...
2
votes
1answer
778 views

Get the post children count of a post

Is there a fast way to get the count (number) of post children of a certain post? (The post has a custom post type) I don't want to use WP_Query for this because I don't need all the extra data... ...
0
votes
2answers
873 views

404 Error on form submission within custom post type

I'm trying to create a forum system using WP's custom post types - two post types as Topic/Reply and a Forum taxonomy. I have created a singular template for the topic post type, in which I added a ...
4
votes
7answers
3k views

is_plugin_active function doesn't exist

I'm using WordPress 3.0.5 and have tested with 3.1rc4. In the main PHP file of my plugin, when I try to call is_plugin_active I get Call to undefined function is_plugin_active(). I can call add_action ...
0
votes
3answers
814 views

How to find if a post with custom_field == X exists?

I need to find if a post with a custom field X equal to Y exists in a wordpress installation. Should I do it with a simple sql query or is there something build in that can help me achieve it?
0
votes
1answer
824 views

Troubles about insering a POST with a SQL query, post_status

I 'm using wordpress 3.0.5 I have to use sql for create post, here is my SQL query: $req = $bdd->prepare('INSERT INTO wp_posts ...
1
vote
2answers
819 views

How to add custom template tag in wordpress theme?

I am working on a WordPress site, it's an online newspaper site. The theme I am developing, I want to add custom template functions like get_footer() or get_header(), so that I can save those HTML ...
0
votes
2answers
830 views

Post from front-end only by logged in users, form posts as “posted by: <logged-in user's username>”

I've handrolled a form for posting from the front-end, with some custom functions that I needed. However, I've made the form only accessible when a user is logged in, and I'd like to have the articles ...
1
vote
1answer
425 views

Follow me for wordpress blogs (multi-authors)

If we have a blog with multi-authors is there a way for each to have a follow me twitter button separated. Meaning when we see the post of an author we see only the twitter button with the author ...
0
votes
2answers
586 views

Get Terms for Page

I'm trying to retrieve the terms of a page's custom taxonomy. When I'm in a post this works just fine: $args=array('orderby' => 'none'); $terms = wp_get_post_terms( $post->ID , ...
0
votes
1answer
306 views

How to customize feed?

I'm trying to customize a WordPress feed. I know that if I modify wp-includes/feed-rss2.php, the feed is modified. But I don't want to modify this file, as it might get overwritten during an upgrade. ...
0
votes
2answers
997 views

WP Plugin for Terms of Use

Looking for a plugin to ensure that casual (NOT logged in) users of my site will agree to the Terms of use. That is, first time they try to access ANY page on site, display terms and prompt for ...
0
votes
2answers
171 views

What happens to the mu-plugins folder when you upgrade to Wordpress 3?

I am about to press the "upgrade" button in my Wordpress MU 2.8 install. What is going to happen to the mu-plugins folder? And is there an equivalent way for me to automatically activate a plugin ...
0
votes
2answers
110 views

How to run a test WordpressMu to Wordpress3 update?

Currently I am running a wordpress MU site with ~100 blogs. It's Wordpress MU version 2.8.x Because it was so heavily used, I was asked not to update to Wordpress 3 right away. The users are ...
1
vote
2answers
113 views

Comments Confusion

Website: [removed] If you goto the above post you will see that there are some comments which when posted appears as admin comments for some reason. If you are having problem finding that specific ...