Questions tagged as 'wordpress'

0
answers

Product Designer in the Dokan plugin

I need to do the following: I have the Dokan plugin In which integrated with Woocommerce, it makes the site a marketplace, but when the customer is publishing a product (segment of personalized t-shirts), he needs to edit, such as uploa...
asked by 27.05.2018 / 21:00
0
answers

Wordpress Plugin to add multiple subcategories of pages at once

I'm developing a structure of pages and sub-pages in Wordpress, but it is difficult and time-consuming because they are on average 100 sub pages and more on average 50 to 100 sub pages of the sub page, and it is exhaustive, plugin to batch all t...
asked by 27.05.2018 / 17:14
0
answers

How to leave the required selection? and also by default the first available option?

I have a system in php that generates selects according to the information of the database, in case I would like to leave these selects obligatory because they do not go unnoticed and also always leave the first option selected as the default....
asked by 25.05.2018 / 20:50
0
answers

Return of information Ninja Forms Wordpress

I have a Ninja Forms form in Wordpress, and I needed to create a custom field and add a Jquery script separately so the user could add and remove fields dynamically. This is the link of the form under test: link This is the Ninja Forms codex...
asked by 25.05.2018 / 15:48
0
answers

Error in register_taxonomy in Wordpress

I created a custom taxonomy called "personality", but when I click on a name such as: brenton thwaites Thesitedoesthesearch,howeverinsteadofreturningonlythepoststhatcontain:brentonthwaites,thepageshowsmeallthesite'sposts.Ithinktheproblemisr...
asked by 25.05.2018 / 02:42
0
answers

Check cart is NOT empty Woocommerce 3.4+

I want to check if the cart is NOT empty, but I can not! Can someone help me, please? . add_action( 'wp_footer', 'redirecionar' ); function redirecionar(){ global $woocommerce; if ( !sizeof($woocommerce->cart->cart_...
asked by 03.06.2018 / 13:12
1
answer

How to delete wordpress pages directly in the database?

I'm making a clone of a wordpress site to model and generate another site. However, the site has more than 2500 pages and I need to leave only 10 that I will use. How can I delete pages directly in the database without having to delete 20...
asked by 27.05.2018 / 05:18
1
answer

Redirect if the basket is empty | Woocommerce 3+

add_action( 'wp_footer', 'redirecionar' ); function redirecionar(){ global $woocommerce; if ( is_page('carrinho-de-compras') and !sizeof($woocommerce->cart->cart_contents) ) { wp_redirect( get_home_url() ); exit();...
asked by 24.05.2018 / 15:09
0
answers

Custom post types does not work correctly

I have created two "Custom Post Type", with the following names "Films" and the other "Series", both use the same "Register Taxonomy". HoweverwhenIdoasearchsuchas:Whenfilteringonlythe"Action" genre, the site returns me to other posts that d...
asked by 29.05.2018 / 19:27
0
answers

List posts, but only one will have an image

I would like to create a list of posts, but I want only the last inserted post to pull the highlighted image. I use WP_Query to pull the posts, how can I do it? It does not have the same formatting as print, I just want to know how to create...
asked by 23.05.2018 / 18:52