Questions tagged as 'wordpress-theme'

1
answer

How to get only the post image in wordpress?

How do I get only the post image link in worpdress to put in the bootstrap card element? <?php $arti_query = new WP_Query(array('category_name' => 'artigos')); if ( $arti_query->have_posts() ) {...
asked by 27.02.2018 / 16:00
0
answers

Single Page Theme does not update .php specific

Good morning, I changed certain files from front and also, changed .php files to change array that received titles for the menu, when I processed in Localhost (my machine), it worked, but when I uploaded in the hosting, only that php file that m...
asked by 02.10.2017 / 16:12
0
answers

Display the terms of a custom post taxonomy

I have the following problem in creating a theme in wordpress. I created a CPT named child, and for it I created a tag taxonomy. Everything is working normally but when I call the post from that CPT in single-child.php I can not list the tag...
asked by 30.08.2017 / 21:49
0
answers

Meta-Box plugin function Wordpress does not return image with size defined

I installed Wordpress in the MetaBox plugin and added the Image Advanced field, in the file function.php I added the following one custom thumbnails with this configuration. add_image_size( 'destaque-pesquisa', 120, 90, true ); On the pag...
asked by 03.10.2017 / 02:45
0
answers

Map showing that it exists without existing

I have a somewhat strange problem, I added a map per kml on the site but then I tried to change that map for another, I noticed that it did not change, I cleared the cache and I did everything but it does not change, then I deleted the kml site...
asked by 30.08.2017 / 15:37
0
answers

Use video in wordpress without iframe

I have a question that can be very beginner, is there any way to display youtube videos on a wordpress page without using Iframe? There are several discussions saying that iframe is a bad idea, is there any way to do it without Iframe?     
asked by 18.08.2017 / 15:15
0
answers

How to make Bootstrap work in the Theme options - ADMIN

I can not make Bootstrap work on the Settings API options in my WordPress theme. I've added in admin_enqueue_scripts action along with other JS and CSS Wp_register_style ('custom_wp_admin_css', get_template_directory_uri (). '/css/bo...
asked by 23.08.2017 / 19:44
1
answer

Limit image rendering

I'm using the link plugin to link images to categories, and I'm printing icons next to the post title so (code below) but it brings all related categories and I wanted to limit to just one can someone help me ?: <?php print appl...
asked by 29.04.2016 / 18:41
0
answers

Error when activating a theme in Wordpress

Every time I add a theme in WordPress it gives the following error:    Parse error: syntax error, unexpected '[' in public_html / wp-content / themes / StyleShop / epanel / core_functions.php on line 9 WordPress is in the newer version, i...
asked by 23.04.2016 / 04:53
1
answer

Questions about pages and links in wordpress

I'm developing my first theme, without having any previous experience with wordpress, I have some doubts ... I will have to have several pages in my theme, I saw that I can separate in different files ("pag1.php", "pag2.php", etc ...), as I d...
asked by 09.03.2016 / 20:46