0
votes
0answers
23 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
30 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
9 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 ...
3
votes
0answers
14 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 ...
0
votes
3answers
43 views

Shortcodes do not work in own template

I have a big problem rendering shortcodes in my template I designed for my Tennis Club which works fine. However, now I wanted to integrate the standard WordPress Gallery, which is implemented by a ...
-1
votes
0answers
31 views

embed our website videos in another website like youtube [on hold]

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 ...
3
votes
2answers
46 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
13 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 ...
1
vote
0answers
12 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
12 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
19 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
16 views

Problem with Navigation In theme no support from Manual Support [on hold]

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
11 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 ...
0
votes
0answers
18 views

Multiple Passwords to protect WP pages [duplicate]

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
16 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?
1
vote
1answer
36 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
17 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. ...
1
vote
1answer
25 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
16 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 ...
1
vote
1answer
14 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
32 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
22 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?
0
votes
0answers
18 views

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

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 ...
-3
votes
1answer
25 views

Move a single Plugin [on hold]

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
19 views

Function to get a list of all comments on 1 post [on hold]

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 ...
1
vote
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
12 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
16 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
27 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
16 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
27 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
16 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
11 views

removing posts redierct to 404 page [on hold]

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 ...
0
votes
1answer
14 views

Output sort number in wp menu list item?

I want to output the sort number of the list item in it, in the wp menu. No, not by using ordered list <ol>. I have tried search for answers about this by searching on wp forum an reading the ...
0
votes
1answer
20 views

How to add & show new fields in posts in Wordpress

Im have created post types called news in wp-admin which will be able to add New News and display on News page. Here are some screenshot first look at them, that is how i want to display stuff. ...
-1
votes
0answers
34 views

How to remove Malware in header.php like jquery.min.php malware [on hold]

Every time i got the script in header.php file, can any tell how to stop these types of scripts. The script looks like as follows :- var ...
0
votes
1answer
17 views

Cascade dropdown not working using JS with Custom page template [on hold]

I have one file with PHP and JS in my custom page template. In this file I have 3 dropdowns, I tried to apply the cascading but it's not working. When I choose an option in the first dropdown, the 2nd ...
1
vote
2answers
35 views

What controls responsiveness in Wordpress?

I am testing a WP install along with a custom theme made by third parties. The theme per se is responsive, however in some situations, at particular resolutions, parts of the page will be blank ...
0
votes
0answers
27 views

All HTML code appears in body tag [on hold]

I have external admin area script i want to use wp functions in it so i include wp-load file top of script's functions file. My problem is all of html code of script is in body tag. It is like ...
-3
votes
0answers
26 views

Wordpress and WooCommerce in China [closed]

Is it just my imagination, or has Wordpress not been as successful in China as it is in Western countries? Is there some other better way to go in China?
3
votes
2answers
165 views

How do I know if my site is using the xmlrpc.php file?

I have taken over a website where I work that was developed by a previous employee, it seems that recently this site has been the victim of a string of DDoS attacks through the use of the xmlrpc ...
0
votes
0answers
14 views

Remove “View Cart” link which appears after click on the “Add To Cart” button in WooCommerce [on hold]

I am using Wordpress version 4.5.2 and WooCommerce version 2.5.5. After click on the "Add To Cart" button, one link appears "View Cart". Can anyone help me to remove that link.
3
votes
1answer
103 views

Loading a child-theme's style.css after the parent's

I'm trying to load my child theme's style.css after the parent theme style.css has already loaded. However, I have noticed that the style.css doesn't need to be enqueued since it's implicitly enqueued ...
0
votes
0answers
23 views

multisite https redirects to http home_url

I have a multisite with subdomains. Worked like a charm. Now I want (at least some of) the sites to use HTTPS. So my hoster installed a wildcard SSL certificate. To start to move one site, I changed ...
1
vote
1answer
24 views

Add a simple JS Alert Box on Post Submission

I want to add a simple Javascript alert box when a product is added by the customer for review. However, using the post status transition hooks, a white page is created after the popup. Is there a ...
-3
votes
0answers
16 views

Font Awesome: Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin [on hold]

I am running a WordPress multisite blog and it is using SSL ... I am also using domain mapping for various sub blogs on the multisite network but the mapped domains are not on SSL ... I am having ...
-3
votes
0answers
18 views

Woocommerce with Different Paypal accounts [on hold]

I have set up a store for a chain of restaurants, there is a section to select location of Store, So What I want is, assign separate paypal email accounts for each store locations, so When a Customer ...
-2
votes
1answer
17 views

Facebook pixel on wordpress [closed]

I have placed my FB pixel ID in 3 spots on my WP site, once in the header/footer section, and twice in WooCommerce plugin (cart and checkout scripts). But when I go to my site to use the FB pixel ...

15 30 50 per page