css how to make H2 tag look same as H3 tag (turned out hard!)

I'm looking for advice... for a solution to my problem. I'm coding a new wp theme for my blog. The problem I've encountered is this, I've links to post on homepage and on the category page (links...

Wordpress admin search post error - invalid post type

I have a website with some custom post type created with Ultimate CMS plugin. In admin area, when I make a new search, the result is ok, but after that, when I'm try to make a second search, It...

WordPress pagination links return 404 error on custom post types (only)?

When I click a pagination link in my custom post type "works" listing of posts (or enter a URL like "mysite.com/works/page/2"), I get the 404 page. Regular post type pagination (blog) works...

How do I use rsync shared folders in Vagrant on Windows?

I want to develop WordPress websites locally using Vagrant (Host: Windows 8 64-bit; Guest: Ubuntu 12.04 LTS). I am using Chris Wiegman's Primary Vagrant (an Apache version of VVV) I got it...

How to make wordpress admin menu collapsed by default?

I hope you all have seen wordpress admin panel. We have option at the end of menu to collapse or expand the menu. If you click on collapse the menu gets collapsed and that settings gets saved ( I...

ERROR: The file 'wp-config.php' already exists

I clicked on the 'Update WordPress' link in the admin dashboard of my WordPress site, and I am getting this error: "The file 'wp-config.php' already exists. If you need to reset any of the...

How do I keep my existing CSS when compiling LESS?

I always use a predefined CSS Reset as well as WordPress Core CSS along with my upcoming CSS in any project that I work on. I did not have a problem before I use LESS. When I write new LESS code...

JM H.264 encoder error message maxsliceperpicture

I'm trying to intra- code an Image with the JM Software. My Input- Image has the size 1920x1080/50p. With the following config- File I've already coded the test- Pictures. As soon as I use my own...

How to Pause the timer on window blur and resume the timer on window focus event?

Thanks for seeing my question. I am using wp-pro-quiz plugin for quiz. I want to know that how can I pause the timer if the window is not in focus or is blur and resume it when it is back to...

Show N rows per page in HTML table

Hello I have an html table with a lot of rows and I use a JavaScript code to add a pagination option, works fine but when I load the document shows all the rows and I want to show only 5, 10, or...

Redirect to a unique page after password reset

Looking through your forum, I found this code and well it definitely redirects, but it is redirecting before the person has the chance to submit for a password reset. Basically, I want the user to...

Wordpress and Ajax form submission

I'm totally lost here. Can anyone check what is going wrong with the form I'm trying to create here? It should send data with Ajax in WP custom theme without storying anything in the DB. The...

How to call ajax in Wordpress

My ajax call output is always showing 0 as output don't know why In functions.php I have this code function get_data() { $abc = '1'; $result = $wpdb->get_results("SELECT * FROM...

How to proxy NGINX, Varnish, and PHP-FPM over SSL

Trying to figure out how to host a WordPress site with NGINX and PHP-FPM, but also add Varnish for caching; and, to make it worse, have this offered over SSL. I've worked with NGINX, Varnish, and...

Can I reset WP Rocket cache from console (mac/windows)

I would like to clear cache from console just after releasing changes from github to production server. Now I have to click manually from admin panel.

WP Bakery Page Builder loses settings in Role Manager

We are using WP Bakery Page Builder on for a client website. The plugin works fine, but sometimes the settings in Role Manager, for what post types the composer should be on just resets. We are...

Wordpress REST API - send reset password link

I want to create a request from my application. (iOS and Android - Coded with Xamarin). Explaination: The request should trigger the WordPress action=lostpassword. - The user receives an email to...

Apply different background image for different pages in react js

I want to have a different background image for the login page and home page. If I apply the image to body tag then it gets applied to all the pages. And when I apply it to a specific login page,...

FacetWp booking adon not working with woocommerce bookings?

I am developing a booking website. i am using FacetWp bookings ad on plugin to filter my listings by date and I am using woocommerce bookings (Acccomadation Plugin) as well. it was working fine...

My page doesn't scale in google app script. only on mobile and when not in landscape mode

I created a page with a form. When I tried it in chrome the scaling in works just fine. After I created a google app script page the scaling is not working properly when I try mobile size. it...

Where does this space comes from? CSS

I've been playing both with Chrome and Firefox Dev Tools, changing the display mode, changing the height, the line height, checking padding and margin but I cannot understand where does that space...

Why won't pygame display my images or chessboard?

I'm using Pycharm Community 2020 for my IDE. I'm using Python 3.7.4. I have the Pygame 1.9.6. So I've been following a YouTube video on how to code a working chessboard, but it isn't display my...

ACF Dynamically populate a select field’s choices - not completely working

So this is an example of my code: function acf_populate_age_select( $field ) { //Get the values from textarea on option page $site_settings = get_field('theme_settings','option'); ...

WordPress: Save user meta to post meta on save

I want to add some user meta to a post (in my case WooCommerce product) after saving it. I guess that's the best approach? I found a solution which does somehting like this:...

Missing Temporary Folder in WordPress (PHP 5.6) on IIS, Windows Server 2012 R2

I am helping out with a WordPress site which is hosted on IIS on Windows Server 2012 R2, running PHP 5.6 (don't ask - and please don't snark - this is a website for my local church) For some...

Edit default Wordpress password reset email

So I first tried using the retrieve_password_message filter, but unfortunately I got no response when entering the email on the site and no email was being sent. (btw I am using the OceanWP Popup...

WordPress rename attachment file with working thumbnails

I'm trying to write a function to rename the attachment file, both on upload, but also after upload. I've written a nice function that can do this, but it results in missing thumbnails in the WP...

Cant SSH to my Google Cloud VM instance anymore

Hoping someone can help me with this. The title says it all, I cant SSH to my VM instance. What I am seeing: 1 . If I try to SSH normally, the process just loops endlessly (I actually think the...

pip install PyBluez, error in installation

I want to use the Library bluetooth, for that I want to install PyBluez. But the following error occured: Running setup.py clean for PyBluez Failed to build PyBluez Installing collected packages:...

Permissions error in WordPress setup with Mariadb + NGINX and custom php-fpm Dockerfile

I'm trying to configure a WordPress installation based on docker-compose and with official docker images and a custom Dockerfile based image for the php-fpm part. The docker-compose is like...