All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Creating custom form inside custom post type item

I have made a custom post type in my project. Now when this custom post type is being created in wp-admin i want to show a form. This form should also be there in Edit post. This form dynamically ...
0
votes
1answer
11 views

Editing Listings in a Business Directory

In the following scenario, is there a way to allow each owner to create their own user account and have the account associated only with the owner’s business, so the owner can only edit the ...
0
votes
1answer
10 views

Hide “Delete Note” link in Order Notes Panel

How do you hide the "Delete Note" link in the Order Notes panel? Is there a hook that can be used?
0
votes
1answer
15 views

How can I have sidebar widgets on Twenty Seventeen theme on all pages?

How can I have sidebar widgets on Twenty Seventeen theme on all pages? Right now it's possible only on Blog page, not on any other page. Thanks for any help, Afan
0
votes
0answers
14 views

Overriding font path

Uploaded the font file to AWS. When accessing Customize > Additional CSS and try to add @font-face rule then save it. The AWS url has been replaced by WP upload path. Hope to find solution here. ...
0
votes
0answers
17 views

How to save javascript high score to usermeta

I built a simple addition math game for my son using javascript so he can practice his math facts. Basically, he has 90 seconds to answer as many questions correctly as possible. I want to be able ...
0
votes
0answers
9 views

User registration plugins that send data to external database? [closed]

I would like to set up a wordpress instance for my site, however, I would like to add a registration page that links to a postgresql database I already have. Are there any plugins that support adding ...
-1
votes
0answers
14 views

What are the unprofessional things on that design? [closed]

http://tahsanr.sgedu.site HI,thanks for viewing my question.I am new to wordpress,i will be very glad if you see the site and provide feedback.
2
votes
0answers
20 views

Lock post meta block at the bottom of a custom post type

I'm using the template feature of Gutenberg to add a post meta block (with a couple of input fields) at the bottom of a custom post type: $args = array( 'show_ui' => true, 'show_in_rest' =&...
0
votes
0answers
18 views

Print stars (half, full, empty) according to WordPress plugin rating

So the WordPress Repo API returns a column called: author_block_rating And I'd like to calculate amount of stars just like they are ouputted if you search for a plugin: I have tried with this piece ...
0
votes
0answers
24 views

Same userbase on multiple sites

Let's say I already have a site A with some registered users. Now I want to launch a new site B on a different server but I need login/register to work based on site A userbase. Also it would be great ...
0
votes
0answers
8 views

Wanted theme: magazine/blog, full width, 6 columns, sidebar [closed]

I'm looking for a theme for a blog/magazine with a 6-column grid and sidebar that can be hidden. Something like that is used on the YT page. Is it possible to achieve something like this with your ...
-1
votes
0answers
25 views

Wordpress search meta title problem

I'd like to start by saying that I only have a basic understanding of html/php/css, but I've been managing pretty well. My wordpress site uses a theme called "ListingPro." When you make a search on ...
1
vote
2answers
31 views

Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?

My gut tells me wrapping esc_attr() in intval() is redundant when it comes to escaping input, but I would like to double-check. Also: considering that <option value="">- select no. -</option&...
0
votes
3answers
27 views

Trying to get the path to my child-theme via my functions.php

