Questions tagged as 'wordpress'

1
answer

Calling from 2 post in the wordpress loop

I am looping in wordpress using WP_query and need to list me only from 2 post, ignore the first 1 post. Previously I used the query_posts (offset) to do this, but using wp_query I'm not getting it. Could someone give me this help to see if...
asked by 22.07.2015 / 19:39
1
answer

PHP and Wordpress, run a script every time you make a new post

Hello, I'm needing every time I make a new post in Wordpress run a script . I do not want to waste time making applications, I just want to know which page is responsible for sending the posts in Wordpress. I also want to know if you can get...
asked by 18.03.2015 / 18:30
1
answer

How to identify category by slug when inserting a record with wp_insert_post () of wordpress?

I need to identify categories by slug when adding a post in wordpress. Common and functional example: $post_id = wp_insert_post( array( 'post_author' => 1, 'post_title' => 'titulo', 'po...
asked by 31.03.2015 / 01:52
2
answers

Is there a crud plugin for wordpress? [closed]

I need a plugin that takes information from a form and inserts it into the database, I also want to be able to change, query and delete this data in an admin page. They can be distinct plugins for each function. I understand PHP fairly...
asked by 03.07.2015 / 21:29
1
answer

Problems with nested shortcodes

Hello! I'm trying to use some nested shortcuts, but I'm not succeeding. The shortcodes are these, in order of declaration in functions.php: function p_generico_shortcode( $atts , $content = null ) { return '<p class="pov generico">...
asked by 29.04.2015 / 03:24
1
answer

Get the values from a table and use it to create a new database

Well I have the following problem: I'm moving from server to agency, and I came across the following problem: it had only 1 database and within that database there were several tables with the names of the clients. The problem is that with...
asked by 05.03.2015 / 15:06
1
answer

WordPress content page, how to edit

I want to change the page that displays the content when you click on a post, the story itself. I want to put a Google Adwords ad unit on this page and put a <div> and a PHP block. What .php page should I edit?     
asked by 06.02.2015 / 20:13
1
answer

Wordpress - Order by meta value num

I'm cracking my head with a problem I'm having with Wordpress. I am using the meta_value_num sort order from a meta_key that goes the value of some properties (the value is placed without decimals, eg: 100000 (100 thousand)). Ho...
asked by 26.01.2015 / 21:09
1
answer

Wordpress - error starting site

Wordpress site of a colleague's client went out of the loop. Message entering website:    PHP Warning: require (wp-includes / compat.php) [function.require]: failed to open stream:   No such file or directory in   E: \ home \ tecnoserviceb...
asked by 20.03.2015 / 15:53
1
answer

Problem with Wp Query

I have a problem with the loop when I make a wp_query. See my code: $query_video = new WP_Query( $args ); $args = array( 'post_type' => 'post', 'category_name' => 'videos', 'posts_per_page' => '4', 'orderby' => 'ran...
asked by 22.02.2015 / 15:30