Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
3answers
152 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
4k 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
254 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
408 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
304 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
595 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 ...
22
votes
6answers
13k 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
243 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
2k 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
368 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
3k 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
2k 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
840 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 ...
2
votes
3answers
620 views

What are the differences in capabilities between the super-administrator and administrator?

What are the capabilities that a super-administrator has that an administrator does not have? The codex page on user capabilities does not have a list of capabilities of the super-admin. It lists ...
0
votes
2answers
103 views

How to solve this problem with my subdomain?

I have my site hosted at http://blog.rgksugan.in. I have set a subdomain in it for my blog. But after landing on my blog whatever other links I click i get the link as ...
0
votes
1answer
3k views

simple wp_insert_post example

i've spent way too much time trying to use the wp_insert_post() function a <form> and i do not know why it is not working. // Create post object $my_post = array( 'post_title' => 'My ...
2
votes
4answers
2k views

Use WordPress file upload in my plugin - on frontend and on backend?

Is there a way to use wp multifile upload system in my plugin?
0
votes
2answers
1k views

Display posts separated by Category in Author's page

I created an author's page using: <?php if(isset($_GET['author_name'])) : $curauth = get_userdatabylogin($author_name); else : $curauth = get_userdata(intval($author)); endif; ?> ...
1
vote
3answers
2k views

Why would switch_to_blog stop working?

I'm using the Multisite functionality of WordPress 3.0, and I have a network of sites built where I display one random post from one of the subsites on the main site's front page. I accomplish this, ...
1
vote
1answer
360 views

Fastest way to get the comment and ping total count for a post

I'm making my own comment template (like this) and I need to know how can I get the comment and ping count for the current post, maybe using a fast database query or something like that? Note that I ...
1
vote
1answer
194 views

Prevent WordPress from loading comments

I'm displaying the comments for a post my way, using $comm = get_comments() and then passing $comm to wp_list_comments() (this is the reason why). How to disable WordPress from loading comments from ...
3
votes
4answers
2k views

How can I create an alternative home page?

I'm working on a site which has a fully customized front page. Now I'm asked to add a more classic looking blog type page which will be reacheable at http://domain/blog. I tried creating a custom ...
2
votes
2answers
941 views

Getting $comments outside the comment template

I have a ajax request hooked on "template_redirect" (the ajax requests the post's url), and I want to display only the comment template: function get_comm(){ if(isset($_GET['get_my_comments'])): ...
1
vote
2answers
456 views

How to let a single post have its own domain name

I am not sure which solution here would work best as a solution but what I am looking for is just a simple way to enter an optional domain through a metabox on the page edit screen and then just ...
2
votes
1answer
2k views

WP_Query with the “offset” argument

I'm making a custom query for posts using something like: $p = new WP_Query(); $p->query(array('offset' => 30, 'posts_per_page' => 10)); If I have 36 posts on the entire blog, ...
0
votes
1answer
278 views

Conditional Display of Links in Widgets

I want the links widget in my sidebar to display links based on the page the user is on. For example, if the user is on the home page I want it to display link1, link2 and link3. But if the user goes ...
0
votes
1answer
513 views

404 errors when updating options in admin dashboard

Whenever I try to update my Permalink settings or use the Theme Editor to modify some file, I am redirected to a 404 page. This also happens when I update the All-In-One SEO Pack plugin's settings. ...
0
votes
3answers
155 views

Where's did this div element come from?

This div element is causing a big gap on my wordpress page, specifically on the single post page. It's nowhere in the themes, I can't seem to find where this div element is coming from. Have you ...
5
votes
3answers
3k views

Make Custom Metaboxes Collapse by Default

I've created some custom metaboxes for my post write screen. Is there any way to make some of them display collapsed by default? Just in case I'm not using the correct terms or not being clear in ...
0
votes
1answer
216 views

Why does my Posts page only show a single post when using Thematic?

This seems to be a Thematic theme bug becuase if I switch to other themes, everything is working as expected. This is not the first time I created a frontpage using a static page. I made sure I ...
4
votes
2answers
2k views

Is There A Hook To Process The Content Of The Text Widget?

Is there any filter which can be used in a plugin to process the content of the text widget before it is rendered?
2
votes
2answers
3k views

Reproducing hierarchical list output from wp_list_categories, using get_categories()

I need more control over the category listing output, so I'm using get_categories (http://codex.wordpress.org/Function_Reference/get_categories), instead of wp_list_categories ...
5
votes
1answer
2k views

Styling Shortcodes in Visual Editor

Does anyone know how to style the visual editor so that when specific shortcodes are used they are replaced with an image within the visual editor? I have found that many users screw up the shortcode ...
5
votes
2answers
4k views

How to customize the default HTML for Wordpress Attachments

I'm using Wordpress 3.0.1 (most recent as of now) and working around the Whiteboard theme. It seems that for attachments (images, specifically), Wordpress generates the HTML automatically and it ...
4
votes
2answers
248 views

How To Provide Sub-Blogs Their Own Domain Names?

I ran a search that did not yield that many results. Is it possible, and how can each sub-blog of a multi-site installation be given its own domain name?
5
votes
4answers
457 views

How to keep a Wordpress site synchronized between two servers?

I have a WordPress site running in a dedicated server in hosting A and I would like to keep it synchronized with a copy in another hosting server for fail over protection. Is that possible?
3
votes
1answer
785 views

How to set up sub-categories for author pages?

I am setting up Wordpress for a school. They want to enable teachers to have their own section of the site where they can create posts in different categories (assignments, events, etc). I know that ...
0
votes
3answers
5k views

Use a wordpress page to display a certain category

I'm trying to set up a portfolio page on my wordpress website, and I would like the following construct: /blog/ where I blog all kinds of things, including portfolio entries /portfolio/ where I show ...