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
answer671
viewsPrevent direct access to wordpress videos (Prevent direct access files)
I own a wordpress-based Learning application, and I have several video lessons in the directory public_html/wp-content/uploads/... I would like to prevent direct access to these videos, since it is…
-
1
votes0
answers341
viewsAudio Tag Does Not Work in Chrome
Good afternoon, you guys! I’m having a problem that I can’t see a solution on Google or with the tests I do. I have a site where there are some audio tags, they work normally in browsers like…
-
1
votes0
answers18
viewsWordpress -> EM4U Package -> Event inserted programmatically does not appear as featured
I have a Wordpress site where I use the EM4U package to manage events. I’m programmatically inserting events from a JSON and defining with the following metaposts. $meta = [ [ 'meta_key' =>…
-
1
votes1
answer74
viewsHow do I use Redirectmatch to redirect to the other page?
I have an application made in wordpress and I’m making a new one with HTML/CSS and PHP. Inside the folder of this application made in wordpress, has a file called htaccesss, and has the following…
-
1
votes0
answers47
viewsPhp Wordpress custom fields - sort by date in a query using GROUP_CONCAT
Good afternoon, My question is perhaps complicated and perhaps it is impossible to do what I want, I apologise in advance. I am building a website in Wordpress avoiding resorting to plugins, which…
-
1
votes1
answer213
viewsWhat is the correct way to use flush(); and Sleep(); in a foreach?
I made a page in php to generate a sales report in the format . csv through Woocommerce on the Wordpress system. <?php //incluir as funções principais do WordPress…
-
1
votes0
answers30
viewsIntegrate symfony wordpress
I’m trying to Integrate a Symfony 4.3 PHP app in Wordpress, By integrating I Mean that the Symfony page call the get_header() and get_footer() So I Managed this by putting require dirname(__DIR__) .…
-
1
votes1
answer213
viewsDoes anyone know how to use php’s flush(); function on a Wordpress site?
Some time ago I posted this question because needed to run a script that pulled a lot of information (multiple requests) in Wordpress, searching a little found the function flush(); to be able to…
-
1
votes2
answers38
viewsAdd user filter in a function
The function below issues tax notes automatically using This plugin (Electronic Invoice Woocommerce) when the order status is completed. function issue_automatic_invoice( $order_id, $from, $to,…
-
1
votes1
answer43
viewsjQuery | Fill input and search ajax (ajax search already working)
Great, I got a problem. I already have on the site a Search field in Ajax that works perfectly, when I type it already makes the search. OK. However I am implementing this on a WP site, and put via…
-
1
votes0
answers18
viewsHow to store Woocommerce Data as Variable,Can’t print log
Good! I’m making a plugin for Woocommerce based on the Wc_integration extension that they suggest. In short, I am trying to access the list of Woocoomerce products via php. Until I see I am free of…
-
1
votes1
answer26
viewsAllow HTML in Wordpress comments
I am developing a kind of budget platform in Wordpress and I am using the system of posts and comments for this, with only a few modifications. One of them is to replace the textarea of the comment…
-
1
votes0
answers39
viewsWORDPRESS database error
Good morning guys, error caused this morning made a Wordpress site that I have in a hosting godaddy was unavailable. In short the site fell, and I could not solve this problem. Below is the error…
-
1
votes0
answers16
viewsSearch for lack of ID in two WOOCOMMERCE tables
I need to search and return todos os pedidos who are in status processando, and who possess the column meta_value in vazio or inexistente in another table. 1º - In wordpress, I will check all…
-
0
votes1
answer591
viewsDifficulty with installing the W3 Total Cache compressor YUI
I recently installed the plugin W3 Total Cache, but I’m having trouble installing Java. See screenshot: I’ve been reading on foreign forums that you need to install the archive YUI compressor on the…
-
0
votes1
answer155
viewsFacebook Plugin for Wordpress
I installed the facebook plugin in wordpress a few months ago and it worked correctly. However, for a month now, a problem has hindered my posts and I can’t publish anymore. When posting something…
-
0
votes2
answers3137
viewsError while uploading image in Wordpress
I am trying to upload an image on a site generated with Wordpress and is occurring the following error: The file is empty. Upload something more substantial. This error may also have happened if…
-
0
votes1
answer131
viewsFormatting and Commenting on Wordpress
I have two Section on my site, one shows the comments and the other is a form for comments: Section sec-aval - Shows comment <section id="sec-aval"> <aside class="sec-aval-asd first">…
wordpressasked 10 years, 8 months ago João Paulo Saragossa 603 -
0
votes1
answer223
viewsResize image and add white space to exact size
I need to know how I can make the images in wordpress instead of doing hard-Crop or resize simple in the image scale, Stay the image of the size I want and if the image does not have the same scale…
wordpressasked 10 years, 8 months ago user3066403 1 -
0
votes2
answers175
viewsHow to create a Wordpress theme/template that updates itself?
It has how to make a theme/template in Wordpress, that when I make an edition in it, it updates itself, without needing to be uploading?
-
0
votes1
answer107
viewsReturning null value when creating table in Wordpress
I am creating a Plugin and need that when activating it create the table referent in DB, but dbDelta is returning that the table was created, but when checking using $wpdb->get_var returns a null…
-
0
votes1
answer133
viewsWordpress friendly album/? album_id={id} URL for album/{id}
I developed a site in Wordpress and to make it faster, I decided to use the module wp Fastest cache However, the site has an image gallery that matters from Picasa through another module Picasa…
-
0
votes1
answer4196
viewsA menu for each page
Problem: The side menu appears on all pages. I wish I could use a different side menu for each page. I know this has to do with the Wordpress theme. I’m kind of novice with Wordpress. I’m using a…
-
0
votes1
answer511
viewsCustomizing permanent link directly in post does not work
When I make a post in Wordpress, has the option at the top to customize the permanent link, when I try to change this permanent link is not allowed, I work with some blogs in Wordpress and only one…
-
0
votes1
answer197
viewsWP Custom Post Type
The correct thing would be to have the same behavior as "Category" of post type "post" wordpress, but it does not happen. For example when I access http://localhost/projeto/anunciantes/ I have how…
-
0
votes2
answers275
viewsHow to select a particular post in Wordpress?
I would like to select posts to add a class just for it. For example I have lines with 3 posts each, and would like to select the 3 post to add a division to the next line. Or there’d be another way…
-
0
votes2
answers897
viewsOpen specific accordion by clicking on a list
My problem is this: I have a list (ul>li) that when you click on one of them, you should go to a page containing the specific accordions. This is the website: www.alfacontabil.com.br On the…
-
0
votes2
answers2175
viewsCRUD plugin for Wordpress
Someone knows a tool (plugin) that allows you to customize CRUDS simple and access them in the wordpress interface?
-
0
votes1
answer1764
viewsIntegration Cielo Woocommerce
Use Woocommerce and I’m trying to implement the payment through Cielo using the Gabriel Reguly plugin. https://github.com/greguly/cielo-woocommerce/ However, when I am on the checkout page and…
-
0
votes1
answer3083
viewsWordpress plugin to create a visit counter (with text)?
How can I put a visit counter on my website Wordpress so that each access goes up +1 ? I tried to search for plugins, but I did not find any that showed only the number of accesses in text form,…
-
0
votes1
answer98
viewsGallery in wordpress page?
I wanted a wordpress plugin that displayed my media gallery on a page for everyone to see. Has how to do it directly, or someone knows some plugin for it?
-
0
votes2
answers57
viewsHow to edit or create new smileys in wordpress?
How do I create new ones smileys or edit existing ones? Which file are these settings? I already have the smileys now just need to create the codes Ex: (:feliz:) so they can show up, only I don’t…
wordpressasked 10 years, 4 months ago Alexandre Lopes 2,769 -
0
votes1
answer1173
viewsHow to display Facebook comment count on Wordpress Admin posts page?
I know to display comments on the blog front just add <fb:comments-count href=<?php echo get_permalink(); ?>></fb:comments-count> anywhere in the theme. However, I need to display…
-
0
votes3
answers3421
viewsHow to list all posts in a category in Wordpress?
I have a site made in Wordpress where I see his posts on the site, ok? The links work, but I have a category that calls "TIPS". On the page dominio.com/dicas tips posts do not open. How to do this?…
-
0
votes1
answer82
viewsJSON API cache in Xcode
I want to cache my Wordpress JSON API in my app. I want a cache of tableview cells and UIWebView for when in airplane mode or off or with bad signal, the user can still see. I tried to cache with…
-
0
votes2
answers87
viewsDomains with different endings, pointing to the same wordpress hosting
People have the following problem I have the following domains for eg: www.meusite.com.br and www.meusite.com, and Wordpress has been configured to use the '.com' domain as the main one. The two…
wordpressasked 10 years, 3 months ago Mateus Carvalho 1,494 -
0
votes1
answer179
viewsGrab main image of the last post in Wordpress
I need to display the latest post posted Wordpress blog in a Cakephp application and am doing it as follows: $post = $this->Post->query( "SELECT posts.id, posts.post_title AS title,…
-
0
votes1
answer60
viewsShow Featured Image with Crop at index.php
I’m programming on this link http://catalogos.axitech.com.br/ and need to solve this structure since 1 to 4 squares has an image highlighted almost twice the size of other images. I know more or…
-
0
votes1
answer2279
viewsForm PHP validation in Contact Form 7
I am building a form in Wordpress and need to validate banking data, CPF, Bank Number, Agency among others, and use the plugin Contact Form 7. My question is how to validate by PHP the fields typed…
-
0
votes1
answer1013
viewsHow to add custom Fields in search for Wordpress backend?
On a custom type page, in administration, it lists the project title and the date, and so the search works only in these two fields. How to make that at the time of the search it looks also in the…
-
0
votes1
answer792
viewsHow to customize og tags (Open Graph) on the post page - Wordpress
I am creating a template from scratch for Wordpress, but would like to change the content of og tags according to the content of the post, ie set image title and description Thank you in advance…
-
0
votes1
answer128
viewsForce user to mark custom taxonomy in Wordpress
Staff would like to know if you have how to force the user to mark at least one custom taxonomy in Wordpress? Ex: In a post I have custom taxonomies, I would like to oblige the user when entering…
wordpressasked 10 years, 2 months ago Mateus Carvalho 1,494 -
0
votes1
answer68
viewsWordpress menus
I have to make a site, those with a page only with automatic scroll, but in Wordpress. What is the function that I can use that does this? I mean, just the ones that carry the menu items.
-
0
votes1
answer204
viewsHow to insert Wordpress icons in the administrative area menu?
How to set icons of Wordpress itself, icon that is located on the line 10 of this function? add_action('admin_menu', 'pagina_gerencia'); function pagina_gerencia() { add_menu_page ( 'Gerência de…
-
0
votes1
answer41
viewsStoring a request in a saved server resource variable?
Using Wordpress I will need to use the article link more than once, I wonder if storing the 'permalink' in a server resource saving variable, since I will only make a request to the database or…
-
0
votes1
answer2592
viewsHow to integrate post from one site to others in Wordpress Multisite?
I started using Wordpress’s Multisite.. I’m having difficulty calling some posts from one site to another. How can I do this within Multisite? Searching, I found some codes to put on functions.php…
-
0
votes1
answer78
viewsCreating a Wordpress Ad Insertion Area
Inside Wordpress I wanted to create a field, that when I post a featured image it would leave the image there, simple thing (think). Example is Orbit Slider, where the featured images turn to…
-
0
votes1
answer212
viewsHow to link two accounts in Woocommerce?
How to do this in Woocommerce? Register a client linked to the representative’s account, then everything the customer buys the representative can see. And with that the company will pay a commission…
-
0
votes1
answer94
viewsIs there a function in Wordpress to control daughter pages?
I’m looking for a small function in Wordpress that does the following: Se (esta página for filha desta outra) { mostre este menu } Mas (caso esta página seja filha desta outra) { mostre este outro…
wordpressasked 10 years ago Marcos Vinicius 7,188 -
0
votes0
answers15
viewsWordpress Fatal error after update 4.0?
I have this wordpress: www.verticalvideo.en And Yesterday, I updated all the plugins, and then updated core to 4.0 (I checked if plugins could Handle 4.0 before). Everything seemed to Went fine,…