Questions tagged as 'wordpress-theme'

1
answer

How to customize only one type of post to appear in single.php

I'm developing a wordpress jobs plugin, I picked up as wpjobmanager base is coming out all right, until I come across the following, the plugin when the user clicks to see more about the particular job opens the single.php however he It's diffic...
asked by 07.03.2018 / 13:59
1
answer

I can not import themes in wordpress

I'm trying to install a theme in Wordpress, but this error appears:    (Warning: POST Content-Length of 46588481 bytes exceeds the limit of   8388608 bytes in Unknown on line 0) Thank you     
asked by 01.11.2016 / 11:52
2
answers

Can anyone explain this logic to me in WordPress?

Well I saw this logic in WordPress theme developed by a colleague, and there was the following logic: <?php $i = 0; $post_type = new WP_Query( 'post_type=cpt' ); if ( $post_type->have_posts() ) : while ( $post_type-&g...
asked by 01.09.2015 / 12:54
1
answer

Help with wordpress loop to generate api json

Hello, I would like a hangman here in this code: 'Object'=> get_the_nome da imagem que esta no destaque() 'Categoria' =>get_the_nome da categoria follows the complete code: $args = array( 'post_status' => 'publi...
asked by 31.12.2015 / 12:39
1
answer

Error when establishing a connection with the Database

I'm getting this message several times: Error establishing a connection to the Database IhavereadsomematerialaboutthisproblemandalwaysthesolutionistoverifytheWP-configfileandverifythattheMYsqlusernameandpasswordarecorrectandcorrect.Isther...
asked by 17.01.2016 / 15:13
2
answers

Index in Wordpress Subfolder

I am mounting a hotsite in php in subdirectory where WordPress is installed. But accessing the folder is giving me the error 404 , being that it has a index.php normally. I researched and could not find a way to resolv...
asked by 27.11.2015 / 12:34
1
answer

Sale on ThemeForest [closed]

Talk to people, Has anyone from Brazil already sold items in ThemeForest? Does it pay? Do you have other alternative marketplaces? I saw that you need documentation of the item to sell in ThemeForest, would anyone have an example? Anyway, any...
asked by 27.02.2015 / 13:13
1
answer

Error of "headers already sent" when creating tables in the activation of plugin

I am developing a plugin for WordPress, in which during activation, two tables that relate must be created. My code looks like this: function create_tables(){ global $wpdb; require_once(ABSPATH . 'wp-admin/includes/upgrade.php');...
asked by 08.11.2014 / 18:42
1
answer

How to customize the og (Open Graph) tags on the post page - Wordpress

I am creating a template from scratch for Wordpress, but I would like to change the content of the og tags according to the content of the post, ie define image title and description Thank you in advance     
asked by 10.09.2014 / 18:09