1
vote
0answers
17 views

Forbid contributors viewing drafts

Is there any way I can forbid a contributor to view draft posts? Right now any contributor can view my draft posts and even edit them (however their edits must be approved by administrator first).
1
vote
0answers
22 views

Adding Field to Profile “Name”

I am trying to add an extra field or two underneath the "Name" or "About" section in the Wordpress user profile. So far I have only been able to accomplish this by: //Begin ...
1
vote
0answers
12 views

Multiple register settings, with same option name - issue

I already posted this question in wordpress support forums here but I didn't get any help and nor could I find a solution yet. As the title says, I am calling register_settings functions multiple ...
1
vote
0answers
24 views

Deleting taxonomy terms and relationships on a custom post_type when a user is deleted

First off, I have a custom plugin that registers a custom post_type. When a user signs up on the site, a post is created using the custom post_type. The post is populated by the user's company name ...
1
vote
0answers
52 views

Migrating Asp.Net site to Wordpress site

I have a requirement to migrate the existing Asp.Net web site to Wordpress site. This site uses SQL server backend. It has so many tables with around 2 million records in a tabular format in SQL ...
1
vote
0answers
48 views

tinymce.get() returns error after ajax request

In the backend, after an event I make an ajax request which populates certain fields. The problematic field is the textarea, for which I use wp_editor like so: <?php $settings = array( ...
1
vote
0answers
61 views

How to use pagination with get_post_meta

I have a Products Page that i am using to add products using custom metaboxes this is the code for my page <div class="container products"> <div class="row"> <?php ...
1
vote
0answers
21 views

Allow guests to use WP Customizer but disable save button

I've seen in some WP demo themes that developers let users to see a theme customizer (allowing to try the customizations) disabling the save button as well. So the question is how to do that in a ...
1
vote
0answers
17 views

Why am I seeing all these weird 'loginid' requests?

I've been monitoring the access log for one of my Wordpress sites, and I'm seeing a lot of requests like this: /?loginid=df01ec6de1 I'll see a long series of these coming from one particular IP ...
1
vote
0answers
52 views

Multisite -> XMLRPC

On my site I have Multisite enabled. XMLRPC works on the main site (www.hostname.com/xmlrpc.php), but when I try www.hostname.com/subblog/xmlrpc.php, it returns a 404 error.
1
vote
0answers
28 views

Different Custom Post Types for each Network site

I have a WP Network of two sites to use the Multilingual Press plugin ("Site-A" and "Site-B"). They both have a Custom Post Type, say "CPT-A", which I registered manually in functions.php. How do I ...
1
vote
0answers
27 views

Base permalink for custom taxonomy

I'm using custom hierarchical taxonomy that is attached to custom post with following structure: www.mysite.com/movies/drama/example/ where "movies" is a slug for custom taxonomy and "drama" is an ...
1
vote
0answers
31 views

Migrate from CMS Made Simple to Wordpress

I am trying to convert a website on CMS Made Simple (GitHub account) onto Wordpress. I have researched online extensively only to find no substantial content to help me. Is there a potential script ...
1
vote
0answers
37 views

Changing admin default setting values

I would like to know if it is possible to change the default admin setting options. This question may seem a bit unnecessary but it is because I have a specifically designed multisite and so would ...
1
vote
0answers
60 views

WordPress Filtering Custom Post Type by Metadata and Search Heirachy

I have a custom Post Type called cptMovie which has two Custom Field (Metadata) "Language" and "Box office" assigned to it. I also have a Custom Taxonomy called movieTax with 4 tax Terms "Action", ...
1
vote
0answers
30 views

admin_enqueue_scripts the same css file as wp_enqueue_style

I am using sass and grunt to merge and minify a number of scss files and using wp_enqueue_style to load the single minified css file which works fine. I have also merged the scss for the admin ...
1
vote
0answers
47 views

What make possible unit test plugins?

This is more a theory related question. I'm not looking at the practical ways to do this, as I can find plenty of example (official and not), which however does not explain how it is possible to ...
1
vote
0answers
10 views

Store partial database to an archive database time to time

As the community knows me that I'm not a PHP Developer by core, but trying to be one. With the company I'm working, I developed many WordPress powered News Portals, where- They publish at least 30 - ...
1
vote
0answers
41 views

Website Loads Twice Unnecessarily

When I use tools.pingdom.com, I can see that my website is loading twice unnecessarily. The first time www.junkluggers.com is loaded, a cookie is set. Then part way through the loading process, ...
1
vote
0answers
27 views

Loading Comments From a Class?

I am not using the function comments_template(). Instead I am trying to load the comments from a Class. There is no comments.php file on the root. Comment Class namespace Core\Views; class ...
1
vote
0answers
22 views

Show List of Terms (not posts) that have been Recently Updated?

Is it possible to prepare a list of terms that have been recently updated? For example: I have custom fields attached to my terms and I would like to show a list of terms that have been updated say ...
1
vote
0answers
41 views

wp_mail 200 response but no mail sent

I'm trying to send email from WP using ajax to validate the form and wp_mail to send the mail. The form is a basic form with id names on the fields The js validtion looks like this ...
1
vote
0answers
54 views

Modify how gallery.js builds the shortcode [gallery …] in tinyMCE?

The post editor helpfully removes default arguments like columns="3" from the [gallery] shortcode. How do you tell it to remove a custom attribute that has a default value? The answer at Enhance ...
1
vote
0answers
42 views

How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite

I have a question that I thought the below thread would provide the answer to, but things in WP have changed so it doesn't quite do it, although it helped my understanding of things. How to protect ...
1
vote
0answers
61 views

Rewrite rule for path of favicon.ico ( Add_rewrite_rule function possible ? )

Hi Wordpress developers ! I'm wondering, is it possible to make by PHP and power of Wordpress following: If user access http://localhost/favicon.ico, is it possible to make show user data from ...
1
vote
0answers
33 views

Theme Inspector “X-Ray”

I looked around and sadly didn't find anything answering this, and I'm almost 100% sure that it doesn't exist but I figured I'd ask this active community. I work in a Rails environment as a Front-End ...
1
vote
0answers
46 views

Form element deleted from first row of WP_Lists_Table

I was trying to add a small input into the posts columns and in the markup that looks like it is working just fine. Using the standard add_filter( 'manage_posts_columns', 'kia_post_columns', 20 ); ...
1
vote
0answers
46 views

custom taxonomy archive by year

there is one custom post type News there are 3 taxonomy terms(like category). 1). press-release 2). in-the-news 3). events i have list out all this three category. now what i am looking for is ...
1
vote
0answers
19 views

