0
votes
0answers
30 views

I want 3 WordPress websites, with the same users able to login to each

I want to install 3 WordPress websites, and I want users to be able to sign up to any of the sites and then access all the other sites with the same login credentials - like Google where you can sign ...
1
vote
1answer
25 views

Wondering what these multi-colored extra pages are?

I've recently taken over managing the Wordpress site for my non-profit. The person who set it up before me has a lot of plug-ins installed and widgets set up. Additionally, there are these 5 multi-...
0
votes
0answers
13 views

Link not showing on post from menu catagory but is showing on the actual post

I am literally pulling my hair out. I created a category called Upcoming Events. I wrote a post page and pointed it to the category. However In that post, I need a link that will point to a page that ...
0
votes
0answers
21 views

Add column to custom post type based on assigned taxonomy

I'm trying to add a new column to the Custom Post Type I've created. I've also created a custom taxonomy for this CPT, so what I'm wanting to do is display which taxonomy term each post has assigned (...
1
vote
2answers
23 views

How to display current_user bio

I'm displaying the current user's info on the front-end, but haven't been able to locate the correct hook for the bio, other than as an "author" hook. Help?
-1
votes
0answers
16 views

Change category link. Lead it to a specific page

How can I change a link of any shop category in functions.php? I have 4 shop categories. To one of them I need change its href-link, it should go to specific shop page. How can I approach this?
-3
votes
1answer
21 views

Why User Management Plugins

What are some primary advantages of user management plugins over the standard WordPress system with roles? I think the latter is all I need, as the application only has to log users in and grant them ...
0
votes
1answer
16 views

Edit Post custom options not working

I have added a custom post page option but it's not working; the output is always empty. I have this debug code in my loop (the code that retrieves the information in frontend): $colorvalue = ...
0
votes
1answer
14 views

Finding which Custom Fields are being displayed on the page

I'm trying to find a way in WordPress to figure out which of the custom fields for a post or page are actually being displayed on the HTML output of the page and which are not. Using the function ...
-1
votes
0answers
14 views

TinyMCE Error - Text displaying in a single column

Today, I encountered an odd error with TinyMCE after a migration of WordPress from server to server. When I went back to edit a post, the Tiny MCE editor placed each character that I typed on to one ...
0
votes
2answers
18 views

What is the best option, creating table HTML code within a page or select a table plugin?

I'm fairly new to Word Press and I'm volunteering to do a table for a page on an organization's WP site. Should I use a plugin such as Easy Table or Tablepress or would it be better for responsiveness ...
0
votes
1answer
22 views

get only the item you click on

I want to save the current items class id, when i click on a menu item. The problem is, that when i click on a submenu item, it will run the jQuery multiple times, because the items classes have the ...
0
votes
2answers
39 views

Assign custom parameter to each post in query

I'm trying to add an incremental variable to each post that comes up in a series of queries. The purpose is to calculate a weight for each result in order to be able to order everything later. This ...
0
votes
1answer
20 views

Render the metabox input values as HTML

I'm new to PHP and WordPress. I've created a site on WordPress, where the user can add an HTML code snippet (the inputs are taken using a metabox and displayed). The problem is WordPress doesn't ...
0
votes
0answers
19 views

Restrict a Shortcode use in text widget only

I want to ensure that a given shortcode can only be embeded in a text widget; and not in a post or page. I thought I could use the strip_shorcodes() function to Strip shortcodes except in a text ...
-2
votes
1answer
15 views

Re ordering Woo Commerce Check Out Page

I'm trying to figure out how i can re order the way the elements appear in the checkout. http://dev1.newtourleans.com/checkout/ is the site and you will have to add something to your cart to check out ...
0
votes
1answer
31 views

How do I check if my $wpdb->insert() was successful?

I'm trying to write a little script within my footer.php (which I'll later transform into a plugin) that send two form fields to a custom table (wp_newsletter). I'm already sending the form and ...
0
votes
0answers
7 views

