0
votes
0answers
10 views

Hook to process a new taxonomy tag before it is created?

I am working on a website where there is a custom taxonomy for places, which can be either cities or states. The users are supposed to tag each post with a city and a state. To deal with ...
1
vote
1answer
15 views

WordPress master + child themes + Git workflow

I've been trying to work out the best solution to develop several WordPress sites using the following, but can't seem to decide what the best workflow would be. I got a master site - WordPress A. I ...
0
votes
1answer
17 views

How to filter customize_loaded_components from a theme?

I have written a WordPress theme which uses the customizer a lot. I would like to de-register the widgets panel (I have my reasons). Currently, I'm doing this: /** * Our class for altering the WP ...
0
votes
0answers
5 views

Problem with Taxonomy Images plugin

I'm using Taxonomy Plugin to connect images to categories, but the problems appear when I tried to keep only one category to list images. I change this: <?php print apply_filters( ...
0
votes
0answers
28 views

Custom post type and category link together

I have issue with making new page for this : Category link is : /category/category_name But I want to be : /custom_post_type/category_name Custom post type code $labels = array( ...
0
votes
0answers
12 views

Show avatar, alternative avatar, or blank avatar

On author.php, I am already using the following get_avatar code with fallback, to 1) show a user avatar or, 2) if none is present, show a generic avatar_default.png: <?php echo ...
0
votes
0answers
8 views

Implementing a javascript carousel [on hold]

I attempted to add this code into my website, using the MH lite Magazine template and it made my site crash. How do I implement this code into my site to display the carousel with images? Here is ...
2
votes
1answer
13 views

Override plugin localization

Is it possible to override the localization files provided (or not provided) by a 3rd party plugin? A plugin that I'm using now doesn't have any language files but I want to avoid having a future ...
0
votes
1answer
16 views

How to order users alphabetically by name? in plugin UPME

