Questions tagged as 'wordpress'

1
answer

How to print a string array on the screen?

How do I print this SQL query on the screen as a string? $current_user = wp_get_current_user(); $resultado = $wpdb->get_results( "SELECT meta_value FROM $wpdb->usermeta WHERE user_id = '$current_user->ID' AND meta_key = '_jm_candidat...
asked by 01.02.2017 / 18:29
2
answers

Wordpress - How to include new fields in the user table?

I want to include the following fields in the register of registered users in my blog: IBGE, Municipality and UF. How do I include these fields and later access them on a specific page?     
asked by 19.10.2016 / 01:09
1
answer

Post Post Wordpress

I have the following script that returns me the status and the amount of posts it has in this state, now I would like to view these posts, does anyone know of any solutions? <?php $query=" SELECT e.id ID,e.uf UF, e.nome Es...
asked by 06.10.2015 / 15:17
2
answers

Change Preposition according to State

I have the following situation: I'm using an IP-based location API link Everything is working perfectly. What I can not do is change the following: Hello visitor "from" São Paulo Hello Visitor "of" Rio de Janeiro Can you change thi...
asked by 01.08.2016 / 19:39
2
answers

Tag code recognize language (Wordpress)?

I do not understand much of this tag, but I wanted to know how to do a style scheme for that site in a Wordpress blog, code example: string demo = "StackOverflow"; if(demo.Lenght == 13) { demo += "Brasil"; } How do you make it recognize...
asked by 16.07.2015 / 03:22
2
answers

Button for cellular connection [closed]

I need a code that will help a website visitor (on Wordpress) to make mobile calls or to activate WhatsApp when clicking a particular button. Any tips?     
asked by 01.10.2015 / 01:48
2
answers

List POSTS in WordPress by views

I need to make sure that: <?php while ( have_posts() ) : the_post(); ?> lists according to the amount of views ( post_views_count ), it's like listing popular posts only that it will enter the% , and list according to which...
asked by 22.12.2015 / 21:00
2
answers

Simulate a Click event without clicking using jQuery

I have a project here with a problem, I'm close to solving but I need a hand from you! At Home, we have a button called "Toppings" that when clicked should be taken to the Projects page. On this page, we have a Portfolio-Filter Plugin, whe...
asked by 14.01.2015 / 22:52
2
answers

Credit system - Wordpress [closed]

Does anyone know of a plugin or script that works as credits / points? In other words, to download it will use X credits, and you can buy via paypal or something like that. Viewed Plugins: Easy Digital Downloads wpdeposit User Cr...
asked by 24.02.2014 / 21:26
1
answer

Page pagination category.php in WordPress

I'm trying to turn paging of WordPress into a category.php file for a theme, but the paging links do not appear. For the little I researched, it would have something to do with using custom queries, but I did not quite understand its usage. H...
asked by 07.08.2014 / 15:37