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
votes1
answer297
viewsList 3 items side by side
I want to make a list of sequential items only that with 3 columns, I created an odd or even logic, to do the listing side by side, in case 2 columns... But now I have to make a list of 3 items per…
-
1
votes2
answers117
viewsPHP - If (condition) in wordpress
Next, I have 4 posts on a post type services. Brides, Day Spa, Aesthetic Medicine and Salon <div class="service-content <?php if( $post_title == 'Noivas' ) echo "qwp-content"; ?>">…
-
1
votes0
answers292
viewsError in Revolution Slider
I’m using the plugin Revolution Slider, I’ve always used it and it’s the first time I’ve had problems. When I add text to mine Slider, it cancels automatic playback. I have already tried to remove…
-
1
votes1
answer51
viewsWordpress Multisite, site in separate directory
have a question, on Wordpress Multisite I want to know if have how I create a site in separate directory. for example the main website is in: wordpress.omegainc.com.br and the secondary site I want…
-
1
votes1
answer57
viewsHow to create a shorcode with an extensive PHP code?
How I create a shortcode with this code here? When I upload and place the category in the post it loads the groups and attributes. It is a spreadsheet with Profits and Losses based on category,…
wordpressasked 7 years, 6 months ago Mano World 23 -
1
votes1
answer329
viewsSession Variable does not work Wordpress
I cannot recover session variable using the following code This is a file to which requests are sent, I declare a session variable to use on another page that is called after completion of the file.…
-
1
votes1
answer55
views"Element dl is Missing a required instance of Child element dd." Wordpress
Hello, I’m trying to validate a project of mine in W3C Validator. My page contains a Wordpress gallery, the one you manually create through the Dashboard. The problem is, I don’t know why, the W3C…
-
1
votes2
answers55
viewsRemove ? resize= from image url
After some tests with gtmetrix I realized that images take a long time to load when they are resized from the url, with the method "?resize=(dimensions)" at the end of it. Example:…
-
1
votes1
answer1685
viewsTips on how to make a search field with Wordpress
I need tips on how to create a search field in Wordpress, I have a little knowledge on the platform but still very limited and do not know where to start. The search field is composed of state, city…
-
1
votes1
answer621
viewsquery_posts , take the category and subcategory
Good morning to you all. For the first time I come to ask for help, after many attempts (I’m a beginner). I’m looking to list several posts (poste_type called=familia_fish ) by category and…
-
1
votes0
answers38
viewsHow to add an image size to certain type of media in wordpress?
When inserting a post I can select some images to include, such as featured image, images in the body of the post and also by fields created by plugins (e.g., Advanced Custom Fields). These images…
-
1
votes1
answer1626
viewsTranslation of the cart Woocommerce
The shopping cart page on my wordpress site is no translation. In the po and mo files, everything is correct, the synchronization is done, but even so the cart page is not translated. This doesn’t…
-
1
votes1
answer1176
viewsWordpress: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2 bytes)
Does anyone know how to fix this error? I’ve already set up the wp-admin.php file and . htaccess, but it still has the same error
wordpressasked 7 years, 4 months ago Mr Genesis 464 -
1
votes1
answer1346
viewsIntegrate wordpress site with external system
Good morning. I am creating a wordpress site for the client, and I would like to know if it is possible to have such functionality and what should I do. I’ll explain how it should work: The company…
-
1
votes0
answers132
viewsWordpress - Lock Wait timeout exceeded - wp_cron
Sirs, I am facing the following log, but I don’t have enough knowledge to fully understand it. How can I solve such a problem ? It has been happening constantly, but do not know how it is generated,…
-
1
votes0
answers45
viewsHow to write in the log every time an error is generated?
Sirs, 1 - I would like to know what are the methods for analyzing and handling errors for websites with great traffic. I am working with a site that is in wordpress, and I have come across some…
-
1
votes0
answers29
viewsRewrite URL in Wordpress
See if they can help me. I have a URL like this: http://www.site.com.br/portfolio-site/ilha-de-manhattan I wish she’d stay like this: http://www.site.com.br/ilha-de-manhattan Whereas manhattan…
-
1
votes1
answer49
viewsHow to define CSS scope in wordpress?
Even using the function body_class() which returns the page name or the id by applying a certain rule in css some elements in other pages change, for example: Home: <body <?= body_class();…
-
1
votes1
answer321
viewsPHP within css is possible?
I am changing the logo of the Wordpress ligin screen. For this I am using PHP to filter the function by changing the CSS. But since I have several services like this, I need to do it dynamically,…
wordpressasked 7 years, 4 months ago Mr Genesis 464 -
1
votes2
answers164
viewsFilter Loop Wordpress
How can I filter the loop in Wordpress? I need to create several loops with different filters. Example: Extract the last post from category x.
wordpressasked 7 years, 4 months ago Mr Genesis 464 -
1
votes1
answer297
viewsAdd custom wordpress taxonomy field
I am giving maintenance on a Wordpress site on which there is a page called "Services" and so there is also the "Service Category", on a certain page of the site, these services are listed within…
-
1
votes1
answer19
viewsHow to do first system installation check on a server
When installing Wordpress for the first time on the localhost/server it presents forms and a step by step registration of a first user the administrator. I would like to understand how I do such a…
wordpressasked 7 years, 4 months ago Bruno de Moraes 43 -
1
votes0
answers268
viewsAttributes of the products not working at the time of sale - Woocommerce
I have variable and simple products in the store. However, variable products, even with stock, price and being enabled with the same configurations of a simple product, it does not allow the sale. I…
-
1
votes1
answer755
viewsDisplay featured posts and image using Wordpress REST API
I want to display the last two Wordpress posts using API Rest, after many searches and test manage to do this gambit there, but after I put this foreach inside the other one got a little slow, it…
-
1
votes1
answer625
viewsSpecific css file for each wordpress page
I’m making some custom pages in a wordpress template and would like to put a css stylesheet in each one right in the header. Is there any way to do that? I tried to get the title of the page and I…
-
1
votes0
answers53
viewsGeolocation and Time Zone
I am creating a Wordpress site for a teacher of Portuguese for foreigners, I put a scheduling page with a calendar for person to choose date and time for class, however, as it will meet the whole…
-
1
votes1
answer44
viewsImages in the creation of wordpress theme
I am creating a wordpress theme of vans for changes, at last, I created a page-vans.php and in it I am showing each van category having small, media, large and extra large, attached as thumbnail an…
wordpressasked 7 years, 3 months ago Andyh Henrike 35 -
1
votes0
answers974
viewsEnable method POST wordpress/Woocommerce
I’m trying to send a POST for Woocommerce/wordpress using the API Woocommerce-api, but I only get the error 401 what it says: Fetch API cannot load http://wc-project.dev/wp-json/wc/v1/orders...…
-
1
votes1
answer396
viewsAdd custom image type Metabox in Wordpress
I am beginner in Wordpress and I am developing a theme for a blog in it and I need to create a presentation where there is a brief summary of the blogger plus her photo. Well, I created a kind of…
-
1
votes1
answer23
viewsShow Thumbnails of a particular wordpress page
I am developing a theme for wordpress and created a custom page, I gave the name of the file page_vans.php when I will create a page on Dashboard I have the template option that appears to me to…
-
1
votes0
answers24
viewsUse wordpress video without iframe
I am with a question that can be quite beginner, is there any way to display youtube videos on a wordpress page without using Iframe? There are several discussions saying that Iframe is a bad idea,…
-
1
votes1
answer147
viewsCSS to style Total Woocommerce
I’m setting up a virtual store on wordpress and would like to know how I do to stylize the Total at the top of the site. Currently it gets broken, as if they had given a block between the R$ and the…
-
1
votes0
answers339
viewsHow to List Woocommerce products in the bootstrap Carousel
<div class="container-fluid"> <div class="row"> <div class="row"> <div class="col-md-9"> <h3 class="titulocarosel"> Produtos mais vendidos</h3> </div>…
-
1
votes2
answers85
viewsWordpress theme 'Minamaze' was not responsive when active
I applied the theme Minamaze of Wordpress which was chosen to be responsive, but it does not get when applied. Only plugin I have active is for an email form (contact Form7). Version of wordpress is…
-
1
votes0
answers47
viewsHow to make Bootstrap work in Theme options - ADMIN
I can’t get Bootstrap to work on the Settings API options in my Wordpress theme. I added in the action admin_enqueue_scripts together with other JS and CSS Wp_register_style ('custom_wp_admin_css',…
wordpress twitter-bootstrap bootstrap-3 bootstrap wordpress-themeasked 7 years, 3 months ago Gislef 261 -
1
votes1
answer476
viewsRedirect Wp-admin
I uploaded a new wordpress site, changed the urls in the database and changed the settings of db in wp-config. All right when I try to access using the url: http://hmaquecedores.com.br/wp-admin it…
-
1
votes0
answers378
viewsSlider plugins do not load
I have installed several plugins for the home slider and none of them load. Or load and the configured images are below each other. What might be going on?
-
1
votes2
answers57
viewsQuery in two different tables in Wordpress
I have a code, where it returns me some data of all users of the table wp_usermeta, ( in case I’m only pulling the full Name, and the Capabilities, but to get more complete my table, I would like to…
-
1
votes1
answer42
viewsText editor table is not writing in the database
I have a text editor in a project, but when someone uses the table tool in the editor it doesn’t save the table to the database, it only saves the table content. And when the download is done the…
-
1
votes0
answers20
viewsRegistration and Custom Widgets in Wordpress
We have a Wordpress site already in operation and we need to develop a functionality in the same that enables the following: Allow a DJ to register and create his site profile; Create a page that…
-
1
votes1
answer524
viewsHow to dynamically display the category name of my post within the text in wordpress
What PHP function can I use to make the category name dynamically appear in wordpress in the text of my post?
-
1
votes1
answer350
viewsShow site pages on Google
I’m trying to show a "map" of the site on Google when searched, but I’m not succeeding. Using the plugin Yoast SEO, I configured all the pages of the site, but I did not succeed. When searching the…
-
1
votes1
answer721
viewsResponsiveness on iphone
I developed with my colleagues a theme in Wordpress that is pretty cool on various devices, but the boy who will receive the site uses an iPhone 5 and this smartphone the figures were "stretched". I…
-
1
votes0
answers22
viewsMap showing that exists without existing
I have a problem a little strange, I added a map per kml on the site but then I went to try to change this map for another, I noticed that it did not change, I cleaned the cache and I did everything…
-
1
votes1
answer37
viewsDoubt about Wordpress
I need a news system for a website that’s ready. Only that I do not know much of wordpress, I do not know if it is possible to install wordpress on a site already ready. I wonder if it’s possible,…
-
1
votes1
answer317
viewsPopulate input with array
Hello, In my code jquery has a part like this: $("#show").append("<img src=" +attachment.url+" alt="+attachment.alt+" title="+attachment.title+" description="+attachment.caption+"…
-
1
votes1
answer3821
viewsError "Uncaught Pdoexception: could not find driver" in Wordpress on localhost
I’m trying to put a Wordpress site in Xampp (localhost) but when running it appears the following error: My mistake: https://prnt.sc/gjytdc Fatal error: Uncaught Pdoexception: could not find driver…
-
1
votes0
answers27
viewsCompatibility mode Wordpress
I use wordpress and I need to make this code work. upei it and to using firefox debuger to know where are the errors. It already replaces all $ for jQuery, but on line 18 he’s saying that…
-
1
votes1
answer3976
viewsError in Wordpres JQMIGRATE: Migrate is installed, version 1.4.1
This showing JQMIGRATE: Migrate is installed, version 1.4.1 error on my worpdress site only when I use the Google Chrome browser. In mozila and edge the site works normal and the scroll effect also.…
-
1
votes0
answers692
viewsDisplay the terms of a custom post Taxonomy
am with the following problem in creating a wordpress theme. I created CPT called child and for it I created a tag taxonomy. Everything is working normally but when I call this CPT post in…