Questions tagged as 'wordpress'

1
answer

Wordpress Insert featured image wp_insert_post

Hello, I have this code below that inserts a post in Wordpress. In addition to the title, I would like to insert a highlighted image, does anyone know how to do this? Follow the code below that I'm using: <form action="" method...
asked by 28.12.2016 / 01:39
1
answer

Problems with modal bootstrap

I am creating a page to generate coupon code and I am using the modal bootstrap to open a modal with the coupon data, however when I click on one of the buttons opens all at the same time, how can I solve this? <div class="cupons"> <d...
asked by 21.01.2017 / 20:21
1
answer

How do I get the images that are returning and transform into a gallery?

I'm using a mixture of WordPress plugin with PHP code to be able to perform a task that is to join all the images of a certain post in a gallery. I would like, in this code below, to know how I could play all the images returned in a gallery...
asked by 24.12.2016 / 18:31
1
answer

Calling page using Class in Wordpress

I'm working on a plugin and I created a class to display the option in the side menu and the content of the page related to this plugin, but I do not know how I can do to display the content inside it. Before I did it this way; function add_...
asked by 13.12.2016 / 01:03
0
answers

Change Previous and Next text in paging links

I defined the pagination parameters in functions.php and echoed where I want the links to appear, so far so good. The problem is that the texts from previous and next are not changing. I put a text nothing to see and see what appears. They ar...
asked by 25.01.2017 / 15:32
1
answer

How to release content in wordpress after X days of user registration

I'm developing a membership area on Wordpress, and I need to limit access according to the user's registration date. I already have the registration date and I already have the amount of days that the user is registered using the php Diff functi...
asked by 14.12.2016 / 20:25
0
answers

How to create new fields in the Wordpress database?

I'm developing an Infojobs style system, Catho and CEVIU in Wordpress, based on a Theme already created for this purpose. For a user to register on the site, by default the theme, he has to provide the following data: email, password, password c...
asked by 29.11.2016 / 16:55
1
answer

Wordpress - Remove edit box

It may seem strange, but I need to figure out how to remove the main Wordpress text box.     
asked by 14.12.2016 / 01:02
0
answers

How to Make an Update on the Mysql Database with Cache

I have a wordpress plugin for related posts, I have a table where I update the number of clicks and the number of views of each post! The problem is, on large websites I'm dropping servers with so many updates in the database, since I do this wi...
asked by 15.11.2016 / 16:16
1
answer

Wordpress: Image placed in the header.php add in the internal pages

No header.php I put for example <img src="wp-content/themes/meu_tema/asserts/imagens/logo.png" title=" /> On the homepage it works, but on the inside it does not work. How to get around this?     
asked by 14.11.2016 / 15:51