I have this code: <?php class UPME_List_Cards { public $upme_options; public function __construct() { global $upme; add_shortcode('upme_latest_members_list', ...
0
votes
0answers
11 views

Front end post submit with custom taxonomy and category

On my website i'm buildng a front end post publishing based on this article. All my posts have both category and a custom taxonomy. The problem is that I can't find a way to save both default ...
0
votes
1answer
14 views

How to make picture appear on wordpress site shared link?

I would like to know how to make a piture appear on the thumbnail to the left of the text when I share a link of my wordpress on facebook. I dont post any images to the website, but would still like ...
0
votes
1answer
16 views

If Portfolio item has tag, add CSS

I've recently purchased the Stockholm theme and am trying to customize it: I would like to have the ability to mark certain Portfolio Items as being 'SOLD' with black squares in the top-left corner, ...
1
vote
0answers
24 views

add_filter() function misunderstanding

I'm studying the theme "one page" and there is the following code: function onepage_sections() { $sections = array(); $sections['service_section'] = array( 'id' => 'service_section', ...
0
votes
1answer
17 views

How do you override the default comment template?

I have a custom user database that is integrated with a wordpress website using a custom built plugin. I also want to integrate this user system into the comment system. I have found and completed ...
0
votes
0answers
11 views

meta_query in $args ignored when called from theme

I have the below function in my plugin in the MyManager class. public static function test() { $numRowLimit = 6; $arrArgs = array( 'posts_per_page' => $numRowLimit, ...
0
votes
0answers
15 views

Changing home page url depending on user login

I need to change the home WordPress page depending on user type login, When one user login with type='subscriber' I need to redirect this user to another private page and change home URL. I tried it ...
0
votes
0answers
10 views

Add 'Last Modified' and Attachments (Yes/No) to WordPress Users Column

I was wondering if someone can put me on the right path in regards to adding additional columns that show the last modified date and if a user profile has attachments. Ideally I'd also like to be able ...
0
votes
2answers
30 views

Certain number of posts with certain excerpt length

Could use some help... using this code to call up a custom number of posts from a certain categorey and only want to display the first 15 characters. However, it is showing the same excerpt on each ...
-2
votes
0answers
7 views

How can I extract all products (and their attributes), and display+order them as text/links in a table? [on hold]

My client is giving courses/training, and his customers can order their place through Woocommerce I made the attributes 'date' and attribute 'time'. For 'date' there are 3 values; august 4, august 8, ...
0
votes
0answers
8 views

Strategy for organizing JSON/tabular data the wordpress way?

Situation: Have to import about 20-100 JSON objects into wordpress, which will NOT be displayed at all, but will be processed with other data for view. Example JSON input: { "headers": [ ...
0
votes
0answers
5 views

Post URL duplication adds numerical value

I thought that belonging to these different categories url naming posts the same would be treated as distinct. Categories: Home Hotel Posts: street street URL generated: ...
0
votes
0answers
5 views

submenu item under other top level menu and change some fields

I would like to add the 'Add new' user submenu to have a different name(in the menu) and under a custom top level menu that I created. I have removed most of the standard admin menu and replaced it ...
0
votes
1answer
8 views

get_user_by asking for string while string is given

I've added an extra field to the login form. When trying to get the user's value of that field(before checking if it's equal) I have a get_user_by('login', $username);. $username being an email ...
0
votes
0answers
9 views

How to bypass browser popup when using web service in wordpress? [on hold]

When I hit this http://username:password@siteurl.com it will give pop-up in browser. How to bypass this? Thanks.
0
votes
1answer
15 views

Wp_mail doesnt work

I created a form for mail sending, but it does not work. Email function is enabled in php. if (!$error_msg) { $to = "mail@to.send"; $headers[] = 'Content-Type: text/html; charset=UTF-8'; ...
0
votes
1answer
16 views

Help to upload post attachments from Ajax

My problem is that I cannot upload post attachments from a frontend form. I send data through AJAX to my php files containing functions. Let me be clear: everything is working great, the post is ...
0
votes
4answers
30 views

Hide Image On Wordpress On Single Page

Sorry, I know this kind of question has been asked before but I can't quite figure it out. I'm trying to hide the city image on this page: http://learnenglish20.com/buy-tokens/ I put this CSS in ...
0
votes
1answer
12 views

Login_form add to top of form rather then bottom

I have added a 3rd field on the login page, but it shows at the bottom(underneath password) while I would like it to show above Username. How can I manipulate the order of fields? This is the code I ...
0
votes
1answer
27 views

Foreach inside foreach

I got two taxonomies: "Colours" and "Recommended Colour" both have the same terms (same colours). I want to display a list of all terms of the taxonomy "Colours" and mark one colour as recommended. ...
-2
votes
1answer
12 views

How to attach multiple images to post title using front end form and retrieve them? [on hold]

Photo //upload to dashboard $_POST['fname'], 'post_content' => $_POST['message'], 'post_status' => 'publish', ...
0
votes
2answers
8 views

$wpdb->last_error deosn't show the query on error

I am inserting data in the custom table using the $wpdb->insert. However, upon error I don't seem to get any information from $wpdb->last_error. What could be the cause of this? I already have ...
2
votes
1answer
25 views

(un)wptexturize() — is it possible?

I have some text stored in a string $text that's filtered through the_content and therefore, wptexturize(). wptexturize() is a function that replaces various characters into more prettier ones. Is ...
0
votes
0answers
14 views

Redirect loop after changing nameserver

my site is https://techyuga.com. Yesterday, I tried to change the nameserver to CloudFlare nameserver. But after that,I am getting infinite redirect loop on my website and I can't even log in to my ...
-1
votes
0answers
8 views

woocommerce download product only show to member who purchased it [on hold]

Hello I have a wordpress website and I created some downloadable product when purchase is completed it shows them their download link And I set it to redirect so if it a video they can see it in ...
0
votes
1answer
24 views

inline css causes multiple copies

This is a question that' stumpled me and I don't know how to ask the right question. If the question is labeled incorrectly, please rename it. I'm using an inline CSS to make the featured image a ...
0
votes
1answer
17 views

WP 4.5 hide core customizer sections

Since WP 4.5 the way you hide core components from the customizer was changed. Changed from $wp_customize->remove_panel() to customize_loaded_components. ...
0
votes
1answer
14 views

Listing posts with wp-cli

I use wp-cli to export some posts from my WordPress database. I'm trying to understand the differences in behavior that are exposed in the example below: $ wp post list --path=/var/www/home-web ...
0
votes
0answers
7 views

Wordpress Woocommerce Assign Slider to Product Category [on hold]

I would like to assign a custom image slideshow to a 'WooCommerce Product Category', Can anyone make a suggestion as to which plugin would have this functionality?
0
votes
1answer
17 views

What Does “Cannot modify header information?” Mean

I have come across a rather concerning issue with my theme that continues to crash my site whenever I enter a new post. I turned on debugging and I'm given the following errors messages: Cannot ...
0
votes
1answer
18 views

functions.php adding item to end of menu. I want to change position

I found a function in my template that is adding a register button to the end of my menu. I'm wondering if there is any way to make this function add the register button to the beginning of my menu ...
-2
votes
0answers
25 views

Theme oddly broken when updating from 4.4 to 4.51 [on hold]

My Wordpress theme seems to break and look very bad when I update from Version 4.4 to Version 4.5.1. I can't work out how to fix it but it appears that the styling is coming from a common.min.css - ...
2
votes
2answers
86 views

Search & Remove Specific Shortcode From All Posts

Question Is there a way to remove a specific shortcode, say [print_me] from all the posts where it appears in one shot. And I don't mean mask it or filter it so it doesn't show up while it stays in ...
-3
votes
1answer
33 views

Twenty sixteen - full height

I want the twenty sixteen theme to "fill up" the height even if the page is empty. So.. If the content does not fill it up, it will be minimum full height.
1
vote
0answers
16 views

How do I authenticate WP users from a chrome extension?

I'm new to WordPress, and I need help. I am writing a chrome extension and intend to use wordpress as the user database. I intend that because I'm using a subscription management WP plugin that keeps ...
-2
votes
0answers
21 views

Add home page image slider and different sections [on hold]

I would like to build home page in which i would like to add home page image slider with action video or link button in each image. I would like to add different sections listed as below. ...
0
votes
0answers
8 views

Exporting a multisite DB for a single site production site

So I have a wordpress multisite that houses all of my client test sites(14). This means that its all one database obviously. This client is now ready to go live on a single wordpress instance so I'm ...
-3
votes
0answers
18 views

Category Name in WP_Qurey

When I run this query the categories name the same , all item with categories name "News", I can not define the issue . You can find the code in this link
0
votes
1answer
13 views

get_page_templates only return templates with “home” in the filename

I have the following custom page template filenames: template-about-1.php template-about-2.php template-home-1.php template-home-2.php I have this function to get_page_templates: function ...
2
votes
1answer
13 views

Getting results from wp_oembed_add_provider

I'm having trouble getting results from wp_oembed_add_provider(). I'm developing a site which needs to embed video content from Facebook, and I came across this handy list of Facebook URL structures. ...
0
votes
0answers
13 views

Update get_page_templates function to pass template filename into select option value [duplicate]

I am using the following function to pull page templates into a select menu in WordPress' Theme Customizer: function get_page_templates_select() { $teh_cats = get_page_templates(); foreach ( ...

15 30 50 per page