.substring error: "is not a function"

I don't understand why I get an error message using the substring method to declare a variable. I want to use the first part of the URL in a comparison. Site: http://www.elizabet.nl/wordpress This...

Wordpress Rewrite Rule to enforce default lang code in URL

I am running a WP Blog with qtranslate. It allows me to create posts in multiple languages. 1 . Example URL without qtranslate: www.mysite.com/post1 2 . Example URL with localized...

Console.log not working at all

A bunch of code isn't working and I'm trying to identify where the problem lies but console.log() isn't logging any results in Chrome Dev tools, am I doing it...

Nofollow link for plugin links

In http://www.onlineincomestartup.com/drive-traffic-to-your-website/ , In the author bio that shows up inside each posts, I need to make all the links except Google plus, a no follow for SEO...

IIS permalinks compatibility - web.config not working?

I'm developing a site that has been migrated live but now every page except for the home page 404s upon linking to it. I've done extensive research on this and nothing has helped. Let me list out...

Broken links after moving wordpress site

I moved my wordpress site from local host to a live server. The problem is that all links from my nav won't work as the home button. live site url: http://iulian.cablevision.ro broken link...

Warning: Cannot modify header information - headers already sent by in wordpress

unable to add contents in pages like about us ,courses,contact us..while adding the content error is displaying Warning: Cannot modify header information - headers already sent by (output...

Double slashes on Wordpress Admin URL redirects to wp-login

I can only access my Dashboard through www.example.com/wp-login.php All links inside dashboard have double slashes before wp-admin.. like "www.example.com//wp-admin/..." And when I access this...

WordPress redirect all HTTPS to HTTP

We have a WordPress site, and used to have an SSL certificate. The site used to be all HTTPS, and now we don't need the SSL anymore so we let it expire. We've already changed the Site Address and...

Nginx as loadbalancer for wordpress, error serving static files

I'm setting up a simple environment on docker with the following stack: nginx as load balance wordpress instance mysql My simple docker compose file is the following: nginx: build: ../nginx ...

Telegram Python chatbot - replying with an animated gif

complete Python newbie, sorry! I'm using the Telebot starter kit (https://github.com/yukuku/telebot) which handles replies as: elif 'who are you' in text: reply('telebot starter kit,...

How to mouse hover and click on element in webdriver

I need to mouse hovering on one element but i am not able to mousehover it.First i need to mouse hover on one element then i need to select another one. I need to mouse hovering on one element...

WordPress > Get custom taxonomy from a custom post type

Installed Custom Post Type UI wordpress plugin Created a custom post type = 'products' Registered a custom taxonomy categories (different from category) using 1. How to display all custom post...

Wordpress constant redirect with nginx upstream

A situation has come up where server1, running Nginx, will forward all "/" locations to server2, while keeping "/api" and a few others on server1. This is also trying to keep SSL working. Trying...

How to link to a custom php page on a Wordpress Admin Plugin?

I am quite new in wordpress dev and I am writing an Admin plugin to handle certificate creation. I achieve to create the plugin, and I have it in the Admin Menu via the add_menu_page. Here is the...

Add Cancel button on My account Orders list using Woo Cancel for Customers Plugin

In My WooCommerce website I am using this plugin WooCommerce Order Cancel for Customers which allow customers to cancel their order based on payment type and on a time delay. But the cancel button...

What could be causing forced SSL on WordPress Login page? (ERR_SSL_UNRECOGNIZED_NAME_ALERT)

I'm working on a site that is share hosted at ipower(dot)com. I went to login via Wordpress. But after I entered my login credentials, I got forwarded to an https login page with the error:...

libgdal.so.20 issue centos rgdal

Can someone help me to understanding what is the problem of rgdal ? I installed gdal 2 for centos 6 64 bits but i didn't succeed to install rgdal. I tried to figure out what is the issue but i...

Docker compose volume Permissions linux

I try to run wordpress in a docker container my docker-compose.yaml file is: version: "2" services: my-wpdb: image: mariadb ports: - "8081:3306" environment: ...

Wordpress ACF Repeater sub fields

I am having an issue in Wordpress with ACF Repeater sub-fields link object not returning href on front-end. Basically the link in the front-end does not output any links set in WP admin. Text...

Wordpress Admin Bar: change background color for frontend users

Trying to change the background color of the WP admin bar for logged-in frontend users. All code must reside within a plugin, not a theme. I managed to remove nav entries of the admin bar, but...

Wordpress Admin - Plugin's back-end stylesheets not loading

I've a problem with a WP admin area and its plugins. It seems that the plugins' stylesheets used on WP back-end don't load. While general WP admin area CSS is loading correctly. That wouldn't be a...

Why can't I create new posts in Wordpress? Warning: Creating default object from empty value in /public_html/wp-admin/includes/post.php on line 716

I have run into a problem where I can no longer create new posts on my Wordpress site. I think this started after a Wordpress update a while ago. I also have problems uploading images and I see...

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...

WP - Update failed. The response is not a valid JSON response + the table is missing from the database

I got an error refreshing information on a page on my WordPress site. Error(WP - Update failed. The response is not a valid JSON response): Console: Network: Also, for some reason, a table with...

Use "Create React App" inside a WordPress plugin

I'd like to develop a plugin, where the admin frontend (e.g. wp-admin pages) is rendered with React. I'm using create-react-app for developing the app in a subfolder. For loading the React App...

is it possible to write image to csv file?

Hi everyone this is my first post here and wanted to know how can ı write image files that ı scraped from a website to a csv file or if its not possible to write on csv how can ı write this...

Nginx Proxy Manager Bad Gateway (Docker Wordpress and Nextcloud)

I've a Raspberry at home and I try to run the Following setup : Nginx Proxy Manager (jc21/nginx-proxy-manager) as reverse proxy to acces Portainer (portainer/portainer-ce) Wordpress (docker...

Gatsby fetching Wordpress Custom Post Types and create pages

I read the documentation and tried several tutorials, but I am stuck on fetching custom post types with GatsbyJS. I tried several approaches, but none of them are working as expected. I always...

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...