All Questions

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

Instagram carousel/grid plugin for photos across accounts [closed]

On our site we interview fitness people and most of them have an Instagram account, so we would like to show a carousel/grid with selected Instagram photos. We have looked at Smashing Ballon's ...
0
votes
1answer
14 views

Mystery line break

I have a coding noob question if someone wouldn't mind taking a squiz. Trying to get the title placed on the same line as the label, i.e Label: Title Currently it's formatted as: Label: ...
0
votes
0answers
6 views

Select all sites from WPMU by user, ordered excluting some fields

I want to select all sites from current user in multisite, but ordered DESC, excluding the main site (id = 1) and including these, that are public (with public setting in the result). I know for - ...
1
vote
0answers
13 views

force permalink slug for page vs post_type slug parent

I have setup permalink for post_type "directory" with this slug domain.com/directory/company-name now when I try create page with domain.com/directory is detect as parent of post_type "directory" ...
1
vote
1answer
17 views

Get page slug in Admin menu

I'm trying to add a settings menu to my plugin, but within that menu, I can't get the 'page' slug. I'm basically doing something like this: add_action( 'admin_menu', 'MyPlugin_AddAdminMenus' ); ...
0
votes
0answers
12 views

Split Slick Slideshow add Autoplay [migrated]

I found a slider I liked at: https://codepen.io/supah/pen/zZaPeE The only thing I'd like to add is an autoplay feature. The good thing is it uses Slick slideshow, which has an autoplay feature, so I ...
0
votes
0answers
12 views

Header color changes on resize of Astra theme [closed]

Trying to help a friend who created divorce-cheap.com It’s a basic WordPress installation using Astra Elementor to build the structure. A full-page on a laptop or desktop – the header appears white. ...
1
vote
0answers
8 views

Display by Category in Admin

I run a website that has different online courses. Each course is a post. Each category is a state in which the course is approved. The states change every few months. I am given a document that lists ...
0
votes
0answers
17 views

Word press and PHP error caused these errors [duplicate]

Warning: Declaration of Thesis_Comment::start_lvl(&$output, $depth, $args) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /data/25/0/30/26/30678/user/...
0
votes
0answers
14 views

CSV Import plug in [closed]

I have a CSV file with over 250 users. I have created unique usernames and passwords for each use in this file. When I download the CSV import plugin and go to load the user information, will it take ...
0
votes
0answers
17 views

Is it possible to programatically create a new post from a revision of another post?

Not sure where to start, but any help would be appreciated. I thought this might help, but it doesn't look like it's actually creating a post: Is it possible to display previous post revision?
0
votes
0answers
19 views

Issue updating categories

When post is saved (not real time toggling). The list of locations category isn't displayed correctly function assign_parent_terms($post_id, $post) { $temp_taxonomies = get_post_taxonomies($post);...
1
vote
1answer
19 views

Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well

(oursite.com)/wp-login.php?itsec-hb-token=(our token) all admin logins redirect to the home page (in a logged-in state). all admin users are affected. non-admin users login works well. no code ...
0
votes
0answers
19 views

Creating a custom form with ability to query and submit to SQL

I need to create a rather unique customer invoice/purchase form and I have been searching google with different questions for a week without finding an answer, hopefully someone here can point me in ...
0
votes
0answers
7 views

Customize wp forms plugin to include repeater fields [closed]

I have created a form in wp forms plugin. I would like to repeat a group of fields when a user press "+" button. How to customise wp forms plugin to include repeater fields.
1
vote
1answer
18 views

Wordpress Related Post by tags in Single.php

