1
vote
2answers
33 views

Two functions.php files in one theme

I am creating a WordPress Framework and within it there is the standard functions.php file. I will create new themes based on the framework which will use the framework functions.php file but have ...
-1
votes
0answers
8 views

WP eCommerce plugin: applying different shipping types to different products [on hold]

I have a two sets of product: one ships with flat rate shipping and one uses the shipping calculator. Currently, products with calculated shipping are processed as expected. Products with flat ...
0
votes
1answer
14 views

Suggest Users basing on User taxonomy

My question is for getting informations or directions about how to move for a task I have to do. This is just a request for advices due to the fact I'm not an expert in wordpress development. My task ...
-1
votes
0answers
38 views

No button is working in Wordpress 4.5.1 [on hold]

I'm with WP 4.5.1 and no "buttons" is working in WP. All links works, and also "real buttons", but for example, "screen Options", "Help", and all JS interactions are not working. When I open Chrome ...
0
votes
0answers
16 views

Customizing a category archive page through plugin

I have created a plugin that adds a custom post type called "Activities". This post type's archive shows all the categories, and then the categories each have a page that includes the posts contained ...
0
votes
0answers
17 views

My Wordpress editor deletes all characters after emoji - how can I fix this?

Here's my issue: I have an Instagram post that I want to embed. I go to Instagram, I get the embed code, which includes emoji, I paste it into the WP editor on a new post (note that I am on the "text" ...
-1
votes
1answer
25 views

Multi-site Installation in Wordpress | Security & Future Migrations

I think from just one dashboard we can install WordPress on multiple domains. Suppose I have a website say samplesite.com and a subdomain blog.samplesite.com or - samplesite.com/blog/ 1. ...
0
votes
0answers
10 views

install problem can't find wp-load.php file

This is probably a simple problem, but can't figure it out... 1) I installed the wordpress file directly under the xxxx directory; wp-admin, wp-content, wp-includes are all within wordpress file. 2) ...
0
votes
0answers
13 views

Multi-step Frontend Filtering to Reveal Content

I'm not even really sure the best and easiest way to go about doing this - or what the right verbiage is to properly describe what I'm wanting to do. On my site I'm looking to change this selection ...
2
votes
1answer
20 views

.htaccess file redirecting to parent directory

I am creating separate WordPress installations in several subdirectories of one domain. At first I was getting a 500 Server Internal error.. so I created the .htaccess file and uploaded it to each ...
0
votes
1answer
24 views

Display list of terms having the same custom field value

I have a custom field for my taxonomy called 'food_type'. How can I display a list of my terms where this custom field's value is set to "Cat food"?
0
votes
1answer
20 views

Enque Typekit Fonts - Not Found

I'm trying to enqueue a typekit on my WP site in a function using code below: /** * TypeKit Fonts * * @since Theme 1.0 */ function theme_typekit() { wp_enqueue_script( 'theme_typekit', ...
1
vote
0answers
23 views

Use author author display name in permalink structure for pages and posts

I need to add the author name as a subdirectory prefix for all user's posts and pages. For example: example.com/johndoe/ //The author page for John Doe example.com/johndoe/category/test-post/ //Test ...
1
vote
1answer
24 views

Wordpress Database lost auto increment

After rolling back a Wordpress database to a backup version it seems that all the tables lost their auto_increment on the primary key columns. I read on another post this could be to do with InnoDB ...
0
votes
0answers
13 views

Encoding error when importing blog to new website

