Questions tagged as 'wordpress'

1
answer

Problems with the wp_mail () function; of wordpress

Developed a plugin for Wordpress, already tested on the hostgator, worked correctly. When I put it in Digital Ocean, the function wp_mail(); is passed as true but does not send any email.     
asked by 13.01.2015 / 01:08
1
answer

update_post_meta / add_post_meta of Dynamic Inputs

I have the following problem, I have a shortcode that is a form, and inside this form have the inputs that were created dynamically by the programmer itself through a function, but I have no idea how I will get the values of these inputs and sav...
asked by 01.10.2014 / 17:48
1
answer

Page posting specifies Wordpress

I'm working with wordpress and I'm customizing the index keeping the top and footer: <?php get_header(); ?> <?php get_footer(); ?> But when I go into the settings and point to the "Blog" page as the post page they do not appear...
asked by 03.09.2014 / 15:01
1
answer

Reduce thumbs size of some products in woocommerce / insert products without shortcode

There is a virtual shop that displays the products in the home ... products in category A and products in category B. Those in category A are the main ones, those in the secondary B category. So at home the thumbs of the products of category B h...
asked by 18.07.2014 / 13:10
1
answer

How to loop a custom post type following the menu_order?

On a static page in wordpress I'm looping a custom post type from a list of services as follows: $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query(); $wp_query->query('showposts=14&post_type=servicos'.'&paged='.$pa...
asked by 21.07.2014 / 07:18
1
answer

AJAX Wordpress request with problems

I'm developing a form template within a wordpress theme. I need the form data to be sent via email to a certain address via AJAX. Here is the form handling in JS: var FormData = function(){ var user_name; var user_email; var user_message; thi...
asked by 01.07.2014 / 13:13
2
answers

Masking wp-admin / wp-login with .htaccess

I'm trying to mask the Wordpress login URL. For example, I've been able to do the basics of making the url user-friendly: ^login /wp-login.php [L] It turns out that I do not want to allow access by using the direct URL with www.site.com/...
asked by 30.06.2014 / 17:56
1
answer

How to display recent WordPress posts on a page

I found a way to display WordPress articles with the following code. <ul> <?php $recent = new WP_Query("cat=3&showposts=5"); while($recent->have_posts()) : $recent->the_post();?> <li><a href="...
asked by 31.08.2014 / 16:25
1
answer

Define post_type search widget

I'm having a question about setting the post_type parameter to the Wordpress search widget. The widget is displayed in the page header. I'm currently using the following code: echo the_widget( 'WP_Widget_Search'); The widget is di...
asked by 26.05.2014 / 22:58
1
answer

wp_schedule_event is not working

I have the following function created in my functions.php . I am changing the theme to schedule, and I can see that it is scheduled by the next_schedule function. add_action( 'after_switch_theme', 'prefix_setup_schedule' ); function...
asked by 16.04.2014 / 21:17