I want to create a related post, but the code I tried shows only related post using only the first tag. I want related post which use all tags. (Because my site is a blog and each post can have up to ...
0
votes
1answer
23 views

What is the point of needing add_theme_support( 'html5') in WordPress 5.x

Apparently WordPress 5.x renders HTML5 in search forms, comment forms, comment lists, gallery, etc. I've deleted this support in functions.php and HTML5 is alive and kicking. It seems odd that I would ...
0
votes
1answer
20 views

Prevent display password on wp-login.php

In wp-login.php i want send password salted SHA256 on password. So i can avoid the security data exposed. see the screenshot where pwd is not encrypted so how can make made encryption so should not ...
0
votes
0answers
11 views

Content-Policy and Inline javascript/css

So I'm using wp_localize_script which I need for some javascript I'm running on the front. However the variable is that holds the information from localize_script (we'll call this variable "site" for ...
1
vote
0answers
12 views

WordPress Multi-site network tab throwing 'Error too many redirect errors'

Has anyone come across this issue.. whenever I try to access the /network section of my multisites it doesn't work which just started recently. It throws a ERR_too_many_redirects error and just shows ...
0
votes
1answer
21 views

$wp_rewrite->rules is always NULL

I am trying to learn how WordPress uses the rewrite API to rewrite pretty to ugly URLs . I have some ideas as to how rewrites work in .htaccess file but not how WP handles it . I am reading through ...
0
votes
0answers
15 views

Bulk delete hundreds of WooCommerce attribute taxonomies

I'm trying to remove all the attribute taxonomies, I used this to remove the products from those attributes, but the taxonomies still exist under Attributes. I have 1,243 I'd like to delete. DELETE ...
0
votes
0answers
7 views

How can I add a vanity URL for admin-ajax.php Calls?

Background I'm using the admin-ajax tool in WordPress to build a file generator. I have everything working, except that the current URL is ugly. I'd like to add a vanity URL that looks cleaner. My ...
1
vote
1answer
21 views

How can I convert postmeta from unserialized to serialized?

I'm replacing 2 fields that were previously set up with ACF and saved separately. Instead of those, I want to have 1 piece of serialized postmeta. So, I'm going from meta_key: old_key_1, meta_value: ...
0
votes
1answer
17 views

Changing post depending upon where you're redirected from?

I want to create a post on my site in such a way that when a given user enters the first page (say, front), then some aspect of the "front" page changes (like picture shown, the name used to address ...
0
votes
4answers
33 views

how to edit source code of specific page in wordpress?

i am taking a hard time to figure how to do it. I have three different pages in my wordpress installation besides the Homepage. I need to edit each one of them separately, remove header, footer and do ...
0
votes
0answers
10 views

How to fix WordPress Ajax call loading endless? [closed]

I am currently developing a WordPress site called https://fishnmeats.com/ and I am having issue with it's Ajax call ... Because if we click on any action they loads Ajax for live time update is not ...
0
votes
0answers
14 views

Frontend posts table and post edit form

I would like to create profile page, where user can add, edit his own posts. The same functionality as in Wordpress admin, but at frontend - in the same style as the whole website. I want to have ...
1
vote
1answer
16 views

How to open a phpBB forum in the same website as sub-page [closed]

I have a separate phpBB forum and I want it to open below the navbar, on the same website, so that it will look like as part of the website, something like that (Image edited with Microsoft Paint):
0
votes
1answer
27 views

WooCommerce pages looks unstyled

I'm playing with woocommerce to customize the store aspect. I've noticed that If I open a product link, the page looks unstyled. I need to integrate the shop with my bootstrap 4 based theme. After ...
0
votes
1answer
27 views

Add CSS and JS files of the template post on a WordPress page

Out of necessity I should add all the CSS and JS files present in any WordPress article on a specific page through code. Do you know how to add all these files? If I try through the normal ...
0
votes
0answers
15 views

WordPress AMP Plugin Blocking JavaScript [closed]

I have an issue in wordpress site, i have to use AMP Plugin for mobile page speed increase but,some javascript are blocked by AMP. I have to enable blocking javascript to unblocked what can i do. ...
0
votes
1answer
16 views

Gutenberg - Custom blocks onClick not working?

I'm trying to develop a custom block for the Gutenberg editor. I'm trying to display a button and call a web service then redirect the user to the returned URL. Can anyone please help me why my click ...
-1
votes
0answers
10 views

Difference between Ad plugin and Theme's ad blocks [closed]

I'm new to WordPress, I've downloaded a theme that has ads and you can also add more ads wherever you want to (There are ad blocks on the theme's editing window). The ads have a generic image that you ...
0
votes
0answers
8 views

Trying to replicate archive\single url behaviour in a custom page

I created a custom page 'page-channels.php' since I get all the data from api requests I don't need or want to open a custom post type for channels but I would rather alter the behaviour of the page ...
1
vote
1answer
17 views

Old URL Redirect website after migration

I have migrated my old website from example1.wordpressstaging.com to epxample2.com on a new server (using All-in-one Migration Plugin). Everything went fine with the migration. Now after I complete ...
0
votes
1answer
10 views

Get x numbers of a woocommerce category products using Wp_Query

Is possible to show some woocommerce products inside a swiper slider? I want to create a slider that will show some "featured" products on the home page. For now I have a cpt that is achieving this, ...
2
votes
2answers
103 views

Wordpress-site can be reached on x.x.x.x/index.php - but not directly on the IP without index.php

Brand new WordPress install with Avade Theme installed on RPi 4 - works fine when I access it on http://203.0.113.111/index.php from an external connection, but if I remove the index.php I get nothing ...
-1
votes
1answer
23 views

My wordpress site is redirecting to old url,

I moved my url from staging.site.com to site.com but when I type site.com in the browser, it automatically redirects to staging.site.com which doesn't really exists. I have tried changing the wp-...
0
votes
0answers
10 views

How can i use the custom variables with in the text editor to use it dynamically?

I have added a template page to the custom email menu. I want to use the custom variable in the email body to use dynamically passing the variable value. E.g. The body of the email template Hello ...
-3
votes
0answers
12 views

How to make auto plugin installer [closed]

I want to install some plugins which some of them are from online wordpress plugin database also some of them are from in theme directory automatically for my theme.Shortly, I want to make one click ...
0
votes
1answer
23 views

Dequeue a style file which is making website load slow!

I have a website running on GrandNews WordPress Theme (https://themeforest.net/item/grand-news-news-magazine/15885465) and loading via KeyCDN. The site is loading a CSS file located at websitedomain....
0
votes
0answers
12 views

Blog not showing latest post unless I log in

I have created a new post that is published and public. It is not showing on my blog but, if I log in, it suddenly appears. The post is accessible via its permalink, whether or not I am logged in, it ...
0
votes
0answers
11 views

Write test for magic method __clone for plugin development

I implemented the Design Pattern Singleton in my Plugin. and I want to test the magic __clone () method to not allow cloning : /** * Cloning is forbidden due to singleton pattern. */ public function ...
0
votes
0answers
19 views

My Min Date is not working for the Date Picker using Elementor Form [closed]

I am working on my WordPress project using Elementor. In that, I have used Elementor form with date picker and I have write the code for min-date but it is not working. This is my Form with Date ...
1
vote
1answer
18 views

Post edit - Media Library - Only get images from current post

I've got a few ACF Image fields for posts And I want to only query the images in the media library browser already uploaded and used on the current post. In other words, when opening the media library ...
1
vote
1answer
19 views

How to pick the default selected value in wordpress dropdown?

First of I am pretty new to this so sorry if this has been asked before but I could not find the right answer for me. I have this dropdown on my website from compare-tech(.)fr I am trying to remove ...
0
votes
0answers
17 views

Prefixing widget_posts_args Hook

I am working on a theme that I am trying to submit to wordpress.org. I tested the code with theme sniffer plugin and I have the following error: Hook names invoked by a theme/plugin should start with ...
0
votes
1answer
12 views

alternate left - right content inside the loop

I'm not sure if this were asked before. I want to obtain a similar effect where the contents and the images are alternated for each post, one time the image is on the left and the text on the right ...
0
votes
0answers
20 views

word press blogs error(HTTP ERROR 500) after 7 days [closed]

I am new in WordPress. I bought hosting from Host Gator. My blogs are crash/stopped working after 7 days. All my blogs arestopped and gave error like: This page isn’t workingshop.bhylu.com is ...

15 30 50 per page