Questions tagged as 'wordpress'

1
answer

JavaScript does not work in WordPress

I'm running the following JavaScript code on the site I made in WordPress. var itens = document.querySelectorAll('h1'); console.log(itens); I am pulling from a file that is in the js folder, but it does not bring the items from h1, but if...
asked by 06.11.2018 / 15:59
1
answer

PHP - plugin function in WordPress itself causing 500 error

I developed a plugin for inserting shortcodes in WordPress. It was my first one, for personal use, it has been running for years. But a few weeks ago, it started to cause error 500 (POST wp-admin / admin-ajax.php 500) when trying to insert im...
asked by 10.10.2018 / 03:11
1
answer

solve google speed insights problem

google speed insights shows this error: "Take advantage of browser cache Setting an expiration date or a maximum age in HTTP headers for static features instructs the browser to load previously downloaded resources from the local disk and not th...
asked by 27.08.2018 / 16:41
1
answer

Woocommerce customer registration [closed]

Personal I have a project where I need to customize the registration form of Woocommerce, it already has email and password. But I need to add the CNPJ field and validate if it is true, and this information should also appear on the account deta...
asked by 10.07.2018 / 14:44
2
answers

I can not remove standard background

Next, I'm using a wordpress plugin to organize the dishes of the restaurant menu, this: (food-and-drink-menu - url: link ) Well, come on! The plugin settings are very simple and by default it adds a light pink background, as follows: ( link...
asked by 03.07.2018 / 19:59
1
answer

WordPress WP_Query - How to show just post parent?

Good night everyone, I have a CPT where each post has its child, when listing this with WP_Query, the page shows all the posts (father and son), however I want to show only the 'parent' posts, like Can I do this? Thank you very much! follo...
asked by 13.05.2018 / 01:52
1
answer

Error trying to update a post in WordPress using the WP REST API plugin

   Hello, I'm new to WordPress and need (to yesterday) to solve this problem. Help! I'm creating a simple integration in Angular 2 (v6 +) that accesses the api generated by the WP REST API plugin and the json I am sending is with the fol...
asked by 12.09.2018 / 04:36
1
answer

How to create a horizontal overflow?

Next, I'm editing a site using wordpress and I have some limitations on using html and etc, I wanted to create a horizontal overflow so that instead of being as in the image below, the scrollbar was horizontal rather than vertical. / p>...
asked by 11.09.2018 / 20:32
1
answer

menu in Wordpress with 3 levels

I want to build a menu in Wordpress with 3 levels. This example has 2 levels, the parent and the child. I want the menu to have one more level, so I can create a 3-level menu with Wordpress. Below, to the left, a code that refers to two...
asked by 19.04.2018 / 15:04
1
answer

Capture the name of the author of a comment to be answered

In the Facebook / Disks feedback system, when we click to respond to a comment, it automatically places the textarea username of the comment we are responding to. I wonder if it would be possible to do the same with the comment system of WordP...
asked by 09.03.2018 / 23:31