Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
2answers
2k views

Multiple Post Thumbnails Plugin - Need help with code

I am having problems getting this plugin to run but have had little success getting it to work, even after reading past entries. I would be grateful if you could see if the code is right. Code in ...
0
votes
2answers
48 views

What are some good resources for teaching end-users how to use WordPress?

As a web designer and developer, I'd love to simply point out my clients to some YouTube videos or articles that explain from the ground up what WordPress is without blowing their mind. Some of my ...
2
votes
1answer
534 views

Add new section to “Right Now” widget

I've been hacking away at modifying the "Right Now" widget in the WordPress dashboard, and although there are some hooks/filters which apply to just that, they are sparsely documented or explained. ...
0
votes
1answer
110 views

How would I make a function to dynamically determine if user is logged to change navigation menu text?

I would like to create a function to determine if a user is logged in or logged out. If the user is logged in I would like the navigation menu text to say "My Account" (this is what it currently ...
1
vote
2answers
187 views

How do I implement a .diff changeset from core.trac.wordpress.org locally?

I have a local copy of the latest version of wordpress that I set up using svn co http://core.svn.wordpress.org/trunk/ There is a diff that I want to pull into my local fileset: ...
-1
votes
1answer
247 views

Custom Page Template and Category Exclusion

I have a blog (bernsteinbear.com) that uses the TwentyEleven theme. I'm trying to make a custom page template for the front page (a blog page) that gets all the posts except in the "Comic" category. I ...
0
votes
1answer
47 views

I need advice on how to structure the categories according to the layout i have

I'm seeking advice on how to structure the categories so it fits well my page structure: The main highlight is a single post and the secondary highlight boxes will probably contain a slides showing ...
1
vote
1answer
49 views

How to add a button which saves the post then executes a function

Currently, I have a function called 'pub_notification' in my functions.php file which sends an email when the post is published, using the following code: add_action('publish_post', ...
0
votes
1answer
69 views

Setting variables as custom field values

I have a function that performs some custom queries to get specific information regarding a post (children count, dates, etc). I am wondering if it is possible to send this custom query info (set as ...
0
votes
1answer
871 views

If custom image header does not exist display text header

I've added a theme options page to my site (in my functions.php file): add_custom_image_header('', 'admin_header_style'); My header.php contains this code, which displays the Featured Image as the ...
4
votes
2answers
269 views

Add more rows on media picker

I'm trying to add more rows in the media picker modal window. Is there any clean way to achieve doing this ? Thanks !
0
votes
1answer
239 views

How to query an out put value?

I have this custom query that Im working on and I need to be able to query output values as well as actual stored values. Example: $string = "This is #*&^% a test"; $string = ...
0
votes
1answer
655 views

Check & remove special characters in a field?

I would like to check whether a field has special characters, remove those characters and output (save) the value to another field. I am creating a user search function that search various fields, ...
-1
votes
2answers
94 views

Check if a field is capitalized?

I want to check the if the first letter of a field is capitalized. Example: If (First Name field) is capitalized { Capitalized! } else { Not Capitalized! } Thanks Thank you
3
votes
2answers
869 views

Gallery Shortcode: using link attribute to link to a specific image size

When [gallery link="file"] is used, it calls the original image file source. It it possible to create a shortcode filter that links to a specific size, like: [gallery link="medium"] or [gallery ...
0
votes
3answers
154 views

Single page template

I am trying to create a template for a custom page type that will put the same data on every page of this type. The only problem is I see examples of custom page types but only using loops. Do I have ...
0
votes
2answers
143 views

How To Use Custom Tax of a Post Type

I've defined a custom post type. I've defined a custom taxonomy for this custom post type. I've populated the custom taxonomy. How do I make the list of custom taxonomy values show up in the admin ...
0
votes
1answer
2k views

show only sub categories if available?

Hii i want that when i click on category link that show sub category if available instead of posts list If No Sub category available then show normal posts how to do this that if available sub ...
0
votes
1answer
3k views

Changing settings of WooCommerce

I'm using the recently released WooCommerce plugin for my e-commerce site. In WooCommerce settings, the currency of my country is not listed. So I have to add it manually by coding in woocommerce.php ...
6
votes
3answers
967 views

Localization: I want the backend: english and frontend in defined language

I'd like to have the backend of Wordpress in English and use a different locale for the frontend so far I figure out perhaps I could do it by setting in the wpconfig the locale I want to use in the ...
0
votes
2answers
947 views

Dynamically add / duplicate custom meta in custom post types

I am using Custom post types in one of my themes I have one custom post type called "accommodation" with meta boxes to add details such as type of rooms (single, twin, double...); each room has a ...
0
votes
1answer
201 views

how to use custom post types collectively integrated with each other

i will star with some back ground and my goal before i gt to the point i am trying to make a anime viewing website using wordpress like www.watchanimeon.com and www.animedreaming.tv i tried a ...
1
vote
1answer
818 views

Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate

I've been asked to develop a website pretty much like (but not the same as): http://www.yoursingapore.com/ basically we need to allow people to add Wordpress posts (custom post types) into a sort of ...
2
votes
3answers
1k views

How do I create a widget that only allows a single instance?

How do I create a widget that only allows a single instance of a widget to be added through the Wordpress interface? The default behaviour of widgets allows multiple instances to be added. I am ...
0
votes
2answers
135 views

Is there a way to have the view link on manage posts page to open in a new window or tab?

Hi I am trying to figure out on how to get the "view" link on the manage posts / custom post types and pages to open in a new tab or window. I know it is probably possible to do via the ...
1
vote
1answer
182 views

How to take options from form fields and turn them in to links?

I have a form in WordPress with options when clicked they retrieve a filtered posts. I want to take the options from the form and place it like normal links. Can this be done? Thank You all in advance ...
0
votes
1answer
988 views

Most wp_nav_menu parameters ignored

I'm trying to get a text-based navigation menu for the footer of my site. I'm using the wp_nav_menu() parameters as directed by Codex. He're a snippet of code (in footer.php): <div id="footer"> ...
6
votes
4answers
3k views

How do I append multiple taxonomies to the URL?

Multiple taxonomies in URL How does one append multiple taxonomies to the URL having the following: Post Type: products Taxonomy: product_type Taxonomy: product_brand Adding new ...
0
votes
1answer
74 views

Custom Post Type Implementation

I have been working hard to implement few custom post types for making a job board in hybrid news. So far, I have created custom post type- Jobs, created a page template http://pharmastudent.net/jobs ...
0
votes
1answer
170 views

How to output all taxonomy links from a custom post type in a menu?

I made a custom post type called Product. And a taxonomy with the name 'product-category'. These taxonomies have pages where we show a list of the products that have that taxonomy. Now my question is ...
0
votes
1answer
1k views

How to make custom comment fields required and message field not required

I have a comment form that has name, email, brief, detailed and rating fields. The name, email, brief and rating need to be required, but the latter two are custom fields and I can only make them ...
0
votes
1answer
351 views

“operation successful” message

i'm writing some custom wordpress pages, and i want that after an action where the user has addess an item to a list (after the user press the submit button and the page reloads showing the updated ...
0
votes
3answers
646 views

Custom Database Table and foreach

I have just created a custom database table and would now like to output every inserted row from it into a predefined format using a foreach statement. Some guidance in this matter would be great. ...
0
votes
1answer
775 views

Searching with Multiple (Parallel) Criteria on Custom Fields?

I'm just an basic Wordpress user. I need to make search box with multiple criteria inputs (multiple conditions) to search inside various Custom Fields. For example including following Custom Fields: ...
1
vote
1answer
952 views

display image size in media library screen

i'm trying to add image size in media library screen so will be simply to handle images. Anyone does it before me? Any help appreciated. Francesco
6
votes
2answers
3k views

How to Change 404 page title

i have try many methods after searching on internet but unable to ramove Nothing Found from my 404 page title how to do it please help me even i have us this in my 404 page header if( is_404() ) ...
0
votes
1answer
178 views

How To make Custom page of every Category

Hii i have seen many blogs which posted thing in the same design for example if you see this http://www.songs-pk.info/2011/nayika-malayalam-2011/ there page create alwayz in the same style download ...
2
votes
2answers
2k views

Can I change what fields are displayed in the Comments form?

Is it possible to change the fields that are available in the comments form? By default my comments form is asking for Name, Email, Website, and then the actual message. I'd like to remove website and ...
4
votes
2answers
8k views

How to edit a wordpress plugin without break its update process

I would like to add some additional features/functionality with already available WordPress plugin. Is it possible to carry over my customization while updating the plugin?
0
votes
1answer
39 views

How do I get posts to appear at mydomain.com/blog?

I'd like to use WP to manage my whole site, not just the blog. I don't want the blog to appear on the home page, but instead at mydomain.com/blog. What I've done so far under Settings/Reading is to ...
1
vote
1answer
2k views

How to display comments and comment form on custom post type?

Is it possible in wordpress to display comments and comment form on custom post type, and how to do that? Thanks in advance.
0
votes
1answer
340 views

Save custom field types with this function…?

I found this great article (right here) about creating and saving custom fields for user profiles. The problem is that it only saves text fields. I can't save checkboxes, radio, or any other field ...
0
votes
1answer
161 views

Should I go for Multisite or separate WP Installation?

I'm developing an article site where an user can register and post the articles and the URL would be like http://domain.com/articles/category-name/article-name The site will also be having a blog ...
1
vote
4answers
2k views

How to disable page delete

My client is not a computer person. I created a website for him. There is some important pages. My client is always delete this page. Then i want to reconfigure the code (the page id). How do i ...
0
votes
1answer
162 views

How do I query based on the modified date?

I would like to list posts by the "modified" date not the published date. Is there a way to do this? $documents = array('posts_per_page' => 10, 'post_type' => 'documents',); ...
6
votes
3answers
2k views

Change admin bar to default:off

While I quite like the admin bar I actually want it to be OFF by default instead of ON ( I don't want to disable it altogether because I want users to be able to turn it on if they want - but but I ...
0
votes
1answer
1k views

how to modify request to get_template_part()?

i am modifying a P2 theme for a specific purpose, and it uses the get_template_part( 'entry' ) function to get the the whole entry html. What i then get is the who <li> element, but i want to ...
-1
votes
1answer
105 views

Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]

Can you upload it somewhere or send to my email?
0
votes
2answers
178 views

How do I change my permalink structure to a custom structure on an established blog?

I've got a blog that's about 15 months old with around 160 posts. Right now my permalink structure looks like this (example): ...
0
votes
1answer
931 views

Custom Register Link on Backend Form

I want a similar solution like this one for my login form on the backend of my WordPress installation: Forgot Password URL Filter What I want to do instead of returning a custom forgot password url, ...