I am calling a CSS script into a specific page in my theme like this: function testimonial_style() { if ( is_page( 4087 ) ) { wp_enqueue_style( 'testimonial-css', get_template_directory_uri().'/...
1
vote
3answers
24 views

Programatically download a plugin

I'd like to programmatically download a plugin from the WordPress official repo, using a link/id/whatever identifier token. How could this be achieved?
0
votes
0answers
12 views

How to share media and page content on multsites? Whatever I google it gives me plugin solution

I have two question. I want to share media and some other content like pages over multisite. I use multisite for translation but some of the content stays the same, and since it gets updated often, ...
0
votes
0answers
15 views

Custom rewrite rules not working with WPML

I have custom rewrite rules for posts on a WordPress website. The website is in french and I just added WPML to make it available also in english. WPML is configured to use directories (/en) for ...
0
votes
0answers
17 views

CRUD Interface for custom tables

Currently, in WordPress, we primarily see two concepts that have their interfaces namely Custom Post Type and Custom Taxonomy. For developers, it's very simple to create CPT and CT. All they have to ...
0
votes
1answer
16 views

Fatal error: Uncaught Error: [closed]

Below is the error I am getting and I don't understand Fatal error: Uncaught Error: Call to undefined function industro_get_option() in /home/deepwave/public_html/wp-content/themes/industro/header....
0
votes
0answers
16 views

change time interval of scheduled woocommerce cron job

Since woocommerce version 3.4 it is possible to anonymize order data either manually or via a scheduled interval (Days / Weeks / Months / Years). Now I would like to customize the interval to twice ...
0
votes
2answers
25 views

How to disable automatic colors in the Twenty Twenty theme?

I'm using the Twenty Twenty theme to create a website, and I want to totally disable the automatic colors that Wordpress generates based on the accent hue. I have very specific branding guidelines to ...
0
votes
0answers
17 views

Force WordPress to always generate a thumbnail for original image

WordPress only generates thumbnails for sizes smaller than the original image. However sometimes the user will upload an uncompressed image with dimensions below the specified thumbnail size e.g. ...
1
vote
1answer
88 views

Why is wp-cron only executing on page visit?

As I have understood wp-cron runs after a HTTP-Request to the given domain. Can someone explain to me why this is the case? I don't quite understand why the execution of (scheduled) wp-cron events are ...
-2
votes
0answers
18 views

Do the themes twentynineteen and twentytwenty also have the parallax effect?

i use WP for six years now. and i am very very happy. regarding the theme: At the moment i stick with twentyseventeen which is very nice. I like the parallax-effect. and i did not try the themes ...
-2
votes
0answers
13 views

How to add custom option for my theme's menu to add class in sub menu?

I've developed a theme for WordPress with a simple registered menu. my HTML/CSS theme has two types of dropdown menus (narrow, which is one level and wide, which is two levels of depth). Now I want ...
0
votes
1answer
12 views

On what hook can I get the queried object's final state?

My goal here is to create a mini-plugin that allows me to create social share links, as such, I am very, very interested in getting the most up-to-date version of a queried object's link/title. I've ...
-1
votes
0answers
15 views

minimum and maximum word count wordpress post plugin [closed]

How to set minimum and maximum word count in wordpress post using any code or plugin Can you suggest
1
vote
0answers
82 views

“data-vocabulary.org” is showing warning in Search Console for Breadcrumbs

Just now the data-vocabulary.org is deprecated, so what is the solution to solve this. Should I replace the data-vocabulary.org with schema.org This is the code added in my WordPress: <div class=...
-1
votes
0answers
17 views

Scheduling a WordPress post prevents me from seeing thumbnail on Social Media

I have a blog where we publish a new article every day. We schedule their posting about 3 days ahead of time, for 8am CST. We like to share them on Social Media, and therefore use Buffer.com to ...
0
votes
0answers
15 views

Changing the URL structure for hierarchy CPT's

I am using Toolset Post Type to create my custom post types. I need my slug to be something like this. example.com/parent-post-slug/child-post-type-slug For instance: I have a two post type, topic ...
-1
votes
0answers
11 views

menu duplicates when scrolling down

I have this weird issue I can't can rid off. On my website I have a transparant menu. If i look at the site, the menu appears now above the header as well as underneath. i want to get rid of the ...
0
votes
1answer
13 views

Sort custom post type by most current date picker

I'm trying to sort custom post type made with ACF plugin by most current date. Ideally future most current post should be first. Currently, I'm sorting by date, which gives me the earliest post as the ...
0
votes
1answer
20 views

Saving data from custom form in wordpress database

I have created a PHP program that provides customised output based upon user input entered in HTML contact form. The HTML form & PHP output is working fine. However, when I am trying to save the ...
0
votes
3answers
31 views

while loop to be continue in next section

I want while loop to show three posts on first section and the remaining in another section.i am very new to wordpress ,and not having much practical knowledge in php.any help would be very much ...
-1
votes
0answers
8 views

How to show user's liked posts and collections when the user logs in?

I want to create a plugin which enables a user to like and collect things(posts, links, qoutes, pictures etc) while he/she is logged in and the user would be able to see all his or her liked & ...
0
votes
0answers
6 views

Woocommerce, product with variation change size when page loaded [closed]

I have woocommerce site and this issue just appeared and have no idea for cause. When the product page loads, the product image reduces size unexpectedly. It only affects products that have variations....
0
votes
1answer
15 views

Return number of all custom posts type by author in all statuses

I'm using the code below to try to get a proper post count of all posts by a user but it's returning 0 for each user. function get_user_posts_count($user_id, $post_type) { $args['author'] = $...
0
votes
1answer
11 views

When/where would want to attach other classes to the base class in a WordPress plugin?

I have two plugins I'm looking at currently. Each has a function called plugin_classes which attaches other classes to the base class. Both of these plugins have init and hooks functions. In the ...
1
vote
2answers
32 views

Fatal error: Uncaught Error: Call to undefined function test()

So I'm having an issue where I'm getting a 'Undefined function' response and I can't seem to figure out why and how to target it. Relative path to the shortcode file: htdocs/wp-content/mu-plugins/s/...
-2
votes
0answers
11 views

user search filter base of country state city wordpress

i need a feature like search members on basis of country-state-city along by name on frontend member page in wordpress.?(dynamic) it almost like product filter in woocomerce but i need the same ...
0
votes
2answers
37 views

Wordpress Playlist WPSE

I using the plugin from https://github.com/birgire/wpse-playlist so far I really enjoy it, but I hope anyone can help me to change the code little bit, Like: The original code: [_playlist] [_track ...
1
vote
1answer
12 views

Return the thumbnail meta data for getter and setter

So I'm wanting to target the thumbnail but I'm not able to find it successfully. If someone could point me in the right direction I'd really appreciate it. var_dump(profile): var_dump($thumbnail): ...
0
votes
1answer
28 views

How to style bootstrap container in Wordpress?

I'm trying to target the following div: <div class="col-md-5"> <article> <h2>Title</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. ...
0
votes
0answers
28 views

How to find which last line executed in wordpress?

I got one of the sourcecode that having an issue with woocommerce comment. After wordpress comment it displays Array ( [rating] => 1 [comment] => Something happen [...
0
votes
0answers
17 views

Credit card info removed after coupon code is applied [closed]

On the checkout page of a woo commerce site when I put my credit card information first and then I try to apply my coupon code my credit card information is removed and I have to put it in again. My ...
0
votes
1answer
17 views

How do I automatically generate pages from a database?

I have a spreadsheet of information I'd like to publish online. I'm trying to find the easiest and best-looking way of doing this. The page will be informational and not intended to generate revenue ...
1
vote
1answer
20 views

wp_loaded hook block script enquequing

I have a cutsom maintenenace screen generated by a plugin for non admin users. I need to setup a countdown timer on it if an option on the related settings page is enabled. I've implemented the ...
1
vote
1answer
20 views

Custom Logo URL | Help me print the URL of the custom logo I inserted into my theme

I am trying to use the separate components of the_custom_logo() function to create my own display for the logo. Please can someone inform me as to how I can access the url and the image reference ...
0
votes
0answers
17 views

Critical Error after Updraft Restoration

I am having 'there has been a critical error on your website' I used updraft to restore my website to a different host. Immediately after restoring, it worked fine until the next day I start getting ...

15 30 50 per page