Questions tagged as 'wordpress'

0
answers

Does not show the body of the email when I use the wp_mail function of Wordpress

I'm using the wordpress wp-mail function in the code below, but the body content of the email arrives as a noname.txt attachment file. $body .= "<h2>Dados do Cliente</h2> <strong>Nome:</strong> " . $user_info->first...
asked by 11.10.2018 / 04:31
0
answers

Images appear on site but not in FTP

I have a very strange problem, I researched a lot and I did not find anyone who had anything like this ... I migrated a Wordpress site to a new hosting, but I noticed that several images of the site were not migrated. When accessing FTP from...
asked by 21.09.2018 / 15:10
1
answer

Sort by custom fields and by date of publication

My problem is this, I have a post_type in the name of "collections" and inside it multiple posts with custom fields "situation-of-freck" and "collection of freckles". The result of these two fields are numbers, to make it easier to sort. I got h...
asked by 20.09.2018 / 22:01
1
answer

Error in pagination with custom post type

I have two custom post type created, one for movies and one for series, I have a loop that shows the two in the index, but when I use paging, it does not work. Eg: Press to go to / page / 2 But I get a 404 error, as if there was no page 2....
asked by 19.09.2018 / 00:05
1
answer

Display multiple Custom post type in index

I have a Wordpress template with multiple post type, and I can do the query and display all the custom post type in the index. My Custom post type is an area reserved only for Movies, Series and Blog, but in my index I only show Movies and Se...
asked by 25.09.2018 / 17:53
1
answer

Display function get_user_role and get_author_role in Portuguese

I'm developing a Wordpress application that uses the get_author_role function, however I'm not able to make it appear in Portuguese. The first function modifies the default names: function change_role_name() { global $wp_roles; if...
asked by 16.09.2018 / 05:27
1
answer

How to put image in the background of Wordpress

I'm creating a template in wordpress, but now I'm not able to put a background image in the background: Iwasabletoinsertthecolorbygivinganid="bg" pro body, because when I just tried to get the body element, the wordpress css rewrote mine and...
asked by 16.09.2016 / 00:20
0
answers

Write extra field in the Woocommerce user registry

I need to put in order for Woocommerce to write some new fields that I inserted into the user profile, I am using the code below without success, so I see that the hook is not informed, the file I am using has this action at the beginning : do...
asked by 12.09.2018 / 15:35
0
answers

The wordpress paginate_links function does not work on the main page

When the news page is not on the main page the pagination happens normally, and can change pages to other news. Now when it is set to the main page it is not possible to switch to page 2, for example, to see other news. In the address bar cha...
asked by 14.09.2018 / 14:49
0
answers

Wordpress & Contact Form 7 - Use custom shortcode in the body of the email

I need to add a custom shortcode, that is, in addition to those already provided by the plugin, such as [nome] , [email] , etc. in the email body to be sent. The reason is that I need to check the value of a form field and put the...
asked by 28.09.2018 / 01:38