FFmpeg saving rtmp live stream cuts off after 3 minutes

I was playing with ffmpeg and was able to save a live stream to a file. The command to do so is: ffmpeg -re -i "rtmp://<ip addr>/livestream live=1" -f h264 test.flv However, I have tested this...

Gravity Forms Total Field not working in Wordpress Pages

I have wordpress with gravity forms plugin to add forms with a product and options and the total down the bottom. When I create the form and click "preview" the total down the bottom works, but...

Upload plugin to wordpress with php and curl

I am trying to upload a plugin on wordpress and activate it. I know I shouldn't use curl and php for this, but it looks like the xmlrpc won't be able to help me in this case. So I have this...

How to add "active" class to wp_nav_menu() current menu item (simple way)

I am creating custom Wordpress theme using a starter theme _Underscores and Bootstrap. I would like to modify wp_nav_menu so that it assigns the current menu item .active class instead of the...

"Too many redirects" when try to redirect site using htaccess

I need to redirect my site from example.net to www.example.net with a 301 redirect. I'm using All In One WP Security & Firewall for my website and it's automatically adding additional code inside...

Installing A Custom Composer Package from GitLab

I've created a simple test wordpress plugin. The plugin consists of a single php file (kreplach.php) and a composer.json: kreplach.php <?php /* Plugin Name: kreplach Plugin URI:...

NGINX Proxy to wordpress website

I have a statically served site (using nginx). I want to host a wordpress blog (hosted on a different instance) under /blog folder. When using a nginx proxy: location /blog/ { proxy_set_header...

Android Auto: My App doesn't play audio

I'm implementing Android Auto support for my app, but it is not working properly. I've followed Google's documentation and some tutorials, but the audio is not working. The controls, album art,...

Safely disable WP REST API

I am considering to improve security of my Wordpress website, and in doing so have come across WP REST API being enabled by default (since WP 4.4 if I'm not mistaken). What is a safe way to...

WordPress Multisite 404 error on posts and subsites

I have installed WordPress multisite and my main site is working but the posts and subsite going to 404 I searched a lot and no luck. my Wordpress is configured in the subdirectory at...

how to move the WooCommerce Add to Cart button below the product description

I'd like to move the WooCommerce "Add to Basket" / "Add to Cart" button below the product description and extra form fields added by WP Field Factory @ this page. I've tried the following in...

Can access localhost but virtual host can't be reached

First post on stackoverflow, so thanks in advance for the help. I am having an issue connecting to my virtual host (created in WAMP), though I can access my localhost site with no issue. When I...

Uploading zip file to Elementor in Wordpress

I'm trying to upload a zip file with 201 files which are page sections for Elementor. I can do it one file at a time if I extract the zip file but WP should be able to extract and install them all...

Issue preloading CSS on Wordpress site

I am having trouble preloading CSS on my WordPress site. I was writing a script to find every JS and CSS script enqueued in the footer, and preload it in the <head>. The code for the JS scripts...

Nuxt JS load components depending on API response

I'm building a nuxt app to consume the wp rest API. In my fetch method I fetch information about needed components. I can't figure out how to then import all the components and render them. I've...

How to select h4 heading

I'm trying to decrease my font size for a h4 header and change some other things but the h4 class, .awpcp-listing-title doesn't seem to function as a selector. Tried several options, including...

Webpack - package: @babel/polyfill has been deprecated - How to use an alternative?

I came back to my Webpack 4 configuration and all the packages after 4 months. It always surprises me how fast a package get's updated or deprecated. I have this problem, that I used to include...

How to seriazed Tm Extra Product Options Order Data while exporting using WP All Export Plugin

I am using TM Extra Product Options for adding custom/extra product options for orders. Here is my product page picture: I also used WP All Export plugin for export order data. During export I...

Very persistent /opt/lampp/bin/mysql.server: 264: kill: No such process. Xampp/ubuntu 16.04

I installed XAMPP on Ubuntu. MySql-server fails to run properly. I tried many solutions, as suggested by google "/opt/lampp/bin/mysql.server 264 kill no such process", but to no avail. Username...

Trying to filter results from a query using CASE

I have 2 WP tables, 1st is the standard users table, the 2nd is an extra fields plugin. The 2nd table is constructed of the type with the fields user_id, field_id and value I have constructed the...

VScode PHPCS Extension Error: Referenced Sniff "WordPress-Core" does not exist

I want to add PHP CodeSniffer to VScode. Within VScode I am getting the error 'phpcs: Referenced sniff "WordPress-Core" does not exist' However when I run the following command in the terminal:...

Understanding offscreen canvas to better performance

Hey everyone so I have a very complex canvas editor that allows a user to pick a video background, add text, gifs and Lottie animations using the Konvajs and Gifler libraries. It has come a long...

Button that takes you to an anchor in a horizontal scrolling website

I want to have a button that takes me to a specific part of my horizontal scrolling website. I am using Wordpress. I am willing to use any theme (or customizing any theme) as I've already tried...

Webpack compilation error with Cypress-webpack-preprocessor

I am not able to run cypress test and getting foll error: When I ran cypress run: It is giving below Webpack compilation error Webpack Compilation...

Wordpress nav walker - adding SVG arrow icon to parent menu item

This is my code for displaying dropdowns in nav menu. I've found it somewhere in internet and edited. I need to display SVG icon element in parent <li> if has submenu / dropdown menu. <?php if (...

How can I solve Flutter Problem in release mode?

My app is working normally in debug mode but when I release it shows nothing on the screen. I am using woocommerce plugin to get data. I tried a different version of different packages, I don't...

Auto-Create User Login from Wordpress to Perfex CRM

I go straight to the Problem: User creates an account on my WordPress Website User decides to use the Support-Center (Perflex CRM) User gets redirected to the Support Website -> Problem: User...

How to include query params in the base string signature OAuth1

I need to retrieve some data through the gravity forms API (which is installed as a plugin in a WordPress server). I must implement OAuth 1.0. Some of the ruby gems available for this type of...

WordPress convert image to WebP format programmatically with GD image engine

There are many PHP solutions and WP plugins, they all come with additional options that I don't want/need, i.e. how the converted files are served, where they are stored, etc. I need none of all...

Unknown encoder 'libwebp'

I am FFMPEG installed on Cent Os 7.8. I am trying to convert the video into animation in webp format but It says Unknown encoder 'libwebp' I want to know how can I install libwebp and enable...