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
-
4
votes1
answer969
viewsIs it safe to use Timthumb?
I’m making a website and I started making use of the library Timthumb.php to resize the images in the exact size I want. However came to me two questions Is it safe to use? hear that past versions…
-
4
votes1
answer3335
viewsHow to change the title of wordpress blog directly in php?
I’m in the final stages of developing my blog on wordpress and a few months ago, when I started developing I put a título, but after many researches I decided to change it, because I found another…
-
4
votes1
answer113
viewsHow should the perfect backup of wordpress blog be done?
I’ve been looking on the Internet for a while how to backup the theme I am developing in wordpress and database. I use the xampp and the banco de dados in the phpMyAdmin. I found several tutorials,…
-
4
votes1
answer446
viewsHow to enable PHP Sessions in Wordpress?
I am developing my site using the Wordpress platform. I really, really needed to enable PHP Sessions within the platform, for logged users to stay logged in within the subdomains I’m creating. Any…
-
4
votes1
answer904
viewsGrab the image of a Wordpress post from an external file
I have the titles of my last posts, but I also need to search and display the images along with the title. This is a file outside the Wordpress folder, a static page I made in HTML and CSS: <?php…
-
4
votes1
answer55
viewsHook for Custom Rop in Wordpress
I have a function that detects the position of the face of the person in an image and returns the X, Y, W, H or she can return the image cropped from the face. I need to display a photo of a person…
wordpressasked 8 years, 6 months ago Lucas Martins 196 -
4
votes1
answer1358
viewsAllow to display my wordpress site in an iframe on another site
Hello, I have a wordpress site that would like to show one of the pages in an iframe on another site, is it possible to do this? At the moment doing the iframe on another page seems to me the…
-
4
votes2
answers951
viewsSite in dynamic HTML
I am a beginner developer and I make static websites in HTML/CSS. Now I’m with a project of a news site. The site is already ready, but I need it to be dynamic, that is, the customer can insert new…
-
4
votes1
answer14830
viewsError 503 Backend fetch failed
Sometimes I get this error when I am developing some application in wordpress, someone knows tell me the reason???…
-
4
votes1
answer119
viewsCategories of Google query
I have a site with wordpress karanalpe.com.br. When I perform a search for it in google is returned the following information: When I perform a query for another site (earth for example) the same is…
-
4
votes0
answers82
viewsHow to optimize the site according to analysis response?
I recently blogged for my wife, https://danielafolle.com.br/ which I am now working to optimize the response time of the site. I’m using the Pagespeed Insights Google to base if I’m progressing on…
-
4
votes1
answer461
viewsUpdate cart status without leaving the page | Woocommerce 3.4+
<?php global $woocommerce; if ( sizeof( WC()->cart->get_cart() ) < 1 ) { ?> <div style="width: 25%;" class="footer-section <?php echo esc_html($woo);?>"> <a…
-
4
votes2
answers2601
viewsLink "Share on Whatsapp"
Based on this code <li><a class="whatsapp" title="<?php esc_html_e( 'Compartilhar no WhatsApp', 'grandmagazine' ); ?>" target="_blank" href="whatsapp://send?text=<?php…
-
3
votes1
answer953
viewsHow to avoid overlapping (overlapping) <select> elements in a form on the same page?
I use wordpress as CMS and created a form with the plugin WPCF7 (Contact Form 7). It turns out that some form elements such as select, checkbox and radio button overlap each other in a way that I…
-
3
votes2
answers1529
viewsImage URL with the_post_thumbnail()
How can I extract only the URL (attribute value src) of an image generated by the function the_post_thumbnail and assign it to an image? The result I’m looking for would be something like: <img…
wordpressasked 10 years, 10 months ago João Paulo Saragossa 603 -
3
votes2
answers1837
viewsAdvanced Custom Fields do not appear on the front end
I’m having a problem with the plugin ACF (Advanced Custom Fields) for Wordpress, I even paid the $25 for the add-on Repeater Fields , but I don’t know if I made a good deal. I looked at the…
-
3
votes1
answer1085
viewsMaking specific table query of Wordpress?
How to make a query in Wordpress in a specific table, being it: wp_dd_spg_galleries? I already have the ID of the gallery, I tried to make this query, but does not return anything: $query = "SELECT…
-
3
votes1
answer54
viewsAfter moving a post to the recycle bin, the Metabox values disappear when I restore the post
I have a wordpress theme where in the posts I have some custom Metabox. When moving the post to the recycle bin and retrieving it again, it does not return with the values of the filled Metabox What…
-
3
votes2
answers1227
views<div> that works like a <textarea> does not break line when it is sent
I’m with a comments plugin for WordPress who’s in a little trouble. It works that way: Is a <div> that works as if it were a <textarea>, only because it works like this, when the person…
-
3
votes5
answers11840
viewsUpload limit with php.ini in Wordpress
Please, you know how to change the Settings PHP > no Cpanel > software/serviços > > File Uploads upload_max_filesize Maximum allowed size for uploaded files from 2M to 10M (for example)?…
-
3
votes2
answers807
viewsHow to remove a Meta Tag created by a Wordpress plugin?
How can I remove a meta tag in Wordpress? More precisely the meta tag generator created by Visual Composer. <meta name="generator" content="Powered by Visual Composer - drag and drop page builder…
wordpressasked 10 years, 5 months ago Alexandre Lopes 2,769 -
3
votes2
answers1776
viewsHow to approve author posts in Wordpress?
I’m having a "plobleminha". Today I came across the need to add a function that is not native to Wordpress. Is the following: This site has several authors, I would like whenever a Autor post a…
wordpressasked 10 years, 6 months ago Alexandre Lopes 2,769 -
3
votes2
answers4031
viewsHow to change the /wp-admin/ Wordpress directory? and how to change the Wordpress admin Urls?
I would like to change the directory name /wp-admin/ for example /admin/ in Wordpress, however I have no idea how to do this the right way. I see that this type of change is not very common. I would…
wordpressasked 10 years, 6 months ago Alexandre Lopes 2,769 -
3
votes1
answer918
viewsPulling content from a Wordpress feed using Javascript
I found a interesting script that can help me a lot in organizing content. The script below is used to pull content from a website through the blog feed. In this case, it is made to use with Google…
-
3
votes2
answers208
viewsEmail check before sending
I have the following page http://neilgaiman.com.br/contato/ to contact a website. Sometimes people type in the field e-mail wrong, and it keeps me from answering it. There is a way to check this…
wordpressasked 10 years, 4 months ago Felipe Viero Goulart 3,693 -
3
votes2
answers1347
viewsHow to create a fixed link in wordpress?
I am implementing a site in html static for wordpress, are not all pages that need the cms to manage the content, my problem is the following! I cannot create a Menu link to a static page or any…
-
3
votes2
answers8021
viewsTranslate Woocommerce input texts
I installed Woocommerce in my theme, however, when I click on Login, Sign up, all this is in English. How do I translate these little texts? I only managed to translate the store, the panel and some…
-
3
votes2
answers495
viewsHow to use Wordpress Media Upload on multiple buttons?
Follow the HTML code of the button and text field: <div class="meta-container"> <div class="label col-2 left"> <label class="squeeze-label">Imagem Logo:</label> </div>…
-
3
votes3
answers523
viewsCall post on the page that is shown
I have a posts page that shows the title of the post and I want to click on the title to open a DIV with the post itself. I have no problem with the Javascript required for this. My problem is that…
-
3
votes1
answer73
viewsHow to avoid spam in wordpress without spending anything
I would like to know how to avoid the pile of spam that arrives in the wordpress comments, either through some plugin (free preference) or through wordpress configuration.
wordpressasked 10 years ago VSHenrique 137 -
3
votes1
answer204
viewsChange the operation of the hook myCRED Gravity Forms
I have a site with a scoring system using the plugin for Wordpress myCRED and Gravity Forms. Mycred offers a hook to automatically give pre-defined points to users each time they send a message via…
-
3
votes1
answer1522
viewsCapture Quantity of Items in Cart Wordpress
I wonder what is the best way to capture the amount of items in the Woocommerce cart in Wordpress, if there are any shortcode, etc.
-
3
votes1
answer1334
viewsSearch field in a table with PHP
I created a frame on the intranet via Wordpress (php, Mysql) to list the employee extensions of the company. By clicking on link of extensions appears a table and the scroll bar to view the list. I…
-
3
votes1
answer252
viewsCreating Archive.php in wordpress using custom field
I’m trying to create a calendar page in Wordpress where the user selects the month by a select: <select> <option>Janeiro 2015</option> <option>Dezembro 2014</option>…
-
3
votes3
answers8164
viewsWordpress Error: "Without sufficient permission to access this page"
My Wordpress site with Woocommerce shows the following message when informing login access: .. "Without sufficient permission to access this page". What I’ve tried, unsuccessfully: Delete that…
-
3
votes2
answers111
viewsAuto Publication Wordpress c#
I want a C# application to post on a Wordpress blog. The post title would be the variable value title and the article would be the variable html. How do I get that? Note: Console project.…
-
3
votes1
answer1112
viewsRun a script automatically - without using CRON
I usually schedule a script that should be run from time to time (such as an order status update, for example) using Linux CRON. (I have no idea how to do this on Windows hosts) However, I noticed…
-
3
votes1
answer326
viewsAuthentication and external redirection to wordpress sites
I’m creating a simple login system that redirects a customer to their area. There will contain links to your projects, IE, when clicking, it will be redirected to your site. EXAMPLE: I have a folder…
-
3
votes1
answer904
viewsShare count and facebook likes in wordpress loop
Next I’m trying to put only a count of the shares I had on Facebook on loop of my theme. For this I found the following function and tried to modify it to my need. Follows the function: function…
-
3
votes2
answers93
viewsOnly take the last links from a sitemap
using HtmlAgilityPack; using JoeBlogs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq;…
-
3
votes2
answers544
viewsTranslate Wordpress strings from Portuguese to English
I am with a Wordpress installation in en en and have searched numerous forms of theme translation, strings but none has worked out. Most take a theme that the default is English and I translate into…
-
3
votes1
answer1343
viewsHow to reposition menu bar below header?
I am editing a Wordpress theme and would like to reposition the menu just below the image of header, however, how to do this in CSS? The site is not yet hosted on the web. I am modifying the theme…
-
3
votes2
answers215
viewsUsing Multi Language in Wordpress
I’m developing a website in Wordpress, and need some content on the site (menus, photos and etc) to be in 3 different languages. How is it possible to do this without creating a new Wordpress for…
wordpressasked 9 years, 2 months ago Giovanni Bernini 1,074 -
3
votes2
answers85
viewsCrop image in wordpress and delete the original image
After the upload of an image in wordpress I would like to make a check if the registered image is larger than the stated limit size, if it is larger I want to delete the original image in the folder…
-
3
votes2
answers497
viewsHow to make stylized mega menu in Wordpress?
I need to make a mega menu similar to the product menu of this site: http://www.bmcsoftware.com.br/ I use Wordpress on the site I am working at the moment, I do not know if there is plugin for this,…
-
3
votes1
answer339
viewsAdd item to administrative menu to save custom value
I’m trying to add an ad in the middle of posting Wordpress. <?php $paragraphAfter = 3; //display after the first paragraph $content = apply_filters('the_content', get_the_content()); $content =…
-
3
votes2
answers340
viewsAdd an "active" class in the link according to the page accessed?
I’m putting together a theme for Wordpress, and need to add a class active in anchors, the operation is as follows: I recover the URI of the current page and compare with the text/value contained…
-
3
votes1
answer92
viewsGrid Skeleton Responsive with Wordpress
Next I’m building a website that needs to show the posts with wordpress, however I’m using the Skeleton grid framework, it works as follows: <div class="container"> <div class="row">…
-
3
votes1
answer196
viewsSearch view in wordpress
Speaks friends, I wonder if you have any way to display the research done on a wordpress site in this way: Post = in the "x" format, and, Page = in the format "y" thanks!…
-
3
votes2
answers336
viewsContact form 7 in custom post
I have contact forms made with the plugin contact form 7 within my site, only that contact forms only work on pages, within posts do not work. On the contacts page it sends correctly and shows the…