Most voted "wordpress" questions
Wordpress is a content management system (CMS) written in PHP with Mysql database, aimed primarily at creating websites and blogs. This tag includes questions about modifying themes and plugins, and extending their source code, always observing the scope of the site. Do not use for support questions, installation etc.
Learn more…1,512 questions
Sort by count of
-
0
votes1
answer210
viewsWordpress post preview without the link "read more"
Hello, I am a beginner in the Wordpress platform, and I find myself in a situation where I do not want the link "Continue reading" in the previews of my posts. To add the posts previews to the home,…
-
0
votes1
answer40
viewsImport XML into Wordpress cuts the permalink address
I don’t know why you’re like this. I have the latest version of XAMPP, and use wordpress 4.5.2. I’ve assembled an xml file with all the posts I need to import, but when I import it cuts the middle…
-
0
votes1
answer1833
viewsGrab Link from the product category and display a list with the sub-categories of the Woocommerce product
I use this code to display a list of the sub categories of Wordpress posts, I wanted to know how I do to instead of picking the category of posts I pick the category of Woocommerce products. <!--…
-
0
votes1
answer255
viewsPerforming a function on two different elements without one affecting the other
By clicking on the "See More" button, I need to make the div containing the text of the post expand, if it affects the div next to it. I tried to use toggleClass() but both open at the same time, or…
-
0
votes0
answers71
viewsInsert an animation of Adobe edge in Wordpress Zerif theme
This is very specific, I don’t know if they can help me. This theme has several sessions, which are nothing more than PHP pages that are imported. I created a new page called "animation" and…
-
0
votes1
answer57
viewsI can’t center the button with css
I’m having trouble centering the proceed to checkout button. I wanted to pass the paypal to the left. Anyone can help me,I’m using wordpress. http://ttu.awd.pt/carrinho/…
-
0
votes1
answer69
viewsHow to save a post title based on a selected field?
My problem is this, I created a custom post type called "Home Highlights" and within it the user will add the post you want, these posts come from a select_advanced of Metabox, I made a function to…
-
0
votes1
answer238
viewsHow to display the result of an Inner Join for the user?
I have three tables and want to join them and display them to the user, how can I do this using the functions of Wordpress? INSERTS THE DATA INTO THE DATABASE: function cadastra_experiencia($nome,…
-
0
votes1
answer1223
viewsDisplay the category posted in post type in wordpress
How do I display the category registered in a post type in Wordpress? I’m using the Odin Framework, I created a post type called products and would like to display the category next to the post. Ex:…
-
0
votes2
answers476
viewsFilter element from taxonomy in wordpress
In the article page (single.php) of my theme I have the following code that filters a div making it appear only in pages of a certain category: <?php $categoria_post =…
-
0
votes1
answer441
viewsCall a wordpress page in PHP page
I tried to use the following command to go to a wordpress page, but it did not work. echo '<meta HTTP-EQUIV='Refresh' CONTENT='0;URL=$buscahttp>'; <script>location.href =…
-
0
votes1
answer170
viewsCustom taxonomy in Wordpress
I have a record of posts, which is actually a medical record. My question is how to direct to a file taxonomy.php specific as I have two files with their respective selects in the bank. In one I…
-
0
votes1
answer856
viewsExport and Import Mysql Table
I have a Wordpress plugin, which can be used on multiple blogs with the same configuration. I have two tables in it: wp_tabela_um and wp_tabela_2 How can I create a button to export these tables and…
-
0
votes1
answer478
viewsUse wordpress login on another site
Today I have a site made in Joomla, where the user logs in, and if he is in a certain group, can access a restricted area, php site developed internally. This site is in a directory on the same…
-
0
votes0
answers93
viewsWordpress database x memory
I have a news site made in wordpress, hosted in a VPS in godaddy, and due to the large amount of accesses, I’m having problems with hosting, the database falls when we have many accesses and…
-
0
votes1
answer288
viewsHow to solve Google Cache problem?
I took the test on pagespeed and even having installed the plugin of Wordpress appeared this: Leverage browser caching Setting an expiry date or a Maximum age in the HTTP headers for Static…
-
0
votes1
answer128
viewslist post with photo of a wordpress blog on a php site
I would like to list post aletorio with photo, or by category but on another site. kind picked up from a wordpress blog and put on a php site, as I have a 4 blogs would do it from each one, creating…
-
0
votes0
answers98
viewswp-login redirecting to old domain
I downloaded wordpress to another folder and the problem is that when I log in and click the button to validate, it redirects (successfully logged in) to the old domain. I already switched the…
-
0
votes0
answers69
viewsnext_post_link() function for posts in the same category does not work
I need to generate a button for the next post in the category and am using the following code <?php next_post_link('%link','<span class="button-1">%title</span>',TRUE); ?> But it…
wordpressasked 8 years, 2 months ago Elder Carvalho 189 -
0
votes3
answers52
viewsPositioning of a thumbnail
I have a site (using Wordpress) with several thumbnails, these Thumbs are centered vertically and horizontally as the image shows: How to make Thumbs show the top of the image and cut the bottom if…
-
0
votes0
answers771
viewsIs it possible to convert an HTML template to Wordpress?
I recently bought a template on a certain site, and did not realize that it was HTML, and not what I need, which is theme for Wordpress. They do not trade. It is possible to convert?
-
0
votes0
answers25
views301 redirect of Domain Destination Code
Good afternoon, I own a subdomain which is a wordpress blog, I’m having trouble making redirects. On google Velopers.google.com/speed/pagespeed he is sending me this warning.…
-
0
votes1
answer37
viewsProblem navbar bootstrap in Wordpress
A customer asked me to increase the size of the navbar, so far so good. I increased and had no problem, however, when I go down the page and rise again, the navbar goes behind the slider.…
-
0
votes0
answers541
viewsHow can I make an Oauth2 authentication from a native android app with a site developed with wordpress?
I have a site developed with wordpress, and not on the wordpress platform.com . Lately I have been doing tests to use restfull and consume the data via json by native android application. Only that…
-
0
votes1
answer128
viewsAjax Request and JS File Registration - Wordpress
Good morning, I am mounting an ajax request to send to the source functions.php, I read in the wordpress documentation that needs to be done the registry of the js file that handles the request and…
-
0
votes1
answer37
viewsRestrict number of recent TAB posts
I have in the home a module that displays posts recent, one featured and three in the module browser, totaling 4 posts. After I started creating more posts, messed up the module. How can I restrict…
wordpressasked 8 years, 3 months ago Alessandro Ramos 421 -
0
votes1
answer105
viewsHow can I build a loop with the bootstrap grid in several sizes?
I am currently working with wordpress and came to the following doubt... My current loop is like this... (8 Items) COL-MD-6 COL-MD-6 -------------------------- -------------------------- COL-MD-6…
-
0
votes0
answers31
viewsSwap sidebar positions directly on phpmyadmin
I’m having a problem in wordpress where it’s not leaving clicar and arrastarto change the positions of widgets (not only widgets but the whole site). I need to change only the positions of 2 widgets…
-
0
votes1
answer71
viewsCustomizing the post presentation in the wordpress looping
I am wanting to customize the looping of my posts to display the posts as follows, the first to the left and the second to the right and so on. It went wrong (and I knew it was going to go wrong),…
-
0
votes1
answer972
viewsHow to handle database working with Docker?
I started working with docker recently and there is a doubt and in a preparation for an environment wordpress lamp , I stumbled upon climbing my bank and my files . The idea was to leave everything…
-
0
votes1
answer20
viewsWordpress - Backup/clone help
I’ve been doing a job that the customer has required their site to stay online and the same way until all the changes are made. How can I do that ?? Would I have to use another domain?? I would like…
-
0
votes0
answers93
viewsChange date format in Wordpress
I’m making posts on a site developed in Wordpress, what happens is that the date format is the American: <span class="published">set 29th, 2016</span> I tried to change in Wordpress…
wordpressasked 8 years, 1 month ago Felipe Viero Goulart 3,693 -
0
votes2
answers889
viewsChange the font in wordpress.com via css
I’m trying to change the font of a site hosted on Wordpress.com. In the archive css, I do the source on the first line of the code: @import "//fonts.googleapis.com/css?family=Lekton"; Then I…
-
0
votes1
answer394
viewsCorrect permission for wp-admin Wordpress directory
What is the correct permission to assign to the wp-admin directory of Wordpress? 644 or 755?
-
0
votes0
answers90
viewsShow/hide button appears only for the initial post
In the first post, appears normally, but when I click on others, appears only the contents of the first post. <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) :…
-
0
votes1
answer47
viewsIs it possible to sell a Wordpress post?
I’m developing a digital magazine, with flipbook visualization, zoom and everything. But I have the following doubt, currently I have a post_type that is called Magazines, where I mount my magazine…
-
0
votes1
answer37
viewsHow to activate a link editor for a created post type?
I have a post type created, but it does not show the url editor of the created page, someone could tell where I declare that in the post type will have a field to edit the url?
wordpressasked 8 years, 1 month ago Carol Ferreirak 3 -
0
votes1
answer63
viewsHow to create a pagination for Attachments in Wordpress
Well, if someone knows how to create a pagination for a page that displays the images added in Wordpress, I would appreciate the help, the code I’m using is as follows: <?php $paged = (…
-
0
votes1
answer824
viewsImage size highlighted in wordpress
I have a loop that pulls the highlighted image of the post, I pull the image using get_the_post_thumbnail_url(), tried get_the_post_thumbnail_url('thumbnail') but gives error, I need to get the…
-
0
votes1
answer62
viewsMultiple wp_query without repeating category
I have a wp_query that filters three categories cars, clothes and music, the order is in Random. I would like the result to alternate without repeating the category. <ul> <?php $paged =…
wordpressasked 8 years, 1 month ago Alê Moraes 883 -
0
votes1
answer1942
viewsI can’t import themes in wordpress
I’m trying to install a theme in Wordpress, but appears this error: ( Warning: POST Content-Length of 46588481 bytes Exceeds the limit of 8388608 bytes in Unknown on line 0 ) Thank you…
-
0
votes1
answer246
viewsChange title menu text
Hello. I purchased the theme from a store to Woocommerce, and I would like to change the text of the options menu, as I do ? Thank you…
-
0
votes0
answers231
viewsWordpress: How to "pull" conditional taxonomy in a selection field?
To optimize the loading and improve the understanding for the user, I need to take the location hierarchically, ex: In Wordpress the order is: Brazil -Santa Catarina --Florianopolis In the post…
-
0
votes1
answer36
viewsI need to create a slider shortcut that allows the inclusion of additional information
Hello! I developed the site http://www.ibrapper.org.br/ using a Wordpress theme. And the client requested to put a shortcut to receiving donations as the site https://www.hcancerbarretos.com.br/ I…
-
0
votes1
answer248
viewsSearch in WP, "%" does not work
I have a search in wordpress and she uses the following: $form_data = $wpdb->get_results( $wpdb->prepare( 'SELECT * FROM ' . $table . ' ucf WHERE name LIKE…
-
0
votes1
answer53
viewsWordpress: Image placed in header.php some in the internal pages
In the header.php I put for example <img src="wp-content/themes/meu_tema/asserts/imagens/logo.png" title=" /> Home page works, but internal does not work. How to get around this?…
-
0
votes0
answers91
viewsHow to Update Mysql Database with Cache
I have a wordpress plugin of 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 big sites I’m taking down servers with so many…
-
0
votes0
answers62
viewsWordpress plugin does not display html
I’m trying to make a simple plugin that show via shortcode a small google maps map with the current location of the user, but when I put the shortcode the map does not appear, follows the code:…
-
0
votes3
answers1108
viewsError while creating Wordpress post
Hello, I had a few problems with a cross-Omain virus (SEO Infect) in my hosting, after cleaning, reconfigure things my wordpress is presenting an error that is new to my person, in place of the box…
-
0
votes1
answer183
viewsget_role('Administrator') returning null
In a project using wordpress has a plugin that is giving error in a function call get_role. $admin = get_role( 'administrator' ); This returns null and then in $admin->add_cap('regra') of a fatal…