Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
6k views

How can I customize “Pages” admin (edit.php) and “Edit Page” admin (post.php) for bulk edit of custom content type?

I think its probably easier than I think to do this, but currently its beyond me. If there are any plugins out there I'd prefer to start there rather than develop from scratch, but I'll do what I have ...
5
votes
1answer
1k views

Get a button for <hr> in the Editor

Somehow the WordPress editor doesn't have a button to insert a horizontal line (<hr /> in html). Is there a plugin that adds this button? Or an easy way to add such a button myself?
1
vote
2answers
519 views

adding homework to a school's website

I have a school website - pickeringschool.org - that I am changing over to WordPress. This is no problem except that I want to add the functionality that allows the teachers to add daily homework ...
0
votes
1answer
400 views

inserting uploads into subdomain

I have my wordpress blog in the root of my website (example.org) and would like to store uploaded files in a subdomain depending on type of file, for example I currently have ...
1
vote
1answer
909 views

Creating a custom Admin panel

I'm building a Wordpress Plugin and it has two tables and some data. Right now, for displaying and changing the data, I'm using the wpdb function and manually creating the user interface (mimicking ...
1
vote
1answer
749 views

Sub posts and non unique post_name

I'm trying to create sub-posts like this: /post/info/ /post2/info/ Using wp_insert_post() and I have almost succeeded. I'm setting post_parent to the parent post ID and the post_type needs to be ...
0
votes
3answers
153 views

2.9 to 3.0: Pros and cons of upgrading?

I have a wordpress blog running 2.9. I haven't made many mosts yet. I am considering upgrading to Wordpress 3.0. What are the pros and cons of upgrading? Will 3.0 increase security? Is there less ...
2
votes
3answers
1k views

Is there a way to create invisible pages?

I'd like to add a page that does not appear anywhere on the site (especially not in the header or wherever your pages are listed) unless the URL is typed in directly. Additionally, the page/post ...
1
vote
1answer
704 views

Custom Taxonomy Term Caching?

I have two Custom Post Types, "event", and "opportunity". They share a custom hierarchal taxonomy, "location". My client had added a handful of terms (United States (parent), then a few States ...
0
votes
2answers
547 views

What Wordpress Hook Is Used Before Signup Data is Saved?

I need hook which is working before signup data save on new user and blog registration on BP or WP 3.0.3. Any help would be greatly appreciated.
2
votes
2answers
1k views

sanitize attachment filename

I'm looking for a way to sanitize the filename of user uploaded attachments. I thought that wordpress already did it but I faced preblems after an user uploaded an attachment containing a '°' . That ...
3
votes
3answers
2k views

Archive Listings Filtered by Date Values in a Custom Field/Post Meta?

(Moderator's Note: The original title was "using archive by date with a custom date") I'm adding an additional date to posts as a custom field. Now I want the archive to show posts by the custom date ...
1
vote
2answers
2k views

Best way to pass arguments to another page in Wordpress

What is the best way to pass arguments to another page in wordpress. I did it this way : <a href="get_permalinka(id_of_page).'/&i=2&j=3&k=4'">Link/a> I get this arguments with ...
2
votes
1answer
721 views

Does WordPress Allow Blank/Empty Comment Submissions In WordPress?

I've got a great Comment Form and Threaded Comments setup by using the native WordPress functions: comment_form and wp_list_comments. However, I'm trying to also create a custom Contest Comment ...
3
votes
3answers
336 views

Editing theme files and access to the Code pages only to super-admin?

When I deal with Multisite installation.Some themes like mystique and aparatus provide the widget areas with in the theme-settings page to enter Advertising codes in the form of HTML or java script ...
3
votes
2answers
274 views

What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner?

What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner? How to disable hosted Wiordpress feed completely and use feedburner?
0
votes
2answers
652 views

How do I create a Custom Post Box that Connects Different Posts Together

In WordPress, I'm trying to create a Custom Post Box that will allow one post to be manually connected to another post. The easiest way to illustrate this request was to mockup what I would like ...
2
votes
2answers
841 views

Replacing the default content created while the site creation

How do you replace the default title for first comment? Mr WordPress on Hello world! I could not able to locate this in theme's comments.php file I want to edit the title 'Mr wordpress on Hello ...
2
votes
4answers
5k views

using upload image with media_handle_upload .. but !

I'm tring to upload image in wordpress by using some function .. I found the way to upload images but there are one problem .. when the user upload his image , wordpress create more than one image ...
1
vote
1answer
253 views

add JS to multiple plugin admin pages

For a WP Theme with multiple admin screen (got its own main menu and some submenus), I want to add a common Js script to load on (only) all these pages. I know how to acheive this using the pagehooks ...
0
votes
2answers
1k views

More tag - how do I remove preceding <br>?

Can anyone advise on how I can remove the preceding <br> tag when a post's "read more..." tag is generated? Any advice appreciated! This is the code that's generated - <p>blah blah blah ...
2
votes
1answer
328 views

Add filename to attachment page url

I wan to change my premalinks to attachment pages from http://example.com/.../attachemnt/something to http://example.com/.../attachemnt/something/something.jpg It should simply add filename but with ...
5
votes
1answer
1k views

How to hide or remove unwanted widgets on Multisite installation?

I am using Multi-site installation. I don't want all the widgets appear under widgets.php on dashboard .So I tried to find a way to remove or hide unnecessary widgets . SO that the new sub-sites ...
9
votes
3answers
2k views

Update widget form after drag-and-drop (WP save bug)

I've posted a bug-report about this a few months ago (on WordPress trac (Widget Instance Form Update Bug)) and I thought I'd try writing about it here too. Maybe someone has a better solution to this ...
0
votes
2answers
600 views

“An automated WordPress update has failed to complete - please attempt the update again now”— But there is no .maintenance file

I am trying to manually upgrade my wordpress to the latest version (3.0.3)-- after autoupgrade fails. After the upgrade everything works fine except for one little nagging message at the top of my ...
0
votes
3answers
148 views

Any Good Analytics Plugins for WordPress? (standalone)

Recommend any good analytics plugins you may have used and found useful. Reports such as site traffic by page, point of entry, top out going links, browser and OS information. The plugin may be paid ...
8
votes
8answers
13k views

What does l10n.js do in WordPress 3.1? And how do I remove it?

I just installed WP 3.1 Beta 2 on my test server. I noticed that it ships with a new l10n.js file that gets automatically inserted into the header. I did a bit of digging and it has something to do ...
0
votes
1answer
263 views

How to replace blog page url with subdomain at all places, even in xml sitemap?

I've a blog page in wordpress site at http://website.com/blog I want this should be accessed with http://blog.website.com and even the any blog article's link should be ...
0
votes
4answers
3k views

How to move the wordpress site from test url to main url? [duplicate]

Possible Duplicate: Easily Move a WordPress Install from Development to Production? I Setuped a Wordpress site on http://domainname.com/test/ now I want to move everything to main domain ...
3
votes
2answers
1k views

Associating an “author” with a custom taxonomy

I have a custom role, "Ministry Representative", which is able to log in and create and manage their own "Opportunities" and "Events", which is each a custom post type. On the front end of the site, ...
2
votes
2answers
250 views

Comment filtering (search)

Basically I want to develop the ability to search comments on my site. A form with input field where the visitor can enter a search string, which tells WP to display only comments that contain that ...
0
votes
2answers
404 views

Custom Slider Per Page created

I am developing a site that will need to have a slider with 4-8 images, but only on certain page-types. These pages must be editable and the sliders must be able to be updated whenever I'd like. I ...
-1
votes
1answer
173 views

Add content in between of foreach

I have the following foreach witch gets all the content in several groups. I am using Magic Fields. <?php $omtaleseksjoner = get_group('Seksjoner'); foreach($omtaleseksjoner as $seksjoner){ ...
1
vote
5answers
1k views

How to rotate the header image per day?

I'd like to have my header banner change every day, chosen (e.g. randomly) from a list/folder of images. So far I only found plugins that select a random banner per post or per page view, neither is ...
3
votes
1answer
1k views

Get the sidebar ID in which the current widget was dropped

How can I find out in which sidebar was a widget dropped? From inside that widget. More precisely from the form() function. Can I automatically remove the widget if it's not added in the appropriate ...
2
votes
2answers
4k views

How to have “Page Title” different than “Menu Title” in wordpress 3.0.3?

I'd like to have the home page have a menu title of "Home" and a different page title "What we can do for you". How to do this without going into code. Is there any plug in to do this?
2
votes
1answer
302 views

Count widgets of a certain type

How can I get the number (count) of, let's say, text widgets from a sidebar? for eg. if I drop 4 text widgets in the sidebar, I want to get this number somehow from another widget
1
vote
5answers
2k views

Removing label 'Wordpress' from title bar

Generally on our Wordpress blogs,there will be a label Wordpress displayed on title bar. Does any body have idea how to hide or remove it? My website is powered by wordpress multisite installation ...
0
votes
1answer
88 views

Pull Latest Forum Posts within WordPress

Hopefully this is the easiest question ever asked. I have a WordPress site with BBP installed. I want to be able to pull the latest BBP posts in a php query I can use throughout the site. What is ...
0
votes
3answers
592 views

How to setup a membership system in Wordpress?

I have been setting up a wordpress for a business memberships, where the business sign up and list their company information to our site. Once they become a member their company listing and what they ...
20
votes
6answers
12k views

Add validation and error handling when saving custom fields?

I have a function that defines a custom field on a post type. Say the field is "subhead". When the post is saved, I want to do some validation on the input, and display an error message on the post ...
1
vote
2answers
240 views

Sort custom field by post

Ok it is pretty simple. Every post of my blog has a specific country. So i have the custom field country and then, when i write the article i add: japan, argentina, usa, italy etc. to the post. Now in ...
1
vote
1answer
1k views

Query posts by custom post type and custom taxonomy

I am writing a custom loop query to filter through a custom post type and custom taxonomy. I have replaced any variables with static values for the purpose of showing you what result I want. $args = ...
7
votes
3answers
1k views

Is the new WordPress 3.1 admin bar pluggable and how can I extend it?

How can I extend the functions of the WordPress 3.1 admin bar in my plugins? I am looking for specific hooks and filters to use in adding links or other features to the admin bar. A good example ...
0
votes
3answers
229 views

User bar above logotipo?

I am looking for a simple example on how to create a user bar or a simple theme with it that can serve me as example. What I meant is something like we have here on Wordpress Answers if u get above ...
0
votes
3answers
364 views

Add filter on html tags,attributes on specific function in wordpress

Title is little bit :S sorry :) For example,we have paginate links function that output html something like this <span class='page-numbers current'>some number</span> How can I filter ...
2
votes
5answers
2k views

Custom members area (interface/design) in Wordpress, is it possible and how?

Anybody can suggest tutorial or URLs where I can find information about how to create custom members area in WP ? I mean when member is logged in I would like to show him something that is different ...
4
votes
2answers
1k views

Is it possible to change the attributes of a registered style or script before it fires?

I'd like to modify the properties of a registered style(or script - same applies) before it's been loaded. Right now i'm trying to modify a registered style just before it gets enqueued, so i can ...
1
vote
3answers
812 views

Create unique page without header.php for json feed

I have two WordPress sites on separate domains. I need to expose the latest posts within a category via a json feed on one site that I have to use for the other site. I'll need to hit a "hidden" url, ...
5
votes
1answer
1k views

Setting up custom post type archives in WP3.1? Any luck?

I've just moved a site I'm developing to WP3.1 so that I can take advantage of and start testing some of the new features. I'm especially liking the has_archive parameter in registering custom post ...