2
votes
0answers
55 views

Plural Category Base Slug On Category Archive Page

I've got a little problem with the category base slugs. Say I have got a category called 'Resources', with the category slug set to 'resource'. So any post in the category resource will appear with ...
2
votes
0answers
352 views

Plugin or advice on how to parse XML in real-time?

I am working on a project for my university basketball team. During each game their statistics software will create an XML file and update it mid-game with player statistics, shots, etc. What I ...
2
votes
0answers
383 views

Customizing the 3.5 “Add Media” popup (Backbone.js)

Here's yet another question in regard to the new(ish) 3.5 "Add Media" popup and how to customize it! What I'm trying to do I'm attempting to do four main things: 1) Create a custom tab titled ...
2
votes
0answers
391 views

Create child page within custom post type

I want to be able to have a link like this, site.com/my-custom-type-slug/single-custom-post-name/stats/, where /stats should contain the /my-custom-type-slug page content and when I add content to the ...
2
votes
0answers
81 views

Content hooks vs User hooks

This is more of a theory question than a question with a direct answer. I've been working with different actions for firing functions when a post is updated or deleted and when users are updated or ...
2
votes
0answers
87 views

web.config conflict on IIS

folder structure docroot |- wordpress |- web.config |- wp-content |- japi |- index.php \- web.config ... ... As you can see there are 2 web.config ...
2
votes
0answers
41 views

Why won't my custom widget stay in the sidebar after a reload?

After I drag my custom widget into a widget area and reload the page it's gone. Any ideas? <?php add_action('widgets_init','register_postTypeWidget'); function register_postTypeWidget(){ ...
2
votes
0answers
132 views

Best practice (forward compatibility) for theme options

So here is what I'm wondering... You all know about Option-tree and similar frameworks that theme authors are using for their theme option pages. You also all know that since 3.4 WordPress introduced ...
2
votes
0answers
273 views

Add data-icon input to Wordpress custom menu links

I need to add a data-icon="" input to my Wordpress Custom Menu input box thing. This is so I can use an icon font and type the code in for a specific icon and in the CSS use pseudo elements to match ...
2
votes
0answers
3k views

AJAX with loop filtering categories

I've been researching on how to make my loop with AJAX. I found some codes online and modified some parts but I can't seem to get it to work. This is my code for the loop: <article id="main" ...
2
votes
0answers
54 views

WP Multisite - multilanguage - swich to other language by click, but “same” content

I want to run a WP-multisite for 4 languages (in development), and did it so, 4 blogs, each one got the same content but in a different language, same structure, same pages, same postings, same ...
2
votes
0answers
246 views

Inconsistent temporary 404s on whole install | PHP error with post-template.php

I'm deeply confused by this one: I have a WordPress install on a Media Temple GS [one of many which work fine and are configured almost exactly the same] which is occasionally giving me 404s sitewide. ...
2
votes
0answers
470 views

Get Recent Posts by Date in Multisite

Everything in explanation is about CDTuts I've created a WordPress Network and I want is to get the recent posts from all of the selected subdomain blogs. I need to get the latest All organized by ...
2
votes
0answers
544 views

Preventing session timeout

Not sure if this is a bug or by design, but it's damn annoying. Every so often, more so after updating the core, while in the admin section, I get booted out with the infamous "Your session has ...
2
votes
0answers
50 views

How to show in search results posts with a particular tag in a particular category?

As the home page of my blog I've a static page. There I want to show the navigation of the site. Category1 Sub-Category1 tag1, tag2, tag3 Category1 Sub-Category2 tag1, tag2, tag3 ...
2
votes
0answers
480 views

Custom menu walker: how can i check first item

I need to output different html code only for the first item of my submenus. How can I check in start_el() function if current item is first or not? Example: Menu voice 1 -- Sub 1 -- Sub 2 -- Sub 3 ...
2
votes
0answers
1k views

Create any admin page with tab menu on that

