Unanswered Questions

10
votes
1answer
1k views

WordPress MultiSite Active Directory integration and site privacy

Here's the overview of the setup: I have a multisite installation of WordPress 3.4.2. I've installed the Active Directory Authentication Integration plugin to allow users to use their AD ...
10
votes
2answers
678 views

Get upload URL by blog ID in multisite

The essence of the question is, I'm looking for a solution like this: $blog_upload_dir_info = wp_upload_dir( $date, $blog_ID ); $blog_upload_url = $blog_upload_dir_info[ 'baseurl' ]; Where $...
9
votes
0answers
296 views

Physical organization of wordpress media library (Real Media Library plugin)

Introduction. In the above screenshot you can see a folder structure built with premium plugin Real Media Library. Now i want to create an extension plugin which can organize the folder structure ...
8
votes
0answers
183 views

Uploaded images don't show in Media Library if there are special characters in IPTC Keywords

Some images that are uploaded to WordPress don't show up in the Media Library. The images get uploaded and even cropped to the defined sizes, there is an entry in the Media Library, but the preview ...
8
votes
1answer
221 views

Best way to flush_rewrite_rules for custom post type, in a mu-plugins plugin?

I am writing a plugin that instantiates a custom post type (among other things). It is a multisite plugin and lives in the directory mu-plugins. What is the best practice for handling ...
7
votes
1answer
57 views

Let private posts stay in status “private” after edit through “editors”

I'm using some private posts for intern purposes. When an editor changes something on these posts, its status turns to pending "review" and I have to publish it again as a private post. When an ...
7
votes
0answers
147 views

Enable update notification, disable updates

There are a lot of question on how to disable updates and/or removing update notifications. But all solutions that disable the update also disable the update notifications. But I want to disable the ...
6
votes
0answers
83 views

Post injection - how to exclude the original post

This question refers to @Pieter Goosen´s extensive work about how to alter the main query using the pre_get_posts hook on true pages. It is also referenced in the codex. With his method you are able ...
6
votes
1answer
56 views

Multisite posts in categories on network

I'm running a multisite with a main site and 3 subsites (the number of subsites will be over 200 at the end). Now on every site I have a category called A, Category called B, and Category called C. On ...
6
votes
2answers
3k views

Uncaught ReferenceError:switchEditors is not defined

Is anyone familiar with this error? It is causing TinyMCE to break in my Wordpress theme. In console it gives me these two errors both seem to originate from wp-admin/post-new.php Uncaught ...
5
votes
1answer
44 views

Restrict one post per author

I'm trying to create an events plugin and so far, I'm through with the following: A short-code that displays a form on the front-end to the user. The event display page that renders the output. '...
5
votes
0answers
38 views

Adding a drag and drop re-ordering from a custom post type default list

I have custom post type named 'slider_to_be_ordered' and has the following arguments enabled: 'supports' => array( 'title', 'page-attributes' ), 'hierarchical' => true, ...
5
votes
0answers
100 views

Why did multiple line breaks stop working in text editor?

# Adds ability to add break tags on posts remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); add_filter( 'the_content', 'nl2br' ); add_filter( 'the_excerpt', 'nl2br'...
5
votes
1answer
127 views

Change appearance of shortcode text inside editor

Is it possible to change appearance of shortcodes in editor or in whatever way make it more distinguishable from surrounding text? For example if the content of a post is like this... Reference ...
5
votes
1answer
38 views

What do I need to do to convert my MultiSite from HTTP to HTTPS?

I've been tasked with converting about 100 sites in my multisite instance to HTTPS. I can easily write a script to hit the DB and change the siteurl and home values to HTTPS, which inturn should ...

15 30 50 per page