1
vote
1answer
22 views

Multiple TinyMCE editors in dynamically generated textareas

I have text-areas dynamically populated in the admin section of my custom post type. <div class="media_div"> <span>Media</span> ...
1
vote
1answer
38 views

How to delete transients written by fetch_feed()?

I'm using fetch_feed() to cache external rss sources displayed in a widget. in case the widget (or, more likely, the whole plugin) is deleted/deactivated, i want to manually delete all related ...
0
votes
1answer
34 views

Show template loaded

Is there any way to see what .php files are being loaded for a particular page? So say I have a page - www.example.com/page - and on it is loading the header.php, sidebar.php, footer.php, and the ...
0
votes
0answers
9 views

Show custom image size smaller in editor

I have a custom image size which editors should be able to use in their posts. I already managed for the custom size to show up in the add image dialogue, so that part is fine. On the destop version ...
0
votes
1answer
56 views

add_action and remove_action if custom field exists

I know this may be off-topic as it has to do with Genesis (a premium framework), but with general WordPress, this has to do with running a remove_action and an add_action depending on if a custom ...
4
votes
0answers
23 views

Override Wordpress user with Oauth2 account

My first time here, so I hope this question is in the appropriate place. I am trying to setup Wordpress as an OAuth2 client. All of our users are stored in our proprietary CMS which is an OAuth ...
1
vote
0answers
7 views

Password Reset for Users on a Multisite Subsite

I have a multisite network. I want my users to be able to reset their passwords while staying within their subsites. So for example clicking the "lost your password?" link keeps them within their ...
0
votes
0answers
4 views

Set the WPML language of a post submitted through GravityForms [on hold]

I have a working system to submit instances of a custom post type through a form using GravityForms. The requirements for the project have changed now and require WPML and a way to duplicate the ...
0
votes
0answers
11 views

Use A site wide variable in multiple pages content [on hold]

Let's say I have a wordpress site with two pages. On both pages I have a irregularly changing piece of information. For example the color of the shirt I am wearing at the moment. I most likely do not ...
0
votes
0answers
24 views

Getting a term_id given a term_taxonomy_id?

Basic question: If I have a term_taxonomy_id, how can I get the term_id? I thought I could get the term object by get_term_by('term_taxonomy_id',$ttid,'my_custom_taxonomy'), but WPML localizes it - ...
0
votes
0answers
11 views

WooCommerce make coupons mandatory? [on hold]

I was wondering if it was possible to make the coupon field mandatory on Woocommerce. I know that this is possible using functions, however this is slightly above my current skill level so I was ...
0
votes
1answer
19 views

New User Notification - Setting Email

When a new user registers an email is sent to my email address. When I created the site the first admin account was mine using email address (a@a.com) I want to change which email is sent a new user ...
0
votes
1answer
19 views

What is a PHP firewall plugin? [on hold]

I would like to know what do PHP firewall do and do they protect all wordpress sites even sites that are not written in PHP.
0
votes
1answer
14 views

Problem in using Customizer

Looking for some help with a customizer problem. I am using following codes to create a customizer which will allow me to upload an image for topic of the week section. owever, the following codes ...
0
votes
2answers
24 views

Hide thumbnail if there is a gallery on the post

In a post I want to always show one of two options- If the post has nothing but a thumbnail image show the thumbnail. If the post has both the thumbnail and a gallery then show the only gallery ...
-2
votes
0answers
35 views

Already has more than 'max_user_connections' active connections wp-db.php

ERROR : mysql_connect() [function.mysql-connect]: User already has more than 'max_user_connections' active connections in /nfs/c09/h01/mnt/12345/domains/domain_name/html/wp-includes/wp-db.php on ...
0
votes
3answers
48 views

Paginate get related post by author function

