0
votes
0answers
4 views

How to get custom post type taxonomy

I have created a custom post type as portfolio_posts using CPT UI plugin. Using the same plugin, i have created a taxonomy named as portfolio_category. I have made multiple entries under this ...
-1
votes
0answers
4 views

Move Woo-commerce variation sale price below actual price [on hold]

I want to move the sale price under actual price for variation, I manage to do this for product summary part but not able to find any filter for variations. Please see the image below. I have ...
-2
votes
0answers
6 views

Paypal IPN 403 Error on live site. But sandbox working [on hold]

I am trying to get ipn from PayPal. I am using PayPal Framework Plugin to receive ipn. When I turn the site in Sandbox mode. It receives ipn and save it, When I move to live paypal. It has failed to ...
0
votes
0answers
5 views

The custom “Delete Post” button works only on second time you click it

I created a delete button on frontend for blog posts and custom type posts and I would redirect to a specific page after deleting them. The code that I used for the deleting url is: add_query_arg( ...
-1
votes
0answers
7 views

Plugins combinations for handling question flow

I'm searching for a WordPress configuration or a set of plugins to do the following: Register a user, with two different profiles A and B Each registered user can see different private area (A see a ...
0
votes
0answers
9 views

wp_insert_term doesn't work with custom post type's tax

Here is the problem I am having: I have a custom post type called "developer" This custom post type "developers" has a custom taxonomy, "developer", hierarchic I want to programmatically insert into ...
0
votes
1answer
23 views

Are php template shortcodes ok?

Can I just get everyone's ok that using shortcodes embedded within templates is the 'correct' thing to do? I've tested them and they work just fine - but I just wanted everyone's thoughts. Thanks ...
0
votes
0answers
8 views

How to be able to translate literals with WMPL? [on hold]

Lets say I have this in the footer.php <?php _e('cookies-bar-text','brand-viajes'); ?> But when I search for the literal in the WPML literals translation: ( it's in spanish but the no ...
0
votes
0answers
13 views

Get page tag and load custom posts with same tag

I've added the tags support for pages using this plugin: http://wordpress.org/extend/plugins/post-tags-and-categories-for-pages/ And I've added tags support for the custom post: function ...
0
votes
1answer
7 views

Get posts with multiple meta values

I have a ACF select field which takes multiple value. Now I want to use get_posts() to get those custom posts. My arguments look like this: $party = 'test1'; $function = 'test1, test2'; $args = ...
0
votes
1answer
13 views

Removing blank spaces from scripts to reducing page load time

I am currently working on an entertainment website and I am having issues with page load time. I would love to know if there is any method I can use to remove blank spaces from PHP, JS , CSS scripts ...
3
votes
3answers
16 views

Why does the_content not work like others for a set post id?

Here's something odd, I want to print out a certain post on any page request, if you have a constant $idnumber of your favorite page/message, then add: $GLOBALS['post'] = get_post( $idnumber ); ...
1
vote
0answers
8 views

Filter out comments with certain meta key/s in the admin backend

Not long ago I learned how to add and filter comments on posts/pages with certain meta key/value and it works fine now. Now what I want is to do two things on the backend (/wp-admin): Filter the ...
0
votes
0answers
19 views

How can i make my child theme editable by html and css?

I want to edit my child theme with CSS and HTML. Ideally i would like to edit my child theme files on my computer and then through filezilla make the changes to my website, but nothing is happening. ...
0
votes
1answer
24 views

1+1 php counter inside the update_post_meta

how do you create a 1+1 php counter inside the update_post_meta? this is the code i have so far: $count = 1; update_post_meta($bid_id, 'draftnumber', $count++); but the counter is not moving, so i ...
0
votes
0answers
7 views

How to enable htaccess rules for MultiSite mapped subdomains?

Running a multisite network, setup with subdomains. Hosted on a Pagely VPS. Using WordPress MU Domain Mapping for all "live" sites in our network. Attempting to better page speed scores, and am ...
2
votes
0answers
8 views

Admin settings update updating every time home page is hit?

I have created a plugin that sends an email with all orders placed that day by X o'clock to email Y. I followed the tutorial here: https://scotch.io/tutorials/how-to-build-a-wordpress-plugin-part-1 ...
-2
votes
0answers
24 views

Shortcodes do not work in own template

I have a big problem rendering the shortcodes. I designed a template for my Tennis Club which works very fine. But now I wanted to integrate the standard WordPress Gallery, which is implemented by a ...
0
votes
1answer
15 views

embed our website videos in another website like youtube

I have a wordpress website and i put videos on it. how can i embed my videos like youtube for other websites?! I want to make something like youtube embed system for my website and give the embedded ...
2
votes
2answers
31 views

How do I output a database option that is an array into a get_posts array?

This must be fairly simple, but I'm puzzled. And I may be going about it backwards. How do I output a database option that is an array into a get_posts array? I have an option in the database that ...
0
votes
0answers
5 views

Activating theme in local MAMP installation results in HTTP ERROR 500

I have a local WordPress installation in a MAMP server that was working fine and after a period of time without using it I come back to it and I get a HTTP ERROR 500. Couldn't figure out how to fix it ...
0
votes
0answers
9 views

How to list categories within tags?

I'm currently working on an ecommerce site with WooCommerce. I'm using product categories for product types (e.g. cards, DVD's), and product tags for topics/themes (e.g. Christmas, children). What ...
1
vote
0answers
11 views

Images attached to posts from library link to 404 error page

Just building a theme but I am stuck with attachment images. When I add images from the library to posts (or pages) and link them to the "attachment page" I get a 404 error. The link is like ...
0
votes
0answers
14 views

Can't get to work with Ajax and Modal Bootstrap

I'm working on a website that shows a list of products, and when each product is clicked a Modal window should appear, with some product info. So I have 3 files: main, header-main and product-info. I ...
-1
votes
0answers
10 views

Problem with Navigation In theme no support from Manual Support

Please find below link to our website. We are using the manual theme. citruspay.info/devguide when we click on an item on the home page, it navigates to a page in documentation but then it expands ...
0
votes
0answers
5 views

Custom query filter not working on woocommerce category page

I am trying to make custom filter for my woocommerce website. Everything is working fine in the shop page, but when I go to the archive page the filters are not working. I am recording each filter ...
-2
votes
0answers
14 views

How to send different invoice email based on buyer's country in woocommerce?

Is it possible to add different text blocks for buyers from different countries in woocommerce customer-invoice.php? I am dealing with a situation where I want to add a custom text block in customer ...
0
votes
0answers
15 views

Multiple Passwords to protect WP pages

I have been using a plugin that has worked great up until the latest version of WP. There has not been any development on this plugin in the past 3 years so I assume it wont be fixed. Now I need to ...
0
votes
1answer
13 views

Can I customize the WP admin default dashboard content?

Can anyone please submit hooks and sample codes to use in restructuring wp admin menu and the content?
0
votes
1answer
30 views

How to filter content for specific content variable

I created a plugin that adds content from another post, and places this content next to the original content. I can say, that this content should appear at the bottom of the original post content. I ...
1
vote
0answers
12 views

Utilize customizer nav controls to attach posts to pages

While working on a custom control for the customizer to attach posts to pages I found out that there is already a built-in feature with very similar functions: the nav_menu and nav_menu_item controls. ...
0
votes
1answer
19 views

Help with a $wpdb MySQL Query

I'm wanting to expand on the following query to look at multiple meta_key and meta_value values that have been created with the Advanced Custom Fields (ACF) plugin. e.g. meta_key 'colours_%_colour' ...
1
vote
1answer
15 views

remove sub-category of Custom Post Type from permalink structure

I've got my permalinks for a Custom Post Type set to /%custom_taxonomy%/%postname%/ using the Custom Post Type Permalink Plugin to set the custom rules for this CPT. What this gives me is ...
0
votes
1answer
10 views

Different post styles depending on category

I am using Zephyr theme The link to the blog page. I want to style each post differently based on the post category ex: social media, announcements ect. I would like to style them using a cards ...
0
votes
0answers
6 views

How can I duplicate a bbpress forum post and change highest parent topic?

wordpress version: 4.5.2 bbpress version: 2.5.9 On a local machine so far. I am trying to find an easy way to duplicate forums and the subforums/categories underneath of them while changing the ...
0
votes
3answers
30 views

wp_update_post deletes post meta in CPT

I have a custom post type called 'directory' and it includes a few meta/custom fields. The script below is meant to just change the post status only when run. This isn't on the admin panel where you ...
1
vote
1answer
20 views

what is the difference between .po .mo and .pot files in wordpress localization?

I'm translating a wordpress site and need more clarity around these terms. Can anyone land a hand with some definitions and differences between .po .mo and .pot files with wordpress localization?
2
votes
0answers
11 views

How to save custom fields on comments?

I have the following code to save a comment from a custom form, via POST: if (!empty($_POST)) { $time = current_time('mysql'); $data = array( 'comment_post_ID' => ...
0
votes
0answers
15 views

Assign $wpdb to a class property to access WordPress Database [on hold]

In my PHP Class instead of calling global $wpdb all over the place to access the database I want to assign it to a class $_db property. If I vardump() my $this->_db it shows all the stuff that ...
-2
votes
1answer
23 views

Move a single Plugin

I pretend move a single plugin and respective content from Site A to site B? Exist any plugin backup for that, or other way for it? The plugin for move is: MyMail
-1
votes
1answer
18 views

Function to get a list of all comments on 1 post

I want to create a page where visitors can give a reference (ID) of a post and when they click on submit they get an overview of all given comments on that particular post. I think I have to create a ...
0
votes
1answer
25 views

How to rewrite url wordpress?

i am doing WordPress posts filter. As a result of the application forms obtained this url: ...
0
votes
0answers
10 views

Fallback dosen't work when not using 'menu' attribute

I want my fallback function to be called when the menu doesn't contains any items. And if I specify the menu name, it works. But not when as I below comment away that attribute. Now nothing happens. ...
0
votes
0answers
13 views

View all multisite posts from one “hub” site

I'm creating a centralized blogging network for a client. The idea is that, on one of the many sites, the client can see a list of all the posts on all the sites. The interface for this would ideally ...
1
vote
1answer
24 views

If 1st / 2nd / 3rd level custom page?

I have a custom post type that is hierarchical. I have 3 level of pages, I need a way to detect whether I am on the top level, 2nd level or 3rd level. I've looked into this and can only find examples ...
1
vote
1answer
15 views

How to show 50×50 image thumbnail in Related Post

I am showing related post in my WordPress without any plugin, the issue is I want to show custom size of image in related post via CSS, how to do this? Here is my related post code . <?php ...
1
vote
1answer
23 views

How to build a WP_Query using mulitple tags and using AND or OR operator between them

I'd like to craft a query to return posts based on the conditional presence of certain tags. The pseudo query is: return posts with "((tagA OR tagB) AND (tagX OR tagY))". But I'm having issues ...
0
votes
1answer
15 views

Pagination Error on Admin (You do not have sufficient permissions)

Hi everybody and tks in advance for your help! I have a plugin and I was trying to do some pagination for a custom query. Everything seems to work fine, but when I click on page 2 (or whatever not ...
0
votes
0answers
10 views

removing posts redierct to 404 page

i have a plugin as phone book with lots of information ,when i import the xml data or removing it with another plugin (bulk WP) after 43 44 .. seconds it redirect to 404 page with old URL for options ...
0
votes
0answers
13 views

How do I let users specify interests on signup and have this reflect content displayed on homepage?

I'm looking for something that will allow my site to have the following functionality: A user creates a login for my site. When creating a username and password, they also select from a list of ...

15 30 50 per page