Wordpress Customizer: passing variables within the previewUrl

I'm trying to pass variables to the server within the previewUrl into the wordpress customizer, something like that: wp.customize.previewer.previewUrl( 'http://www.website.com/?construction=1' ); ...
0
votes
0answers
8 views

How to exclude custom input fields from Wordpress Posts search?

I wrote up a plugin that adds a column to the Posts table in the Wordpress Admin panel. Each row has some input fields that hold some data information. This plugin has a cron that removes the sticky ...
-5
votes
0answers
25 views

I need separate pages for each member [on hold]

Hi: I'm looking for a plugin that will create a separate page for each member. Once they create an account and login their separate and unique page created automatically. Each client has their own ...
-3
votes
0answers
24 views

how can i make a wp category sidebar with image with multi background color

I want to make something like this: I install SF Taxonomy Thumbnail plugin in wp and use this code: <?php $taxonomy = 'category'; $args = array('with_thumbnail' => true, // true = retrieve ...
0
votes
1answer
15 views

Is there a way to group specific CPTs under a single dashboard menu item?

My next project may involve dozens of CPTs (it's a ad board and each category would be a CPT, for example CARS and associated special attributes like mileage, gas/petrol and such as custom fields). ...
0
votes
1answer
41 views

How to correctly add Javascript to this PHP 'Page Not Found' Page?

I am attempting to add some javascripts to my "Page Not Found' PHP page, but no matter how many different ways that I try to do it, it breaks something. Here is an example page for this code: http://...
-4
votes
0answers
15 views

How to trigger a plugin function automatically

I have a wordpress plugin to share posts automatically on social media. It works well, if am publish post from wordpress dashboard. But not works if am publish a post from openlivewriter desktop ...
0
votes
0answers
8 views

Configure plugin from command line (Polylang and Hookpress in my case)

I would like to configure Wordpress plugins from the command line. This would allow me to create a script that makes the full installation of the Wordpress instance instead of documenting it and ...
-2
votes
0answers
23 views

WooCommerce Pagination Issues

Found myself in a bit of a pickle over here. So, I tried to add pagination to one of my product category pages, taxonomy-product_cat-sale.php; by calling the function, woocommerce_pagination(); I ...
-1
votes
0answers
16 views

WooCommerce pagination issue [closed]

I added a pagination to one of my taxonomy-{taxonomy}-term.php pages by adding: <div><?php woocommerce_pagination(); ?></div> However, when I click to see the next page, I ...
1
vote
1answer
21 views

How to use force_feed with fetch_feed

I use the exact same code from Wordpress codex here : https://codex.wordpress.org/Function_Reference/fetch_feed#Example It works as intended with most external RSS i tried to use but for one of them ...
-1
votes
0answers
13 views

Hide the woocommerce tax label when set to none

Is it possible to hide the tax label when the products tax status is set to none and tax class is set to no tax? This is only for certain products, other products must still have the tax label ...
1
vote
1answer
19 views

Insert static element only once in query archive

I'm looking to insert a foreign div-element only once in a archive query on my page. So that for example: Post1 Post2 [Static Div] Post4 Post5 ...etc My query is: <?php $archive_args = array(...
0
votes
0answers
18 views

How can i save multiple recodes dynamically using WordPress Settings API

I search a lot here at Stack Exchange and on web but i did not find any help. I know how to use WordPress Settings API to save a single field, i want to save multiple records dynamically, it may be ...
-2
votes
1answer
26 views

How to crop featured image in different sizes?

I have a Wordpress theme which require 4 images sizes: small: 960x535 medium: 1380x770 large: 1920x1071 full: 2240x1361 Is there a way to crop the featured image into these sizes so I can use them ...
0
votes
1answer
13 views

ACF Images If/else

<div class="postthumbnail"> <?php $image = wp_get_attachment_image_src(get_field('usercrop'), 'full'); ?> <img class="post-thumbnail img-responsive postpic" src="<?php echo $image[0]...
0
votes
1answer
25 views

Export all post from database to JSON only when the database gets updated

I'm trying to export all the published post of my database to a JSON file, in order to use it in JS. Here is the code: <?php /* Plugin Name: Export to JSON Description: Creates the JSON file that ...
0
votes
1answer
22 views

How to get child style.css to load last rather than second behind parent style.css?

My parent style.css is loading first, followed by my child style.css then the numerous stylesheets from the parent theme load third and so on and so forth. The head currently looks like this: <...
0
votes
1answer
30 views

Wordpress display posts category in loop

I am working on a WordPress theme and this is my code to display posts. However I'm struggling to display all categories for a post. Most solutions don't work for me but do for others. That's also ...
0
votes
0answers
31 views

A user role to view only draft posts

I would like users with the role 'revisor' to see posts in draft status. I've tried the below, but I get a 404 error. What do I need to change? function draft_post_revisor( $query ) { $role = ...
1
vote
1answer
232 views

Should we use plugins that aren't available from the official WordPress site?

I'm not sure if my question is appropriate here, apologies in advance but I am confused and need some helpful thoughts! We were using this plugin for our site , which has recently been removed from ...
-1
votes
0answers
23 views

How to create activation key for premium theme?

I created a new theme. before I sell to the others, I need to add activation key to protecting my theme. how to create activation key for WordPress theme ? thank you
0
votes
1answer
48 views

Query posts only without featured image

want to query 100 posts, but only those which do not have a featured image attached. I am using meta_key method for this with WP_Query as such: $args = array( 'post_type' => 'post', '...
0
votes
1answer
12 views

Best way to move a site to a subfolder for testing purposes?

I have to make several changes to a website, and I'm willing to setup a copy of the current one on a subdirectory, on the same server. I.E. if my site is www.example.com, what I'm trying to do is to ...
0
votes
1answer
17 views

Enabling compression in .htaccess file is causing 500 internal error

This is the code I am adding to my .htaccess file for compression and browser caching and gzip. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^...
0
votes
1answer
15 views

Plugin localization persistance (woocommerce)

I am having an issue with a WooCommerce translation being overwritten. What I've tried so far: moving my woocommerce-de_DE.po/mo files to wp-content/languages/plugins/ blocking translation auto-...
0
votes
1answer
32 views

WP Query - filtering terms with regex

is there a possibility of filtering posts by terms using regexp? My code doesn't quite seem to work. $tax[] = [ 'taxonomy' => 'tax_name', 'field' => 'name', 'terms' => $...
0
votes
1answer
13 views

404 Page not Displaying

I have a theme and it has a file "404.php" inside it. As I read on the documentation of the 404 Page for wordpress this file is needed. We I miss spell the url on my site the 404 Page must display but ...
0
votes
0answers
7 views

How to get the return value of wp.media({ frame: 'post' }) in all cases?

When the user is in an edit.php page or post-new.php, the wp.media global is available and I want to use it to open a special insertion view that allows videos. var frame = wp.media({ frame: '...
0
votes
0answers
28 views

Own class in while post loop

I've created my own class which I load trough my functions.php For my custom post type, I've created an own archive-{posttype}.php. In my while loop I'm trying to access $obj->functionName(), but ...
0
votes
0answers
8 views

Multisite mapping - with subdomains

I have been at odds with a multisite installation whose subsites are subdomains. I have tried so many changes in the wp-config / htaccess and the such to the point of having to start everything again....
-4
votes
0answers
17 views

Advanced Custom Fields overloading server?

I'm using the latest version of WordPress and ACF Pro. I'm having a serious issue with one of my sites that uses ACF. Now before I even explain the issue, I will say that I have found for sure that ...
1
vote
1answer
35 views

WordPress V2 REST-API: Endpoints 404?

I just installed and activated the latest version of the WP REST API plugin. However, when I attempt to access a REST endpoint, I end up with the Apache 404 page. $ curl -i 'http://example.com/wp-...

15 30 50 per page