Is it possible to get this function paged? I've tried to add previous and next links but i'ts not working... function get_related_author_posts() { global $authordata, $post; ...
0
votes
0answers
29 views

Prevent repetitive terms in get_the_term_list

I've created a custom taxonomy 'work_category' for a custom post type 'works'. Then I added 5 new work categories and assigned them to every single 'work'. I've used get_the_term_list to print out a ...
0
votes
1answer
67 views

How can I see a list of my Custom Post Types of the last term I was in?

Sorry about the title I do not know how to put the question in the form of a title very well but my question if very descriptive. Iv been meaning to asking this question for a while now and would ...
0
votes
1answer
17 views

Check if redirected from a specific page template

I have a page template, which redirects to the homepage using this: wp_redirect( home_url() ); Now, on the homepage is it possible to check if it has been redirected from a specific page template ...
0
votes
1answer
8 views

Multiple post image, echo url (path of image)

Currently I'm trying to create a large header (jumbotron) on my website. The large header is loaded as inline css with the following code: <div class="fill" style="background-image:url('<?php ...
-2
votes
0answers
10 views

JetPack Infinite Scroll on live site [on hold]

I'm using JetPack and it's module Infinite Scroll. On localhost it works perfectly, but when I upload my website to my hosting the module can't be enabled and the settings page of the plugin is not ...
0
votes
1answer
32 views

How are the HTML classes generated?

I've just created a "full-width" template page for my theme, allowing me to set the width of the site content to maximum if there are no sidebars active. What I've noticed is that this gave me a HTML ...
-2
votes
0answers
24 views

Woocommerce - How to add new Google “no Captcha” reCaptcha into frontend registration form [on hold]

I need to use the new Google "no Captcha" reCaptcha in frontend Woocommerce registration form page. I've inserted following code before the < / head > tag: <script ...
0
votes
0answers
17 views

Ajax take too long to return code

I'm bulding a new web site and I need use ajax to search and return some pages/post. I don't know the problem but my ajax need 2s or 3s to return the HTML structure with the page and some photos (this ...
1
vote
0answers
17 views

Compare meta_query with a Regular Expression and do a less-than operation on it

I have the problem that my client is using a theme which stores options of items in a serialized way in the post_meta table. I already found out that this is not the best way to save values ...
1
vote
1answer
8 views

Deactivate plugins using Migrate DB's find and replace options

If possible, how would I go about disabling plugins using the Find and Replace options the Migrate DB plugin offers? What I hope to achieve I use Migrate DB to bring copies of production DBs down to ...
0
votes
0answers
9 views

How to open full Media Editor in a frame

I'm oppening media editor with this code jQuery(document).ready(function($) { var frame; var id; // Build the choose from library frame. $(document).on("click", ".upload_image_button", function() { ...
0
votes
0answers
18 views

Downloading file from wp-admin folder

How do I download file.csv? '/var/www/vhosts/example.com/box/wp-admin/file.csv' Tried like this and a bunch of other ways but no luck echo '<a href="example.com/box/wp-admin/file.csv" ...
0
votes
1answer
22 views

URI rewriting: handling one page

Here's what I'd like to do: make Wordpress think that my page called "toto" can be called from "/toto" but also from "/toto/{alphanum char}" I dont want to make a special rewrite rule, because I dont ...
-2
votes
0answers
7 views

How to Protect Checkout page via SSL only [on hold]

How do I setup my site so as to have the checkout page protected via SSL but only that page and no others (except the admin login page)? So I want users to be able to go the checkout page, have it ...
0
votes
1answer
20 views

How to protect login via SSL but not the rest of the dashboard

Is it possible to have a site's login pages protected via SSL but then have it revert back to http:// for the dashboard pages? I am finding that https:// in the dashboard slows down my experience.
-1
votes
0answers
7 views

Comment Form Get Email [on hold]

How to get the email after submitting the form successfully? I need to get the email for integration. I tried searching but I can't find better answer.
-2
votes
0answers
11 views

Font awesome wordpress [on hold]

I'm looking for a "Genie lamp" in font awesome wordpress plugin. I tryied fa-eye but don't work. Anybody knows if i can get it? Thanks
-1
votes
0answers
6 views

Point system for social shares [on hold]

I'm wondering if there is a plugin that will award users points for social shares (twitter, facebook, pintrest, etc...). Does anyone know of any? Thanks, Todd
1
vote
2answers
33 views

How to get an image url from media library

I have got an attachment id, but I need an url. How can I get an url from the attachment object? // When an image is selected, run a callback. frame.on( 'select', function() { // Grab the ...
0
votes
1answer
14 views

Use custom get results query to show posts WordPress

I have this code before to show posts. $query_args = array( 'post_type' => 'post', 'posts_per_page' => 4, 'meta_key' => 'Views', ...
0
votes
0answers
11 views

Performing a curl request to Google Places API [on hold]

I am trying to display business hours on a single post page using a Google API CURL Request. This worked outside of wordpress, but gets an "INVALID_REQUEST" error when in Wordpress. I added the ...
0
votes
0answers
38 views

How to create WordPress plugins that are closed source? [on hold]

How would someone go about making a WordPress plugin closed source when at the same time the person has to download all the .php scripts to install.
0
votes
1answer
20 views

Filter and Order by Multiple Custom Meta Values

I am trying to query a custom post type, order by a custom meta value, and only display posts with a different custom meta value. I am able to do each independently but not both at the same time. ...
0
votes
0answers
7 views

add a class to fields from woocommerce products add-ons to hide with jquery [on hold]

I am using woocommerce and the product add-ons extension to add 3 groups of fields to certain products in my shop. There are many fields, up to 23, for some products. What I am trying to accomplish is ...
0
votes
0answers
6 views

woocommerce : refund a sample at the next order [on hold]

On my site I will sell products (full size) and samples so that customers can try before buying the full size. The idea is to sell the samples at a very cheap price, just enough to cover shipping ...
0
votes
2answers
22 views

How to stop permalink redirects for a particular slug

I have a large number of posts that each represent a very specific type of data. Each post title is the SKU for the data & information. Folks have become pretty savvy on the URL structure and ...
0
votes
0answers
15 views

Referencing js files with roots 7.0.2 [on hold]

A little help needed on roots wordpress theme... Although I am not new to roots as such, clearly things are a bit different since the last couple of updates and I want to take full advantage of the ...
0
votes
0answers
21 views

Should I store multiple data in a single wp_post field

I hope this is the right place to ask this question. I have chosen to work in a Wordpress environment so this should apply here. I have to design an application that will store hundreds of thousands ...
1
vote
2answers
28 views

Password protecting content in custom template

I'm trying to password protect content in a custom page template, however when i enter the password i assigned in the backend, it doesn't authenticate, instead just reloads the page upon submission. I ...
0
votes
1answer
33 views

Understanding wp_enqueue_style

I am trying to understand how wordpress works, but I am having issue understanding how wp_enqueue_style(), wp_enqueue_script() works in relation to page output. From my understanding, these functions ...
0
votes
1answer
17 views

Wordpress unescape text on mysql?

on database i have field desc with value \'test\' actually the input is 'test' when i gather the field for display it on table, it show \'test'\ not 'test' anyone can know how to change the value ...
0
votes
1answer
18 views

Wordpress pulling in random page themes

I have a website that has multiple custom templates -- a variety for pages and a couple for custom post types. However, WP is now screwing it all up. For instance: All of the pages that were setup ...
0
votes
0answers
15 views

How can i upload files to a dir other than media library

I am developing a custom plugin . That plugin need to have upload functionality which will not be images and should not be seen in media gallery . How can i set a custom upload directory which can ...

15 30 50 per page