Questions tagged as 'wordpress'

1
answer

Make Wordpress direct access to a PHP file in the theme

I have the following need: I have some pages called "Diagnostics" on my website in Wordpress. However, WP's standard features do not allow you to do what you want. I need to do some calculations on these diagnostics, and I can get them out of...
asked by 21.08.2018 / 19:40
1
answer

PHP inside Array

I'm creating a loop where I want to display only content that contains the slug category of the page. I'm not sure what variable to put inside the array $args to make the slug of the page itself the category to display. I have...
asked by 19.08.2018 / 10:02
1
answer

Wordpress access levels [closed]

I am creating a system in which I will have access levels, my question is how to put it so that in project x, such user has access and in project y, another user has access. Any tip or function to do this in wordpress?     
asked by 10.07.2018 / 19:51
1
answer

Error in including .js file in wordpress theme

I included a .js file in the header.php of my theme using the wordpress control panel. However, the line I inserted into the file does not appear on the page when I check the source code. I'm doing this: Wordpress panel > Appearance...
asked by 07.06.2018 / 02:22
1
answer

How to leave the selections mandatory and leave the first option as default?

I left the selections place in bold <!-- Adiciona o cabeçalho (header.php) --> <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <section class="orcamento-cw module">...
asked by 25.05.2018 / 19:07
1
answer

Error sending data to php with ajax in wordpress

I have this form: <select id="mudar_produto"> <option></option> <option value="#produto_1">Novo Produto Higiene</option> </select> <section class="hide-section" id="produto_1"> <form clas...
asked by 23.05.2018 / 23:01
1
answer

Insert Wordpress shortcode into a .twig file

I'm updating a site that is using twig, I need to simply put a shortcode, but the solution I have is not working, could anyone give me a light? the twig code I tried was: <div>{{post.custom_shortcode_field('[wdi_feed id="1"]')}}</div&...
asked by 08.06.2018 / 23:46
1
answer

When sending data via POST does not insert in the database

I have this form and script on a page: <section class="hide-section" id="produto_1"> <form class="form-validate" id="feedback_form"> <div class="campo"> <fieldset> <h1> &l...
asked by 24.05.2018 / 17:55
2
answers

Wordpress plugin error, ie blank field in array

Good evening! I'm developing a website for a restaurant, and I've installed a table-top booking plugin, called ( link ) The following happens, when I upload the site by hosting the time field, it does not work, it goes blank; even reinstallin...
asked by 11.06.2018 / 03:24
1
answer

Which file in the wordpress theme that arrow the language to be used?

I created a .pot and .mo file with a translation of a theme into Brazilian Portuguese, so this update is not being applied, it still continues to load the strings in the original language. Does anyone know which file is responsible for setting /...
asked by 30.04.2018 / 17:27