2
votes
0answers
144 views

Theme Customization API and child themes

I've recently developed a parent theme that makes heavy use of the Theme Customization API. Is there an easy way to port these settings when a user activates one of my child themes? Currently, the ...
2
votes
0answers
90 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
435 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
170 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
36 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
476 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
354 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
35 views

How to hook into unregistering a widget instance?

I would like to hook into a widget instance after it is removed from a sidebar panel on the Appearances -> Widgets admin page. So if the instance was an active widget and then removed, I would like ...
2
votes
0answers
144 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
120 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
336 views

Count user posts by type and date

I use the following code to count user posts by specific post type: function count_user_posts_by_type( $userid, $post_type ) { global $wpdb; $where = get_posts_by_author_sql( $post_type, ...
2
votes
0answers
1k views

Automatically Facebook Debug Posts on Publish

I am looking to do something similar to this plugin which adds an "FB-Debugger" link on the admin of pages/posts: http://xlino.com/projects/facebook-debug-link-wordpress-plugin/ However, I'd like to ...
2
votes
0answers
191 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
185 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
303 views

Post in Multiple Categories to stay in current category (permalink, next previous post link)

I guess this has been mentioned before, but after 2 days of browsing i haven't find a complete solution. Maybe someone has come across this problem before? I'm building a designer portfolio where ...
2
votes
0answers
65 views

post_id always wrong in plugin

I am trying to make two plugins work together where one of them puts a tag around every title with a filter function. I want it to exclude posts of another plugin that have custom post_type ...
2
votes
0answers
245 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
87 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
258 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
95 views

Oauth user Authorisation

I work with Oauth 1. I want when the user enters the admin page of my plugin, it is redirected to the site should perform authorization and come back on my page but it does not work ...
2
votes
0answers
140 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
71 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
85 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
116 views

Featured image upload finished hook

I'm looking for a way to hook into the process of uploading a featured image. Ideally I would want to be able to do some stuff right when the upload has finished, before the thumbnails are generated. ...
2
votes
0answers
88 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
212 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
526 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 ...
2
votes
0answers
433 views

How to reload a select box of posts dynamically?

I'm using custom meta boxes for a project. I have created a custom taxonomy (select box) and I have another select box populated with Posts. I need to only load the posts based on the selection of the ...
2
votes
0answers
253 views

Wordpress with CAS+LDAP and standard WP accounts

I have a wordpress site setup with the wpCAS-w-LDAP plugin for logins. It's working perfectly except for one thing. We have some users who can't login using the CAS system since they don't have an ...
2
votes
0answers
569 views

I want to load post content by categories using Ajax

I have question. I would like to load post content, custom post, depends on category. So first of all I would like to have drop down menu which will list all my categories then once user will select ...
2
votes
0answers
101 views

Exclude Post Format from next_post and prev_post

Is there a way to exclude a specific Post Format from next_post and prev_post? I want my asides to show up in the regular list of posts on the main blog page, but when a user is navigating through ...
2
votes
0answers
235 views

Display Terms for all posts in Current Archive or Query

I am using the following code to create a list of linked terms belonging to a taxonomy. <?php $taxonomy = 'taxonomy_name'; $queried_term = get_query_var($taxonomy); $terms = get_terms($taxonomy, ...
2
votes
0answers
321 views

post_content getting cut off on blank space on $wpdb->update

I am publishing the following post via xmlrpc <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><head><meta ...
2
votes
0answers
1k views

query_posts with a custom post type, a meta_query and sorting by post date?

I've searched the archives and found questions similar to what I need, but haven't found exactly what I want. I've got a bunch of products that are sorted by a meta_key of country, and I'd like to be ...
2
votes
0answers
254 views

Removing the title attribute from links in the post content

When using the WYSIWYG editor to create links, and selecting an existing page or post from the selection list, those links will have a title attribute by default. Is there a simple way of turning off ...
2
votes
0answers
583 views

Hierarchical Custom Posts - Highlighting Current Post in Sub-Menu

I have created a hierarchical custom post type called events and have used wp_list_pages to list the sub-posts for each event post (See below). This navigation works great, but I cannot figure out how ...
1
vote
0answers
11 views

Convert non-hierarchical taxonomy to hierarchical after registration

I have a custom taxonomy that was created by WooCommerce (product_tag). I'd like the taxonomy to be hierarchical so it behaves like categories instead of tags. I need to do it after the taxonomy ...
1
vote
0answers
6 views

Wordpress Deadlock Error

I see more of this error these days in error_log. I see that someone asked this question here a year ago but no solution. Please advise what is causing this issue. Already, tried deactivating some ...
1
vote
0answers
18 views

How to password protect a category page / not posts?

I have seen this question here but the answer was a plugin ( cat-pass ) that would password protect all the posts under the category. I am looking to password protect the category itself and not ...
1
vote
0answers
16 views

Rewrite rule for page with plugin shortcode

I created a plugin to display a list of real estate properties on a page. The list is embedded into a custom page as a shortcode: [real_estate_list status="1"] The list is loaded from an external ...
1
vote
0answers
50 views

Apostrophe in a possessive appears as an open-single-smart-quote instead of a closed one

Copy & paste the following in the html post editor: <em>John</em>'s Then click preview button and see the results. It will be: John‘s This is grammatically incorrect. It ...
1
vote
0answers
18 views

Automatic Theme & Plugin Updater for Self-Hosted Themes/Plugins

I trying to update my theme with this plugin: https://github.com/jeremyclark13/automatic-theme-plugin-update In my style.css I have Version: 1.0. In update.php I set $api_url to ...
1
vote
0answers
23 views

get_user_meta returning old data

I have a page template that creates a user directory listing for certain of my site users. I have no caching plugin and I get the same result from local development server, remote development server ...
1
vote
0answers
19 views

Change syntax styling of TinyMCE HTML Text Editor

So I have customized the CSS display for the TinyMCE 'Visual Editor' by using this here: /* Add Theme CSS to WP Content Editor -------------------------------------------------- */ function ...
1
vote
0answers
26 views

How can you override the is_multisite check in wp-login.php for individual login/registration?

Here is my use case: I would like to create a WP SaaS for restaurant. I will maintain a 'white label' WP Multisite install so I do not need to upgrade WP/Plugins n times. Restaurant owners can sign ...
1
vote
0answers
11 views

Is there any workaround to a core update still showing after core update if language set to anything other than US English

I build sites typically in UK English, however I typically leave them in US English because if I set system/general/site language to anything other than "English ( United States)" then when I do ...
1
vote
0answers
15 views

How can I add an RSS widget using WP-CLI?

I can add an rss widget with this command: wp widget add rss my-sidebar --title=News --items=5 But when I add a URL parameter, like this: wp widget add rss my-sidebar --title=News --items=5 ...
1
vote
0answers
21 views

Attachment page gives 404 if user not logged

I am struggling on a very weird behaviour for a WP site I have developed. My client have uploaded many photos to the media library, and tags them with some custom taxonomies I have defined. Some of ...
1
vote
0answers
19 views

wp.media add context

I have wp.media frame on my plugin to upload doc, docx file. I am filtering the uploaded file. If uploaded other than supported file, it will display this error I am filtering it at ...
1
vote
0answers
28 views

A custom post type in another post type

I can't seem to find an answer to the following question. English is not my native language so its sometimes hard to find the right words. I know how to build custom post types but i want to go a ...

15 30 50 per page