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
-
1
votes0
answers16
viewsCounter using update in Wordpress
I’m trying to create an accountant, but the code is not increasing one more, could help me? $wpdb->update('QuantidadeTestes', array('QtdTeste' => QtdTeste+1), array('idUsuario' =>…
-
1
votes1
answer352
viewsOption template does not show on wordpress custom page
I am creating a new tab equal to "page" however, separate, staying as the image. The problem is that I created a custom template, I created my theme myself, in the "pages" tab appears the template…
-
1
votes2
answers414
viewsProblems with contact form 7 - obsolete on_sent_ok function
I have some forms using the plugin contact form 7 and each one redirecting to a specific success page, I used on_sent_ok, however it does not work I went to check and found that it is obsolete and…
-
1
votes2
answers101
viewsHow to use the $ jquery in wordpress?
wordpress indicates using the following code: ( function( $ ) { // Your code goes here } )( jQuery ); But I am using the zurb Foundation 6, and I believe this will not be enough to run it along with…
-
1
votes0
answers26
viewsMeta-box Wordpress plugin function does not return image with size set
I installed in Wordpress the plugin Metabox and added the field Image Advanced, in the file Function.php added to the following a custom thumbnails with this setting. add_image_size(…
-
1
votes0
answers30
viewsHow do I use the WP-API to play a video from a post?
I wanted to know how to get the video of a wordpress post and play it in the app. I am using the REST Wordpress API. Also, if the videos are in a format other than mp4, or 3gp, will I have any…
-
1
votes1
answer367
viewsHow to check whether or not there is a rel=""
I’m mounting a function for wordpress, in which one can navigate between the posts through the Keyboard. With difficulties, I managed to create the following function: <script>…
-
1
votes1
answer28
viewsSeparating pages by categories (including permalinks)
I am working on a project where it is necessary that there is a separation by types of pages. It works like this: When accessing the website, the visitor must choose whether it is Enterprise or…
wordpressasked 7 years, 1 month ago Fernando Garcia 21 -
1
votes0
answers173
viewsError trying to import database into phpmyadmin
I am migrating a wordpress site from one server to another. I created a new Mysql database on the new server, but by clicking "import" I get this message. How to solve?…
-
1
votes2
answers55
viewsMake 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' => 'DESC',…
-
1
votes0
answers106
viewsOwl Carousel reponsive
I have a wordpress site in which I installed the plugin Owl Carousel (v0.53), with a horizontal Carousel of 14 items, being 4 visible at a time. On the desktop, the width of the thumbnails is 298px,…
-
1
votes1
answer122
viewsUsing the awesome Font icons in Woocommerce?
How to use icons from Font Awesome on the Woocommerce pages?
-
1
votes1
answer32
viewsHelp in plugin or function
Does anyone know of a plugin or function that automatically deletes after a certain period posts and Wordpress media? I have a news site and has news of more than 2 years that I wish to delete,…
-
1
votes1
answer431
viewsPipes for checkbox Contact Form 7
I need to adapt a checkbox plugin Contact Form 7 wordpress with Pipes, what I’m doing: Man shortcode on the form: [checkbox checkbox-579 "10 cm" "15 cm" "20 cm" "30 cm"] And I must result: ...…
-
1
votes1
answer429
viewsHtaccess Wordpress URL Problem
I have a project that has an institutional website (main domain example: client.com.br) and a blog with Worpdress in sub-domain(example: blog.cliente.com.br). I have an htaccess in the root…
-
1
votes0
answers11
viewsProblem with Rss_feed Description in a custom post
I have the following problem: I have a custom post that has some social Buttons (short, share)... Since custom post does not appear by default in the feed, I am using the following function:…
-
1
votes1
answer143
viewsError while trying to access admin session in wordpress
My site is working normally, but when I go to the admin session starts to appear this error, until the 29th was working normally, I stayed these days without entering. The error shown below: Fatal…
wordpressasked 6 years, 10 months ago Marcius Leandro 462 -
1
votes3
answers735
viewsHow to translate wordpress error message
Hello, good morning, good morning! I have a problem and I am not finding the variable to be able to solve, I have a site in WP and when you try to login and neither the password nor the email exist…
-
1
votes1
answer45
viewsWordpress shortcode to insert layouts
I am creating a Wordpress template for a client, and I need to insert layouts in the pages, so I created the following shortcode on functions.php of the template: <?php function…
-
1
votes0
answers2449
viewsWoocommerce - Remove Buy Button
I have the following problem, actually are 2 situations: 1° situation: I need to Remove "buy" button when the product does not have registered price. I’m making a store with Woocommerce where there…
-
1
votes1
answer22
viewsWordpress text editor render bootstrap classes
How to render bootstrap classes within the Wordpress content editor? Thank you and good morning!
wordpressasked 6 years, 10 months ago Horacio Neto 169 -
1
votes0
answers308
viewsEmail does not send to hostgator addresses
I am configuring the sending of email in wordpress without plugin with native wpmail, however I can not send to an email address hostgator, when I send to gmail or other provider works perfectly,…
-
1
votes1
answer770
viewsHow to align UL items on the same line?
The slider on this link: http://azaz.com.br/blog/ was with the indicators (UL items) aligned, but when I checked to stay dynamic with wordpress, adding the template tags (code below), they…
-
1
votes2
answers437
viewsRedirect after login into Wordpress
I have created a new user type with the buyer function in wordpress whenever a new user is registered the even receives two links, one to change the password and the other that directs to a login…
-
1
votes1
answer127
viewsPlugin similar to quiz
Someone knows a plugin that does function "similar" to QUIZ, where the client goes answering questionnaire, at the end he fills a form with data from it (that I would recover later to be able to…
-
1
votes0
answers104
viewsError in wordpress
When trying to access a Wordpress, the following error appears: Fatal error: require_once(): Failed Opening required…
-
1
votes0
answers81
viewsConflict with JS wordpress
I’m learning how to turn a site into a wordpress theme, but I came across an error that I can’t solve: Some plugins require me to have the HEAD code this code adds the JS of WP, and conflicts with…
-
1
votes0
answers255
viewsJquery - Display Alt attribute below each slide image
So I need help with a code that I’m trying to develop. The site is all in Wordpress, and has a plugin called Master Slider. I need to develop a script that takes the Alt attribute of the images and…
-
1
votes2
answers30
viewsProblem with map in IE?
Next guys, I took a model on the net of a 'map of Brazil' to link to other sites in Brazil, however it works perfectly in other browsers, the only problem is the IE that doesn’t work correctly, and…
-
1
votes1
answer29
viewsDoubts about backup, templates and domains in the Multisite Network in Wordpress
I researched related topics but did not understand very well some things, could clarify me some doubts? 1) How can I backup a specific website on the Multisite network or would not be possible? 2)…
-
1
votes2
answers73
viewsHow to use forech in Wordpress using the Wp_query variable
Good morning! I’m not able to implement a forech in a database search using the native variables of wordpress, searching found something similar however is not what I need. <?php global $post;…
-
1
votes0
answers46
viewsContent above the error Mensages in Woocommerce
I’m working on a Wordpress site and Woocommerce. I have been asked to correct an error that happens when the user proceeds to the payment without having the login done. When the page opens, error…
-
1
votes1
answer66
viewsCapture author name of a comment to be answered
On the Facebook/Disqus feedback system, when we click to reply to a comment, it automatically puts it on textarea the username of the comment we are responding to. I wonder if it would be possible…
-
1
votes1
answer650
viewsHow to grab only the post image in wordpress?
How I only get the link from the post image in the worpdress to put in the bootstrap card element? <?php $arti_query = new WP_Query(array('category_name' => 'artigos')); if (…
-
1
votes2
answers582
viewsAlign button on wordpress center
I’ve tried a lot of things and can not at all align to the center this "forgot password" wordpress button of the login page. wp-login full: https://pastebin.com/7RBesXpG <?php if ( !…
wordpressasked 6 years, 8 months ago Daniel Fortunato 71 -
1
votes1
answer45
viewsSEO Subdomains and Redirects
I migrated from a site, which was in the base domain (dominio.com.br) and now this site has been separated into two subdomains (Sub1.dominio.com.br and sub2.dominio.com.br). Because of this change…
-
1
votes1
answer228
viewsHow not to repeat Wordpress loop posts
I’m creating a gallery of post like that of globe with. that appear 3 different posts at once. The problem is that it only picks up a post, I would like the *posts to be inserted within the div…
-
1
votes1
answer190
viewsHow can I change my homepage URL in Wordpress?
I have a site in Wordpress, when access it gets dominio.com, but I want only the index from it move to www.dominio.com/home. That is, when you access www.dominio.com, change to www.dominio.com/home…
-
1
votes1
answer339
viewsLatest posts wordpress blog 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 brings the posts more I can not define how many posts will appear and…
-
1
votes1
answer161
viewsDoubt Js code for div exchange
I have a site in Wordpress and I’m having difficulties in the following function, I created a small script, that when clicking a button, it should replace a div for another, to exchange content…
-
1
votes2
answers812
viewsBlock access to subfolders in the URL (Wordpress) from the 403 Forbidden
I hope my doubt is clear: I’ve seen images uploaded by Amazon Cloudfront that has its URL "differentiated" for images and blocks all subfolders of the path if the user tries to access. Explain. URL…
-
1
votes0
answers33
viewsDiscarding changes directly from the GIT server
I’m having a giant problem, let’s say I have a system in my hands that has been updated via FTP and I needed the GIT area free without having to commit to what is different from the server , that is…
-
1
votes1
answer154
viewsSearch for the post ID
I am creating a WP system that I am showing the ID of the post next to the title, but when I do the search, is not searching for the ID, da que não encontra nenhum post... Someone knows how to do…
-
1
votes0
answers18
viewsWordpress - Check whether mouse passed/clicked on image without links
I researched a lot already and did not find anything that serves, I need something in wordpress that runs in the html widget, that in a common image being displayed without any link register…
-
1
votes1
answer26
viewsError when changing a generated content within a <span> tag, automatically generated in Woocommerce
Trying to change the automatically generated "New!" word in Woocommerce as below: <span class="label-new">New!</span> And using the jQuery section below <script>…
-
1
votes0
answers39
viewsAdd class when inserting decimal number in input
I would like to use decimal numbers, I will insert a decimal number into the input and I would like the class to pick when it is inserted, for example: "min" => 0.00, "max" => 0.010 how can I…
-
1
votes1
answer811
viewsWP plugin to show post time
Ola, I have a Wordpress site and would like to show the time of publication of the posts. my website is www.urgentenews.com.br Does anyone know any plugin ?
-
1
votes1
answer384
viewsDisqus does not load on website
I own a Wordpress site. Which, does not load the comments in any post (in this case, would be the single.php file). In the console, appears the message: The Resource…
-
1
votes0
answers33
viewsDoubt about template-Parts in wordpress
I’ve seen that in various wordpress themes has the folder template-Parts and that in this folder there are files for example: content.php and etc... and that these files are loaded in other parts of…
-
1
votes1
answer103
viewsWordpress Wp_query - How to show parent post only?
Good evening everyone, I have a CPT where each post has its child, when listing this with Wp_query, on the page is shown all posts (father and son), but I want to show only the posts 'father', how…