Questions tagged as 'wordpress'

1
answer

How to return all results from the [PDO] database?

I'm doing a function to return all results from a database. The function in this exact format returns only one result but putting echo in each statement returns all the results. How can I make this code that probably has a logic error...
asked by 24.09.2015 / 01:39
1
answer

Create an array of custom post type links and names to use in a meta_box without changing the value of the post in edit

I'm working on developing a WordPress plugin using two types of post. The first type is created and updated normally, and I'm trying to use it to create a dropdown in the second type. However, when I call the function that generates the a...
asked by 25.09.2015 / 16:06
1
answer

How to get the WordPress thumbnail with pure PHP?

I would like to get the URL of the thumbnails in the WordPress database using pure PHP to put in a Magento project in order to show the posts on the homepage. How this relationship Magento - > Wordpress is a bit complicated, I would like...
asked by 24.09.2015 / 13:58
1
answer

Wordpress custom search plugin

Is there a plugin that makes it easy to create a custom follow-up search for Wordpress? Template:     
asked by 31.08.2015 / 22:41
1
answer

Number of bookmarks in Google Maps

I was studying some ways to implement Google Maps, and I saw in a WordPress site a map with the information count, I I was wondering if you know a plug-in that does the same, or through documentation that Google offers to developers, how to de...
asked by 21.08.2015 / 18:14
1
answer

How to remove redirect loop in Wp?

I'm trying to install wordpress on a subdomain but I'm getting an error:    This web page has a redirect loop       ERR_TOO_MANY_REDIRECTS Does anyone know how to solve this? I already searched a lot on google and I do not find a solutio...
asked by 06.08.2015 / 21:25
2
answers

include tag and category in wordpress search results

Hello, I would like to include tags and categories in the search results ie when typing in the form the category HAIR would like all posts in this category to appear. I was using the code below :( But I noticed that the pages are the result o...
asked by 24.07.2015 / 06:25
1
answer

Sort events in descending order in WordPress

In the wp_posts table, the data looks like this: and when I insert an event, in addition to this table, goes data to wp_postmeta , and looks like this: inthefilethatdisplaystheeventslookslikethis:<divclass="latest-events">...
asked by 09.07.2015 / 23:50
1
answer

Export XLS content in WordPress admin

I need to export specific content to XLS within the administrative area, and I'm using the following code: $arquivo = 'planilha.xls'; $html = ''; $html .= '<table>'; $html .= '<tr>'; $html .= '<td colspan="3">Planilha teste&...
asked by 15.07.2015 / 00:39
1
answer

Different sizes for highlighted images in wordpress!

I have a problem and I do not know how to solve it I tried everything and nothing! I have a theme that uses 3 different images for the highlighted image, I'm using add_image_size to generate these three image sizes, but the problem is...
asked by 30.07.2015 / 21:47