Questions tagged as 'wordpress'

2
answers

add Shortcode plugin custom

everyone! I have this code, <?php add_action('wp_head', 'app_searched_today_visitbh'); function app_searched_today_visitbh(){ <?php global $wpdb; $horas = $wpdb->get_var("SELECT time_format(timediff(now(),date_people),'%...
asked by 13.02.2017 / 23:38
1
answer

Update number every hour with setInterval [closed]

For now I have only been able to do this code var time = 1; var myInterval = setInterval(funtion(){ time += 1; },3600000) }); I need a div, each time the number is increased after one hour, <div id="time">1</div> The pr...
asked by 13.02.2017 / 19:16
2
answers

Sort by custom meta box a custom post type - Wordpress

I have a custom post type called "events". In it, I have a custom meta box called date (which is the day, month and year in which the event will occur). The problem is that I want to create a new obj WP_QUERY, I can order it by the date I ent...
asked by 22.03.2017 / 19:09
1
answer

Edit WooCommerce Cart

I need in Woocommerce shopping cart to modify the structure of the display of the total content (that is, the typical of the cart, where you verify that you have everything you have added or delete if you added something else without wanting to)...
asked by 14.09.2016 / 18:04
1
answer

I can not create the .htaccess file on ubuntu on the local server

I have the permissions to create files in / var / www but in a wordpress template I can not create the .htaccess file to be able to configure the wordpress permanent links. I followed this tutorial: Enable mod_rewrite with the following...
asked by 21.09.2016 / 13:31
1
answer

Can I create a custom user in WordPress?

Wordpress allows visitors to register on your website, but they offer you some default users with access to certain things, I as administrator of my site, can I create a custom user? Let me decide who has access and who does not.     
asked by 13.06.2016 / 16:56
2
answers

Failed to solve the errors indicated by Google developers pagespeed cache

I am working on a web page and it is already uploaded to the hosting (but since I have to fix some things still, I have closed the access). The issue is that I opened it a moment to see what google used to tell me in its tools for uploading a we...
asked by 28.05.2016 / 21:48
1
answer

Bootstrap slider (carousel) in wordpress

I was optimizing the web but I realized that the plugin I used for the page slider slowed it down a lot (and made it weigh a lot more) so since I'm using bootstrap, I decided to make a new one with code. The problem is that it shows absolutely n...
asked by 31.05.2016 / 12:46
1
answer

Limit a field in the WordPress visual editor when sending a post

I am using a plugin called USP PRO to send content from a form, however I am presented with the following problem: I have a
asked by 08.02.2016 / 07:36
1
answer

Sort PHP Array

//Argumentos para hacer la Query. $args = array( 'post_type' => 'sectores', 'post_status '=> 'publish', 'posts_per_page' => -1 ); //Obtenemos las clinicas del sistema. $sectores = new WP_Query($args); //Si tenemos clinicas disponibles....
asked by 09.10.2018 / 09:31