Questions tagged as 'wordpress'

2
answers

How to run PHP Data Import Code for WordPress site?

I have a sample code to create a Post of a specific type (product of WooCommerce ) and would like to use it to do a routine importing many products. <?php function createNewProduct() { $new_post = array( 'pos...
asked by 16.09.2014 / 16:36
1
answer

How to use wp_enqueue_style?

How do I make the contact.php page use the contact.css file using the wp_enqueue_style function in Wordpress? function terradecultivo_scripts() { if (contato.php) { wp_enqueue_style('terra-style', get_stylesheet_uri() . '/contato.css' )...
asked by 19.12.2014 / 20:13
2
answers

Redirecting permalinks

I have a website developed in Wordpress, and the main structure is: www.teste.com.br/titulo-do-post only, I will have to modify it to: www.teste.com.br/categoria-do-post/titulo-do-post All the links I shared as shown in the fi...
asked by 15.10.2014 / 14:49
2
answers

Block access to subfolders in the URL (WordPress) from the 403 forbidden

I hope my question is clear: I have already seen images uploaded by Amazon CloudFront that have their "differentiated" URL for images and blocks all subfolders of the path if the user tries to access. I explain. URL displaying the image:...
asked by 24.03.2018 / 18:28
1
answer

Latest blog posts wordpress on another site in PHP

I need to put in a landingpage that is in HTML the last posts of a blog that is in Wordpress, I got a code on the internet that after the posts but I can not define how many posts will appear and nor get the image of the post. Can someone help m...
asked by 09.03.2018 / 19:33
1
answer

Using the awesome Font icons in Woocommerce?

How to use the Awesome Font icons on woocommerce pages?     
asked by 18.12.2017 / 21:46
1
answer

Problem URLs Wordpress Htaccess

I have a project that has an institutional site (main domain example: client.com.br) and a blog with Worpdress in subdomain (example: blog.cliente.com.br). I have an htaccess in the root directory (institutional site) controlling my friendly...
asked by 01.12.2017 / 12:53
1
answer

Doubt about Wordpress [closed]

I need a news system for a website ready. Just that I do not know much of wordpress, I do not know if it is possible to install wordpress on a website already ready. I wanted to know if it is possible, because there has a complete news system....
asked by 22.10.2017 / 14:04
2
answers

Make an array for a query with false conditions

I have the following query , where the conditions are informed from a array : $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'orderby' => 'date', 'order'...
asked by 11.10.2017 / 22:04
2
answers

Redirect after login in Wordpress

I created a new type of user with the buyer role in wordpress whenever a new user is registered the even receives two links, one to change the password and another that directs to a login screen, I'm having trouble in this part, the each user re...
asked by 10.01.2018 / 18:53