Questions tagged as 'wordpress'

1
answer

How to perform query on more than one table (Wordpress)

How do I do a QUERY in the database in 5 different tables and return the values I want, eg: I am performing a search system (my first) and need to capture the following values: Name of Applicant, Title of Curriculum and Category of Vac...
asked by 08.02.2017 / 20:15
1
answer

Wordpress Function Enqueue - I can not add Jquery in theme

I'm trying to add jquery to the theme, all css and js that I place in function are usually added to the code, but the jquery that is in my theme directory is not being added. The file exists in the same folder as /js/bootstrap.min.js fu...
asked by 17.01.2017 / 14:06
1
answer

Implement 2 search criteria in the query (Wodpress / MySQL)

Within this query how do I add 2 more search criteria $wpdb->postmeta.meta_key = '_viewable' and $wpdb->postmeta.meta_value = 'yes' ? $query10 = $wpdb->get_results(" SELECT * FROM $wpdb->usermeta LEFT JOIN $wpdb-&g...
asked by 22.02.2017 / 15:46
1
answer

Page attribute, template, in a wordpress "project"

I have a website in Wordpress, of which some pages I use instead of the wordpress editor, file .php with a Template Name , so I point to the wordpress template, located in page attributes. But on this site, I also use the "projec...
asked by 05.01.2017 / 21:10
1
answer

Problem with accents when inserting a personified field in the wordpress panel

Hello friends when I put there "Hemerson Assuncao" sends more when I put with characters acetos type Asuncion does not send example add_post_meta ($ id, 'full_name', 'Hemerson Assumption'); Someone with this strength follows my complete co...
asked by 05.01.2017 / 20:43
2
answers

Loop from the Wordpress category

I'm trying to loop only from the category I'm on Wordpress and I'm not getting it. Someone give me a light? I'm trying the archive.php file for the theme. You should only see posts in the open category. Below the code for my archive.p...
asked by 27.12.2016 / 23:45
2
answers

While on dynamic carousel

I'm trying to display the images in the Bootstrap carousel with the while. I can access the array with all urls, but I am not able to insert in the while in the img tag, I tried while with foreach to display the images but it is not working....
asked by 04.02.2017 / 14:47
1
answer

get_role ('administrator') returning null

In a project using wordpress has a plugin that is giving error in a call to the function get_role . $admin = get_role( 'administrator' ); This returns null and then $admin->add_cap('regra') of a fatal error. It's a...
asked by 21.11.2016 / 17:01
1
answer

Collect name of category WordPress

I'm trying to collect the category name with the following code <a href="<?php get_cat_name( $cat_id ); ?>"></a> But I'm not having much success .. another thing is, I have a 4 categories but the code needs to know if you...
asked by 12.02.2017 / 18:20
1
answer

Get custom category of a custom post type

I created a custom post type, and a taxonomy with the CTP UI plugin, but at the time of listing in the loop the categporias that are marked in the posts are not listed. <?php $args = array( 'post_type' => 'oferta', 'o...
asked by 29.12.2016 / 21:05