Let readers suggest edits from the frontend

I'd like to make my articles editable at the front-end for any reader who visits the site. (More like a wiki). I don't really want to trouble them through the registration process. I have no idea how ...
1
vote
0answers
44 views

Inconsistent handling of /wp-login/ & /wp-login.php

I have a few separate WordPress MultiSite (WPMS) installations that I've been using for testing. In most instances except for the current test, I can access /wp-login/, /admin/, /wp-admin/, but on the ...
1
vote
0answers
118 views

display dynamic content based on url slug on custom page

i have a custom page named locations and i want the url to load like this: /locations/california /locations/nevada etc.. and upon each page load of the given url as above content is loaded based on ...
1
vote
0answers
409 views

Woocommerce displaying product categories and products on custom theme

Am trying to create custom Woocommerce supporting theme in Wordpress. What am facing is regarding the displaying of Product Categories when accessing the main category and 1st level of categories. ...
1
vote
0answers
102 views

How to run custom JavaScript code on gallery attachment image selection

On line 4620 of media.views.js is this: media.view.Attachment = media.View.extend({ ..... select: function( model, collection ) { ..... I would like to add some more features to this ...
1
vote
0answers
129 views

Remove subcategory and category with some rules from permalink

My current option for permalink is set to /%category%/%postname%/: I have a category 'stati' and parent category 'italian', 'german'. This parent category has some other parent category, for example: ...
1
vote
0answers
44 views

upgraded to wp 4.0 - getting convert_to_screen() errors with WP_List_Table

I upgraded my wordpress to 4.0 any my plugin which has a class that extends from WP_List_Table is now throwing this error [30-Sep-2014 21:40:55 UTC] PHP Fatal error: Call to undefined function ...
1
vote
0answers
35 views

Using wordpress templating for html emails

Im working on a plugin that needs to send out an email after a form submission. Im using wp_mail for this, and it works perfectly fine. My problem is that in my code the html is generated by a bunch ...
1
vote
0answers
79 views

Images are registered in media library but still won't show up

I'm working on creating a copy of a wordpress site on a separate domain hosted on the same server as the original. I created the new database with the correct domain and everything is working properly ...
1
vote
0answers
27 views

wordpress archive a user

Please note this question was originally created in stack overflow. I have moved it here due to recommendation. I apologize if this can be answered elsewhere. I tried searching around with no ...
1
vote
0answers
130 views

CPU usage: AJAX and Heartbeat API on admin pages

My (shared) web host recently sent me this: "Our server monitoring systems keep indicating high server load persistently maintained by your website (...). Most of the hits are to the ...
1
vote
0answers
112 views

adding checkbox to meta

I have a custom post type that is working well and displaying/saving all the text fields. The issue is now I need to add 4 check boxes but not sure how to do that. Any ideas? function fitter_info() { ...
1
vote
0answers
17 views

put custom taxonomy slug in front of their respective term slugs

I needed to register two custom taxonomies which partly share some terms. The structure would look like this, when commerce and crafting are two different custom taxonomies: Commerce Furniture ...
1
vote
0answers
31 views

changing comment-page-# to something like review-page-#

When you enable pagination for comments in wordpress the typical pagination page for a comment is "comment-page-1" "comment-page-2" etc. what I want is this to appear like "review-page-1" ...
1
vote
0answers
69 views

Getting Post Thumbnail from RSS feed with SimplePie

I am trying to pull the post thumbnail from an RSS feed to output on an external site. I am using the following function to add the post thumbnail to the site: function rss_post_thumbnail($content) { ...
1
vote
0answers
27 views

How to perform WordPress backups using wp-cli?

I am relatively new to working with WordPress, but I am very comfortable with, and prefer to use the command line. I need to backup WordPress before performing a version upgrade. I came across wp-cli ...
1
vote
0answers
64 views

How to make a customized “Create Gallery” tab in the 'Add Media' window?

I'm developing a plug-in and wanting to make a customized version of the the "Create Gallery" tab of WP v4.0, but have the resulting output (i.e. what gets inserted into the TinyMCE editor) to be ...
1
vote
0answers
23 views

How to optimize the images uploaded through Buddypress Activity Plus in Wordpress

I am using Buddypress Activity Plus in the front-end to upload images. When I upload large images, the site is getting slow. I want to know is there any way to reduce the image size uploaded through ...
1
vote
0answers
33 views

esc_js() breaks unicode sequences by removing the slash '\' character

I've noticed that esc_js() is breaking unicode encoded characters by removing the '\' (slash) character. For example: esc_js('\u041f') returns: 'u041f' I can potentially use REGEX to identify ...
1
vote
0answers
38 views

Trouble adding tiny mce to textarea in custom plugin

I'm using the Sunrise open-source OOP framework to develop my plugin. I am building out a new settings page and I'm having trouble adding in a WYSIWYG/tiny MCE textarea to the settings page. I've ...
1
vote
0answers
29 views

example.com/index.php/%postname is working while /%postname is not working Wordpress on IIS6

client had a WordPress install already running on IIS. when i am trying to change permalink, it is working only with /index.php/%postname. my site on IIS6 also created web.config file with below ...
1
vote
0answers
10 views

automatic plugin install availability: server configuration

This link shows how it may be possible that WordPress may not be able to download and install a plugin via its web interface (known as automatic plugin install). However it may be still be able to ...

15 30 50 per page