I am very new to WordPress and here I want to create one admin page with tabs as shown in image How can I create such page with these tabs?
2
votes
0answers
152 views

How to remove slug from hierarchical custom types in 3.5.2

I know that is not suggested and that there is lots of discussion about this argument out there. Unfortunally, after a week of trying and tests, I have not managed to remove the slug from my custom ...
2
votes
0answers
90 views

How to prefill Wordpress registration with Social

I created custom registration process in wordpress with a lot of extra fields like first name, last name etc. I would like to make integration with facebook/linkedin so first name,last name,email, ...
2
votes
0answers
194 views

Change default tab of media manager

Is there a way to change the default media manager tab? I have managed to remove everything that I didn't want to show in media manager, using the instructions from the first post here Add a menu item ...
2
votes
0answers
103 views

Prevent “main” WPMU site_url() being returned in functions

I've noticed that in a WordPress MU install with domain mapping enabled, some functions return URIs that don't use the current WPMU site's primary domain name which possibly means they are "WPMU ...
2
votes
0answers
345 views

Copying Custom Meta Values from existing post to a duplicate post

I'm trying to revise an existing WP plugin BU Versions to accept different custom meta field values from items I've set-up using the Advanced Custom Fields (ACF) plugin. BU Versions will copy over ...
2
votes
0answers
317 views

Settings API store serialized data in the database (The Right Way)

Im trying to learn Settings API and I'd appreciate if someone could clarify this for me. I want to store serialized data in the database. Im using a class to do all the work for me. Heres what I ...
2
votes
0answers
197 views

Warnings in nav-menu when visiting query pages

Using query-wrangler, similar to drupal's views, I created some query pages. When I visit these pages, in the top-navigation-menu there is this warning: Warning: in_array() expects parameter 2 to be ...
2
votes
0answers
81 views

Page Attachment Permalink Structure based on Menu Order?

I've been on a quest for the past couple of days reading up on Rewrite in WordPress but still can't seem to figure out how to accomplish this. When using pretty links in WordPress, media attached to ...
2
votes
0answers
160 views

Disallow file edit not preventing plugin install

I have a little demo site (admin details are listed publicly), and I've configured the wp-config to disallow file edits, so in theory no one can install a theme / plugin. ...
2
votes
0answers
350 views

Adding dropdowns to the tinyMCE editor

I'm new to php and wordpress but I've managed to figure out both pretty easily thanks to the community, forums and blogs. I'm close to figuring out what i want to do here, but wasted hours without ...
2
votes
0answers
120 views

Is it possible to orderby multiple meta_keys when using meta_value_num?

Reading through the order & orderby documentation, it's not clear to me whether there is any support to order based on multiple meta_key values. Obviously, using meta_query I can return posts ...
2
votes
0answers
285 views

wp_admin edit.php slow with lots of queries

I have about 4,000 posts. Currently when I click on All Posts (edit.php) it's taking about 10 seconds to load and I'm showing approximately 1000 queries! Most of them look like... SELECT t.*, tt.* ...
2
votes
0answers
77 views

Use single-site install and map entities to subdomains

Not sure if this is a pipe-dream, but I am interested in the URL rewriting capabilities (and DNS mapping) of a single-site WordPress install. Typically in a WordPress MU setup, we'd use WordPress Mu ...
2
votes
0answers
154 views

Theme editor not showing correct index.php

I've run into a weird issue. Not a big deal, but I'm curious about the cause. I was making a small edit to a site built by someone else; it was also temporary, so I was just using the built-in theme ...
2
votes
0answers
35 views

Backup another database with BackUpWordPress plugin

Is there any possibilities to add another database which is connected to other wordpress plugin? My site is using two database: main wordpress db and additional db for plugin data. The Backup includes ...
2
votes
0answers
358 views

get_permalink returns default link

I hope you can help me. So I'm using /%postname%/ as permalink structure, and my htaccess looks like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase ...
2
votes
0answers
332 views

comment_post_ID 0 (cannot remove from dashboard)

