Questions tagged as 'wordpress-theme'

1
answer

Shortcode Wordpress to insert layouts

I am creating a Wordpress template for a client, and I need to insert layouts in the pages, so I created the following shortcode in the functions.php of the template: <?php function shortcode_add_layout( $atts , $content = null ) {...
asked by 08.12.2017 / 05:47
1
answer

Fill input with array

Hello, In my jquery code it has a part like this: $("#show").append("<img src=" +attachment.url+" alt="+attachment.alt+" title="+attachment.title+" description="+attachment.caption+" class='img-responsive img-thumbnail'/><input...
asked by 25.08.2017 / 03:20
1
answer

Template option does not show in wordpress custom page

I'm creating a new tab that is the same as "page", but separated as the image. TheproblemisthatIcreatedacustomtemplate,thatis,Icreatedmytheme,inthe"pages" tab the template option appears Inthe"locations" tab I created, the template option d...
asked by 12.09.2017 / 15:49
1
answer

Show Thumbnails of a particular wordpress page

I'm developing a theme for wordpress and I created a custom page, I gave the file name of page_vans.php when I'm going to create a page in the dashboard I have the template option that appears for me to choose and it appears that page page_vans....
asked by 17.08.2017 / 16:27
1
answer

How to create categories for a Post type in Wordpress?

Simple doubts, but I can not find a solution. I created a Post type called "Products" in functions.php, but it does not come with categories natively. What do I put in the functions to allow the user to give a category to a Product? I got the co...
asked by 29.10.2015 / 21:36
1
answer

Different sizes for highlighted images in wordpress!

I have a problem and I do not know how to solve it I tried everything and nothing! I have a theme that uses 3 different images for the highlighted image, I'm using add_image_size to generate these three image sizes, but the problem is...
asked by 30.07.2015 / 21:47
1
answer

As the first post image shows - Wordpress

I'm editing the theme for wordpress link but a problem has arisen. My images are hosted on picasa and linked in the post. The images do not appear in the home or in the files, only when it comes into the post that candles are possible....
asked by 22.12.2014 / 20:15
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
2
answers

How do I disable the WooCommerce CSS for the zero theme I created?

Hello, I'm encountering problems using WordPress's WooCommerce. I created a theme from scratch, but when installing WooCommerce all the visual part I built was changed by the WooCommerce plugin. I would like to resolve this, I checked the follow...
asked by 12.11.2018 / 12:01
1
answer

Add + options in the Wordpress post editor and display them in Theme

That is, the default WordPress post editor is just that ..] But as I can put option at the time of posting, how to inform the link download link .. then we put it at the time of posting, and can later display the theme. TYPE SO: and the...
asked by 23.07.2018 / 05:59