All Questions

0
votes
0answers
3 views

Topic won't save for a custom post type — how to debug?

In two of my custom post types, the topic (in the Topics meta box) won't save. This is not a custom meta box, but the standard Topics meta box. At least, I think it comes standard with WordPress, ...
0
votes
0answers
3 views

Adding existing user custom field value to a woocommerce product

I am assigning each product in WooCommerce to an author. Each author, when they sign up, adds in a short bio and this is saved with the author's user account. People are signing up with Profile Press. ...
0
votes
1answer
5 views

Sub Menus will not work

I am desperately needing help. I have done everything to my knowledge to try to get my sub menus back on my website. I installed a meta slider plugin to get a slider on my homepage. It worked well and ...
0
votes
1answer
9 views

Access first name and last name from user_register

does anyone know how to grab first_name and last_name from $user_id for passing into a function firing on the hook user_register? I am having no luck with either: function random_name ($user_id){ ...
0
votes
0answers
9 views

PHP Category Filter

I am very very (very) new to all of this and have a project in seminar I'm doing. Now, the task is to add lines of code to .php file to create one more filter field to this site - https://www....
0
votes
0answers
7 views

Plugin to put the whole checkout on a single page

I need a plugin that makes the checkout page stay on the same page, divided the information into columns, as in the image below Thanks for your help right away.
0
votes
0answers
11 views

Issue with navigation bar in child theme

I have created a child theme of the evolve theme. The evolve theme was not edited before localy and was just downloaded from the offical site. functions.php of child theme: <?php add_action( '...
0
votes
1answer
9 views

Get system timestamp in wordpress

My system timezone is UTC+1, MySQL is using this timezone and it's ok. Now I want to get the same timestamps in WordPress. As you know, WordPress modifies the current timezone so time() returns UTC-...
0
votes
0answers
21 views

Whats wrong with the code?

<?php /** * Plugin Name: card-display * Plugin URI: https://example.com/plugins/the-basics/ * Description: Cards Display in Website * Version: 1.0 * Author: Amarpreet Kaur India * ...
0
votes
0answers
11 views

CSS transition from 0px width to 100% width

I have a website where I have set the content to left 100% on normal screen and on click on the button it will show on the screen with left 0%. I want the transition to be smooth, like the width will ...
2
votes
0answers
12 views

srcset attribute in Gutenberg gallery blocks

Gallery block are very useful to layout thumbnails. However, when I choose a columns layout (for example, four columns layout), the srcset for this thumbnail remains the same as a large image. In ...
0
votes
0answers
9 views

Elementor outside wordpress? [on hold]

I'm making a custom wordpress page that has a megamenu created with elementor. define('WP_USE_THEMES', false); require($_SERVER["DOCUMENT_ROOT"].'/wp-load.php'); get_header(); echo '...
0
votes
0answers
6 views

Website page not showing as 100% container [on hold]

my website is not fitting the full screen of browsers, I have tried 2 different computers and 4 different browsers. Could you please help me fix it? website is www.four-beacons.com
0
votes
1answer
8 views

Wordpress and Wordpress-test-lib not getting added to tmp folder

I’ve installed the wpcli and php unit testing to my imac and the wordpress and wordpress-test-lib files were added to my tmp folder as they should have. I used this to install the setup. bash bin/...
0
votes
1answer
13 views

Only allow chats from logged in visitors

I installed a plugin for a chat in a wordpress site; I want the widget to appear only for logged in users; in the php file that shows the widget I read: /* -------------------------------------------...
0
votes
1answer
11 views

Deleting my old Wordpress site. - issues

Im trying to delete my Wordpress site. I am the admin but every time I go to the dashboard, under settings there is no option to delete site just export and import. I want this site gone.
0
votes
1answer
8 views

Updater user with multiple roles

I have searched the net for explanations, but I only find my own question without any real answer. Like this one: Adding multiple user roles dynamically I need to dynamically assign more than one ...
0
votes
0answers
17 views

Blog images not showing on homepage

Forgive me as I am new to this. The Blog is a separate page while the menu has 'news'. The pages are set in the screenshot but still doesn't show the blog images in the news section of the home page. ...
0
votes
0answers
18 views

Help me to give a PHP Snippets

I wanna give points to members of my website when they rate our listings/products/posts, depending on 1star, 2star and so on they will get 10points, 20points...ultimately 5star get 50points. I'm using ...
0
votes
0answers
6 views

Woocommerce product import - cannot set post_date

I’ve imported a couple of thousand variable products and variations successfully, however I would like to be able to set the post_date (to force the order of the products displaying) I cannot choose ...
0
votes
0answers
14 views

plugin operation launch every time i click on page

I created a plugin for specific heavy batch operation but it seems that every time I click on any other place (list posts , list page , ....) the heavy operation is launched again, so I want to know ...
0
votes
0answers
11 views

Assign Parent Page - Now 404 Error

The strangest thing is happening. I have a page that I want to assign a parent page to. When I assign a specific parent page to it, then the page shows a 404 error. Here is the weird thing, this ...
0
votes
0answers
7 views

Appearance Menu - Add new items to the top of the menu

When adding a new new menu item on the appearance menu page (/wp-admin/nav-menus.php) is it possible that when you click the Add to Menu button that the new item would be added to the top of the menu ...
0
votes
0answers
7 views

WooCommerce Category Shop Loop

I am currently having an issue with two things. One is the theme Byanca, the other is the plugin Product Filters, both purchased via CodeCanyon. I am still in touch with the developers of both the ...
0
votes
0answers
5 views

RSS - This XML file does not appear to have any style information associated with it. The document tree is shown below

i have a problem with my feed on wordpress that shows this message before the feed This XML file does not appear to have any style information associated with it. The document tree is shown below. ...
-1
votes
0answers
10 views

Full Width, coloured horizontal bar, responsive design, theme questions

It's quite common these days to see this kind of design : example 1 example 2 That is... a page made up of full width horizontal coloured sections. Both of those sites are wordpress using custom ...
0
votes
0answers
11 views

Woo commerce hide category descriptions

i am currently building a site on my localhost, i have descriptions of product categories but on the category product page, it shows it twice. I have tried messing with my theme and custom css to hide ...
0
votes
0answers
7 views

htaccess questions wordpress multisite in combination with other cms

I installed a wordpress multisite on a server that already contained different subdomains and another cms installation (wolfCMS). It currently works fine by going to the root.nl/wordpress/$year/ ...
0
votes
0answers
14 views

Assign IDs to headings in ACF using functions.php

I'm assigning IDs to each heading on my Wordpress site. It works fine for pages where I don't use ACF with the following code snippet in functions.php function auto_id_headings( $content ) { $...
0
votes
1answer
11 views

Remove formatting in rich text with Gutenbergs Block editor

In the classic editor, an option for removing all formatting in a selected text was possible in the visual tab. Is there such a function for Gutenberg? If not, is it planned at some point? What ...
0
votes
0answers
8 views

Create a custom plugin with the Stripe API

I'm trying to create a custom plugin that contains a form for collecting payments. The payment data should be processed by Stripe API and the user's personal data such as Name and Email should be ...
0
votes
2answers
17 views

Hi everybody, I have a problem of search box

I just finished my site with the theme "shopper" on wordpress with the woocommerce extension. There is a search bar in the header that I can not remove. this bar offers in English to search in ...
1
vote
1answer
10 views

Hook to use when customer placing order

Currently I am using woocommerce_thankyou action to run a function that creates an order at a third party service. However, sometimes customers don't return to the Thank You page after visiting our ...
0
votes
0answers
15 views

WordPress | WP_Query | The post 'offset' is not working and posts_per_page is not set to -1 [duplicate]

Why is my random post query ignoring the offset value? <!-- RECENT BLOG POSTS --> <?php $recentargs = array( 'post_type' => 'post', 'post_status' => 'publish', '...
0
votes
1answer
11 views

get parent and childs from hierarchcial taxonomy

I have a hierarchical taxonomy and I want to show only children from 1 parent. For example, the taxonomy looks like this: - Events -- Location -- Date - Region -- State -- StateCode When I use my ...
0
votes
0answers
14 views

Restrict certain pages to the users with the same user role

So yes I know there are plugins such as Capability Manager Enhancer & Edit User Role which allows users with the different user roles to edit certain pages. However, I don't think they support ...
0
votes
1answer
10 views

Multiple pagename WP Query

I wonder if I can use WP_Query() with multiple slug like p => array(1,2,3) I have tried using pagename => array('accommodation','activities','restaurant') but pagename expects a string and ...
0
votes
1answer
16 views

How to make menu country specific?

How to make WordPress menu country specific? Like I want to show one menu for only one country and hide it from rest of all. Don't want to purchase a plugin. How to do it with code customization?
0
votes
1answer
17 views

How do I link a featured photo to it's post?

I cannot change the url of the photo in the featured-image edit section. The page can be found at https://irregularus.com/tips-and-stories/ and if you click on the picture you will see that it just ...
0
votes
0answers
12 views

Adding a search function for one list in one section of one page

Currently working on a website that has an index of domains organized alphabetically, and in tabs that span multiple letters. It's a Wordpress site using the Divi theme. I want to create a search ...
0
votes
0answers
13 views

Alternative to Unite WordPress Theme [on hold]

I found Unite WordPress Theme is very easy to customize by creating Child Theme. But since its last update is relatively too long (March 18, 2016), I'd like to know if are there better options with ...
0
votes
0answers
15 views

Avoiding compatibility issues with JavaScript libraries in WP plugins

Having a look at https://developer.wordpress.org/themes/basics/including-css-javascript/#default-scripts-included-and-registered-by-wordpress I see that some JS libraries are included with WordPress. ...
0
votes
1answer
15 views

Reading POST over admin-ajax.php

Im trying read form POST values submitted over ajax call (admin-ajax.php).The POST is prepared and submitted. Here are the server side action hooks I have in Child Theme's functions.php add_action('...
0
votes
0answers
15 views

Cannot login, says Email/user not found

I had a free wordpress site, Stories we were told, by Kathryn Cody and I went to google it to share to a friend and it wouldn't show up in search engines. So I went to wordpress and i entered my ...
0
votes
0answers
9 views

Hidden Form Custom Post Meta Field for Storing Post_id using PHP and save_post hook

In order to send email notifications to registered users when a new listing matches their breed and location preference, need the post_id stored in a meta field to have post_id parameter available for ...
0
votes
0answers
13 views

New Post or Page Permalink: ?preview=true Submit For Review [on hold]

Hi I paid premium level tech support to move a site from shared hosting to a VPS. After 3 weeks, about 6 reinstallations, 150+ emails, Im still at a loss how to fix this issue. Cant trust tech ...
1
vote
0answers
18 views

Archiving by academic year instead of calendar year

I am building a website for a school where teachers can add posts for classwork. The posts are categorised by the class name (e.g Year 1, Year 2, etc). The academic year goes from September to July. I ...
0
votes
1answer
16 views

Getting the terms from “Beautiful Taxonomy Filters” Results ot Integrate into “Ajax Load More”

I’m trying to get BTF integrated with the Ajax Load More plugin and am having trouble on the filter results that are using two differen t taxonomies. Basically I just need to know how to query/call ...
0
votes
1answer
11 views

Is it possible to fix/repair all Index, Primary Key, Unique (and all other) structure of a Wordpress MS Database

I've backed up my Multisite database (via export from PhpMyAdmin) then after some problems I decided to revert back the original (backed-up database) and I've imported (upload it via PhpMyAdmin) again ...
0
votes
0answers
15 views

How to modify a 'replace' array to apply only to first instance on any post? [on hold]

I would like to modify this (working) functions code so that it will only change the first instance of the word 'google' and not the other instances on the page. Currently, it affects all instances in ...

15 30 50 per page