Ran across something a bit odd that I haven't seen before. A client has a pretty active blog and uses Akismet (paid) to protect against spam. At least once a day, they're reporting a spam comment that ...
2
votes
0answers
413 views

Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)

I have a custom post type "packages" with a taxonomy "Celebrations" that has a few terms in it. When I try to add a link to my wp nav menu through Appearance > Menus and choosing the term I want from ...
2
votes
0answers
124 views

Switch from Beta to Stable workaround

So, I am currently running the WordPress 3.5-beta2-22265 version on a new site i'm testing. Now, it's about time to go live and I was wondering what should I do in order to get back to the stable ...
2
votes
0answers
116 views

Wordpress Network site edit missing user list?

[domain]/wp-admin/network/site-users.php?id=2 shows no users listed but there are definitely users in the blog. Where/How can I fix this?
2
votes
0answers
1k views

How to stop _wpnonce and _wp_http_referer from appearing in URL

I am trying to develop a plug-in that has a search field and uses WP_List_Table. The plug-in is strictly for the backend and searches the users in the database and returns them along with some other ...
2
votes
0answers
171 views

Can I use core's “or Link to Existing Content” feature in my plugin?

When adding a link in the TinyMCE editor, you get a nice search with ajax function that searches your existing content and lets you select from it. Is it possible/reasonable to re-use this in a ...
2
votes
0answers
162 views

Multisite Login Issues

I'm trying to set up Wordpress Multisite properly and I've got all the sites up, but only the primary domain's wp-admin can be accessed. I've seen various fixes for it but they only cause bigger ...
2
votes
0answers
208 views

How to display term description in empty terms archive?

I list all terms from a taxonomy, even the empty ones, but I found out that at least in 2010/2011 themes I got a 404-like message, the default seems to only display the term description when at least ...
2
votes
0answers
81 views

Singular name Plugin localization

I'm trying to localize the singular name of a custom post type. ... 'singular_name' => __('key', 'plugindomain') ... I created a .po and compiled it as .mo. I also loaded the translation using ...
2
votes
0answers
245 views

How to let a user choose an authors and save it to the database?

I have a multi-author Wordpress site which reads different rss feeds and posts them to my page. I was wondering if it is possible to make a code that would provide an opportunity to registered user ...
2
votes
0answers
2k views

Display products for a category, sorted by post_excerpt

I'd like to display a list of products for a certain category, sorted by the post_excerpt. The original code I used was this: $args = array( 'tax_query' => array( array( ...
2
votes
0answers
136 views

Additional Option on Custom Header admin

I would like to extend the Custom Header class to include an animation feature for the header graphics. Essentially, I'd like to add another possible value for the radio button for randomization. The ...
2
votes
0answers
68 views

How to hide “Trackback” on paginated comments

My Setup: On my Single's page I have used this comments_template('', true); to separate Trackback's & regular comments. The Heading "Trackbacks for this post" shows up only if a post has ...
2
votes
0answers
79 views

Get page content by category or tag

I'm trying to sort of emulate the Views behaviour in Drupal with Wordpress, but doing it in theme templates. Now, I have pages that are assembled by using wp_query in the template to get posts ...
2
votes
0answers
79 views

Select posts from front-end calendar

Hi i am trying to build a widget that, in site front-end, allow users to see posts published in a specific week, selecting the date from a calendar. So here the workflow: Calendar -> User select a ...
2
votes
0answers
193 views

How to sort posts by last name (2nd word) on ONE category only?

I have an "author" category that is used as a list to browse multiple posts containing author biographies. I have Smart Category Ordering installed and right now it is sorted by title ascending. ...
2
votes
0answers
496 views

WordPress + Magento .htaccess ReWriteRule Issue (www vs. non-www)

I have an issue I've been facing for a bit now. Moved away from it, but now I'm back and just have no idea after trying to find a solution online. It seems individuals have faced similar issues, but ...

15 30 50 per page