Questions tagged as 'wordpress'

1
answer

How do I display a message / alert on the first access to the site?

I would like to create a "Newsletter" that I display on first and occasionally when accessing the site. I already have it created, but I can not find the functions and tags that help me.     
asked by 17.09.2017 / 03:32
1
answer

Allow to show my wordpress site in an iframe on another site

Hello, I have a site in wordpress that would like to display one of the pages in an iframe on another site, is it possible to do this? At this time when doing the iframe on another page I get the following error: "Refused to display ' link '...
asked by 03.10.2016 / 11:24
1
answer

Catch the image of a WordPress post from an external file

I have the titles of my last posts, however I also need to search and display the images along with the title. This is a file outside the WordPress folder, a static page I did in HTML and CSS: <?php include('esenergy/wp-load.php'); // Blog...
asked by 27.01.2016 / 17:15
1
answer

METABOX with dropdown state / city in Front End using Cmb2 Plugin

I have a little problem with 2% with selectors, so that's fine, because I'm using the CMB2 plugin and a METABOX selector code, and everything is ok in the Wordpress Backend, but when I bring my METABOX for the Front End it gives an error in the...
asked by 25.07.2015 / 17:07
2
answers

Problem with multi editor in Wordpress

I'm using multiple editors in a custom post type , but the qTranslate plugin adds the language tabs only in the default Wordpress editor and in the others it does not and along with it a bug in the tab that does not allow switching...
asked by 05.02.2014 / 14:15
2
answers

Viewing Custom Post Types

I created a Custom Post Type , but now I can not create categories that are only seen for this CPT. When you add 'taxonomies' => array('category') , it displays all categories. How can I resolve this?     
asked by 12.02.2014 / 17:51
1
answer

How can I find out which template WordPress is using on a site page?

I'm often not sure exactly which theme file is generating a site page, for example, http://example.com/nome-da-pagina-post . What I do is put a echo inside each theme template, single.php , archive.php ... <?php...
asked by 17.05.2017 / 08:50
1
answer

Show products from 2 categories on page (Woocommerce)

I have a question. How do I display products of 2 categories on a page with woocommerce, as if it were a filter? I tried to create the page with the shortcode of the plugin, but it did not work: [product_categories number="20,17" parent="0"]...
asked by 07.05.2015 / 20:45
1
answer

Hook for custom crop in Wordpress

I have a function that detects the face position of the person in an image and returns the X, Y, W, H or it can return the cut image of the face. I need to display a photo of a person and I'm currently doing: <?= wp_get_attachment_image...
asked by 27.07.2016 / 18:19
1
answer

Share facebook button displaying wrong information in "box_count"

In a wordpress-based project I'm working on, I have a modal that dynamically receives various information coming from a post-loop. This modal serves as a kind of "Preview" the complete post. Within this modal there must be sharing options...
asked by 15.09.2014 / 21:03