when I import my old blog (OLD) content to a new website (NEW), it messes up the file names in the uploads folder (more specificaly, it turns images containing special characters like ...
0
votes
0answers
16 views

Use remote image URLs as featured images/thumbnails

I'm working to migrate a site from Drupal (version 6) to WordPress (4.5.1). It has ~50,000 posts, almost all of which have one main image that appears in a large version on the post itself, and in a ...
0
votes
0answers
11 views

Remove/Disable “Automatically add new top-level pages to this menu”

Is there any way to disable or remove the "Auto add pages - Automatically add new top-level pages to this menu" functionality via a theme? I suppose I could hide it with a bit of CSS, but I'd rather ...
-1
votes
1answer
14 views

Creating a dynamic field for Contact Form 7

Trying to find help building a Contact Form 7 for Wordpress. I have installed the Contact Form 7 Dynamic Text Extension and used the dynamic text field tag that comes with this plugin my goal is to ...
0
votes
1answer
20 views

I need to hook and change language of facebook sdk

I need to hook into this function to change language to from en to french facebook sdk. $facebook_sdk_src = apply_filters( 'bimber_facebook_sdk_src', ...
1
vote
1answer
34 views

Is there a way to get 3+ dimensional array from a single MySql command

For example an array that has all the months, inside each month are all the users registered that month, and details on every user. I could solve it by simply searching for all users registered this ...
3
votes
2answers
27 views

Where to hook into post content?

Which hook or filter is used to edit the post content before the_content filter is applied to it. For instance, if I wanted to add Hello World, as the first text in every post.
0
votes
1answer
17 views

Multi site installation with multiple domains ie(www.exampleone.com, www.exampletwo.com)

I want to do a multi site installation of 13 websites with 13 different domain names. ie www.exampleone.com,www.exampletwo.com etc. I have seen examples of multi sites in Wordpress with sub domains ...
0
votes
0answers
12 views

WP_Query only displaying one post with custom_taxononomy

I’m attempting to show all posts attributed to the taxonomy item "people", though my query is only displaying one post with the following code. Any suggestions much appreciated! <?php // query ...
1
vote
0answers
25 views

The word 'exit' in a content box causes WordPress to serve a 'Not Found' page

I've been developing with WordPress for years, and this is a new one. When the word 'exit' is included in the content of a post, even if inside another word like 'complexity', the post will not save. ...
-1
votes
1answer
22 views

Get all terms assigned to a post from different taxonomies

There are different taxonomies. I have assigned different tags from these taxonomies to different posts. Can anyone help me to get all the terms which are assigned to a post. (Different terms from ...
0
votes
0answers
26 views

First hook to use current page post id

I'm trying to find the first hook that will pass the current post ID, as I would like to update the current post (by getting its ID) and the variables submitted to that page. This is the code I'm ...
0
votes
0answers
7 views

Show Sub categories based on categories on admin category taxonomy pages

Newbie to wordpress.Need to show the sub categories in table when category selected.Managed to display categories as dropdown shown below but stuck how to show the sub categories based on category ...
0
votes
0answers
9 views

Controlling visibility of files in the Media Library?

A part of the site I'm currently working on includes an expenses section where the user can upload expenses and attach files to them. This is currently achieved through a custom post type using an ACF ...
-3
votes
0answers
13 views

Is there any way to stop email notifications for only those orders that are created with rest api? [on hold]

Is there any way to stop email notifications for only those orders that are created with REST API ? I am sending additional post meta in REST API order and want to stop email notification for only ...
-4
votes
0answers
10 views

How to retrieve data from mysql and storing in option html tag? [on hold]

How to retrieve data from mysql and storing as an array in option html tag? I want to filter the data by "Position" with dropdown. I have a snippet but the data is not display in option tag Link ...
1
vote
0answers
23 views

Following Web Performance Optimization techniques to output static and dynamic css

I have always felt the way styles are handled in WordPress is not optimal regarding the web performance optimization (WPO) techniques that are related to css. From a theme developer point of view, ...
-3
votes
0answers
5 views

edit small tag but only for for my checkout

I have installed woocommerce subcriptions on my website. I notice that after adding products and checking out my shop. Once I add an item to my cart and view the cart. it tells me the renewal date is ...
0
votes
0answers
9 views

This works on posts and pages in admin and comments in frontend but not in user generated post…any help?

function abc() { add_action('comment_form', array(&$this, 'comment_form')); //add Type Pad to comment form add_action('user_form', array(&$this, 'user_form')); //This one is added ...
0
votes
0answers
43 views

Shortcode works from functions.php but not from included file

I have put the shortcode for an extension I am building in the same file where that extension (meta box) is located, at the end of the file like: function my_shortcode_callback( $atts ) { $atts = ...
0
votes
0answers
16 views

How to install plugin without dynamic DNS

I have an WordPress site installed on my laptop. Now I wants to install a plugin but I don't have an dynamic DNS (e.g. www.example.com). I only have the local IP address (e.g. 192.168.0.100). Now when ...
-1
votes
1answer
21 views

jQuery append only works if I select html in admin section [on hold]

The following jQuery code works as expected, in that it inserts the specified html after the closing tag. $( "html" ).append( "<div id='bf_rsvp_note_display'></div>" ); However, that's ...
-1
votes
1answer
20 views

WooCommerce - Getting variation ID from attribute values

I am building a WooCommerce store and am adding variable products to the cart programmatically after submission of a Gravity Form. I am getting the data from the form and includes the product_idas ...
-2
votes
1answer
23 views

How to set the homepage of Travelo wordpress theme? [on hold]

I'm working on Travelo wordpress theme. I have imported the .xml and the widget files as well to enter the Sample Data and then change the information manually. But I don't have a homepage.. it looks ...
1
vote
3answers
28 views

How to fetch an array in $wpdb?

I have a snippet that will select a data from database table. But I encounter an error: Warning: Invalid argument supplied for foreach() I encounter a new error: Notice: Trying to get property of ...
-2
votes
2answers
27 views

How do you get parent and grandparent categories

I'm wondering how you can receive a categories parent name and link for a breadcrumb I've written. I basically want to have the following structure if child category blog > parent_category else ...
-1
votes
0answers
9 views

My post not publish yet and without any error show

I have problem in my Facebook instant articles by using WordPress. The problem is show me like this picture : http://i.stack.imgur.com/ot8A5.png When open to edit and show error, its show me: ...
1
vote
0answers
17 views

Set subdomains live in a next step

I'm running a site on a different CMS and we are switching to WordPress soon. At the moment, there are sites like domain.at, sub1.domain.at and sub2.domain.at, served by one installation of the old ...
0
votes
2answers
41 views

How to get a single hook from wp_head()?

I am working on a custom post type and I don't want it to get all the clutter from wp_head(). However, I do want to show a specific hook, for example the YoastSEO meta tags. How do I call a specific ...
0
votes
1answer
23 views

How to Duplicate (multiple meta box)?

I've made a meta box field which works nice, but now i need to add one more. For the past few hours I've tried to mix every piece of it, to duplicate it, take some parts, google, search, and no luck. ...
0
votes
1answer
23 views

Custom Login Plugin Redirects to wp-login.php After Site Migration

I am using a custom login plugin I made for my site, it was working fine before migration but now it redirects to the wp-login.php page. Old Site -> http://prep.kevinmamaqi.com/ (still available ...
0
votes
1answer
22 views

wpdb query on custom table not working

I want to show one custom table from my database on which WordPress is installed. So I googled this code: <?php $results = $wpdb->get_results( $wpdb->prepare("SELECT * FROM ...
0
votes
1answer
16 views

Make a plugin page out of influence of the theme's style

I have to make several change to my style to be with what i want, when i export a project to a wordpress plugins : Based on this : When including it into a plugin, i finally got this : This ...
0
votes
0answers
17 views

Angular js template to wordpress theme conversion

Hi all currently i am working for angular template conversion to a wordpress custom theme development, I can able to fetch the post data, I am bit get stag with getting our menu's as dynamic. Here is ...
1
vote
1answer
21 views

pass query string on url to filter media

I have an author page which shows all uploaded media by that author. Each media can have tag1, tag2 or tag3. I would like to add an option where I can show on that same page only tag1 media without ...
0
votes
0answers
20 views

Terms showing empty inside a loop

I have the following problem: I have 2 taxonomies that belongs to a custom post type What i want to do: Loop = taxonomy 1 loop = taxonomy 2 loop = post type My code works but, it shows ...

15 30 50 per page