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
-
2
votes1
answer144
viewshow to display the first line of a text snippet by linking it to the page where it is?
I need to display the first line of text that will be between the [shortcode] and that this line is a link to your home page. The code below works, it displays a div, but I want to display the first…
-
2
votes1
answer1190
viewsAccess denied edit files via SFTP on Ubuntu after upload via Wordpress
I have an Ubuntu VPS (LAMP) and manage PHP files from the folder www via SFTP. I use Wordpress on my server, with it I upload folders and files and I can also delete them. Via Wordpress when I…
-
2
votes2
answers381
viewsChange Wordpress login method
I would like to change the Wordpress login form of Username/Password for Email/Password or also Custom Field/Password.
-
2
votes1
answer56
viewsHow to increase the number of comments on wordpress
I wonder how I can increase the number of comments that appears in wordpress for moderation. Note: it is not the number of comments of the post no. It is the administration part, where you can…
wordpressasked 9 years, 10 months ago VSHenrique 137 -
2
votes1
answer214
viewsAllow access to other directories with . htaccess
I have a Wordpress site installed at the root and a service order manager in a folder called /Sistema. The problem is, when I type www.meudominio.com.br/sistema/, is redirecting to the page 404…
-
2
votes2
answers6682
viewsWoocommerce registration
Hello, I’m doing a design of an online store using Wordpress + Woocommerce. The problem is this, on the Checkout page, by default Woocommerce adds several filling fields, such as: Registration…
-
2
votes2
answers26842
viewsSimulate a click event without clicking using jQuery
I have a project here with a problem, I’m close to solving but I need a hand from you! At Home, we have a button called "Covers" that when clicked should be taken to the Developments page. On this…
-
2
votes1
answer44
viewsWhat is the name of these instructions in Wordpress?
How is PHP instructions specific to Wordpress called? Of the type: bloginfo("url"); bloginfo("template_url"); get_bloginfo("description", "display"); I tried to look for Features but that’s not it…
-
2
votes2
answers620
viewsPage with even post_type wordpress Slug
Buenas I have a wordpress post_type that calls products. I created an Archive-products.php and inside it I have the loop. Inside it I need to have, before the list an editable content, and for that…
-
2
votes1
answer475
viewsShow variable in script src
I need to pass two parameters via url and create a JS function to receive these parameters and place them at the source of a script. Follow what I got. Link to the parameters: <a href="<?php…
-
2
votes1
answer1316
viewsGrab $_GET url parameter from an iframe - WORDPRESS
I’m having a hard time, inside my website I put a iframe that has a button that directs to another page inside my site via GET. only that this button is already gone. ex.: The link inside the iframe…
-
2
votes1
answer522
viewsLoad products into Woocommerce
Can anyone tell me a way to be loading Woocommerce products from an existing database. Ex.: Woocommerce would only read the bank.
-
2
votes1
answer276
viewsCustom Photos and Attachments in Wordpress
I need to put photo gallery and attachments files in posts and Wordpress pages, but with a custom style in the display within the post. How do I just upload the images and files in the edit, linked…
-
2
votes1
answer439
viewsList of popular posts with facebook comments
I’m trying to make a list of 5 items of the most commented posts on my blog, but with the comments on facebook. I found this code on google, but as you can see, it just captures the comments made on…
-
2
votes2
answers208
viewsWith or without Wordpress
Good afternoon, I am working... well, actually, studying PHP and would like to work with the Brazilian laws. I know the work is hard, but I’m slowly getting. But, I do not know if I use wordpress as…
-
2
votes1
answer45
viewsRemove spaces between a page and another
<?php /* Template Name: Index Page */ ?> <?php get_header(); ?> <?php $about = new WP_Query( 'pagename=home' ); ?> <?php if( $about->have_posts() ) : $about->the_post();…
-
2
votes2
answers1084
viewsHow to loop posts in Wordpress?
Guys I need to create that provision of articles in my Wordpress loop and do not know how I could do. I know it will require some instructions in PHP and some implementations of Bootstrap, I’m using…
-
2
votes1
answer32
viewskeywords on the wordpress site, how to put?
I have a site made in wordpress, quiet. The posts and pages are with keywords, but how to put on the main page?
-
2
votes1
answer407
viewsHow to pass a GET request to a file that does not belong to wordpress
wordpress does not recognize files that do not belong to it, even though it is there in the theme folder, which is my case. How can a make an external file receive this information? For example: I’m…
-
2
votes1
answer200
viewsDisplay codes on the front end without being executed by Edit Post
I need my front present codes and scripts without them being executed when creating POSTS. Is there a plugin for this? I used <pre></pre>, but still HTML codes are executed. See in the…
-
2
votes2
answers757
viewsHow to deploy with Wordpress
I want to increase the agility of my projects made with Wordpress. I usually use the git just in the themes. When everything is ready, I raise the theme in the traditional way, by FTP. Of course, I…
-
2
votes1
answer2219
viewsHow to include Bootstrap files in a theme?
I’m trying to include the responsiveness of Bootstrap in Wordpress, I tried via CDN and among some other methods but it works kind of partial. For example: If I apply type classes container, row, a…
-
2
votes1
answer161
viewsCenter text within an image in the div
I have a little problem in this blog that I work, http://bloganacastro.com The grids of posts just below the logo are working all OK, however, as you can see the text (title of the post) when the…
-
2
votes2
answers1493
viewsinclude tag and category in wordpress search results
Hello, I would like to include tags and categories in the search results ie, when typing in the form the category HAIR would like to appear all posts of this category. I was using the code below:(…
-
2
votes1
answer448
viewsDifferent sizes for images highlighted in wordpress!
I’m in trouble and I don’t know how to fix it I’ve tried everything and nothing! I have a theme that uses 3 different images for the highlighted image, I’m using the add_image_size to generate these…
-
2
votes1
answer265
viewsSending SMTP email in Wordpress via server with self-signed certificate
I have a Wordpress Multisite (4.3) on a server where sending emails is blocked. To send emails, an external server with authentication must be used. By default, the native function wp_mail()…
-
2
votes2
answers636
viewsMention HTML code in Wordpress post
I’m writing a new post in Wordpress, this post gives several examples of HTML code where I explain all the behavior of the HTML page. The problem is that Wordpress allows posts' texts to be written…
wordpressasked 9 years, 3 months ago fabiohbarbosa 403 -
2
votes2
answers165
viewsKeep Settings when Changing URL - Wordpress - Theme: Adventure - Organic Theme
I’m having trouble in the theme settings by changing the URL of a wordpress site using the Organic Theme’s Adventure theme. I made some scripts to change the functions in the database, which is ok!…
-
2
votes1
answer496
viewsButton Loading 3 more posts
I’m wanting my button id="boot" (<div id="boot">) each time it is pressed, charge +3 testimonials. <?php query_posts( array ( "category_name" => "depo" )); if (have_posts()) : while…
-
2
votes2
answers489
viewsDelete post through meta_value Wordpress
When I create a Wordpress post, I determine an expiration date through a plugin called Post Expirator. My question is how can I delete these posts from the home page, categories and the like when…
-
2
votes1
answer175
viewsUsing Header from another Wordpress site
I need to develop a site in Wordpress, where I have to use the header (menu) of another site also in Wordpress. One solution I found was to soak the same via Iframe, however, would have a delay a…
-
2
votes0
answers195
viewsRSS images do not appear in Wordpress
I’m trying to pull a RSS from another website wordpress, to mine which is also wordpress. The written content appears normal, but the thumbnail photo does not appear. Could someone tell me if it is…
-
2
votes1
answer620
viewsInstall Nesbox emulator in Wordpress
I’m trying to add the emulator Nesbox on a Wordpress site, but it’s not working because I don’t know in which Wordpress location should I add the emulator folder, so it works the way the developer…
-
2
votes1
answer3926
viewsHow to restrict access to a particular page in the wordpress Adm. panel?
Within the administrative panel of wordpress, I need to create about 10 pages, where each user has access only to the page that corresponds to him. Example: User X would only have access to the…
wordpressasked 9 years, 1 month ago Rafael Kendrik 1,812 -
2
votes1
answer320
viewsHow are Wordpress texts and content displayed from the PHP file?
I am learning PHP to change the company website, hosted on the server and already online. I have all the access, but I’m used only to HTML and CSS, and in the beginner’s researches and tutorials I…
-
2
votes4
answers7832
viewsRedirect problem in Wordpress
After a change in the settings of the Wordpress admin panel, it was no longer possible to access any page other than the home page, the administrative panel itself and the appearance of the site…
-
2
votes1
answer794
viewsHow to run an external script from a Wordpress form?
I just installed the last version of Wordpress and created a page with a simple form. <form class="" method="post" action="insert.php"> <input name="name" placeholder="Name"> <input…
-
2
votes1
answer634
viewsHow to add a dynamic footer in Wordpress?
I’m making a site in Wordpress and wanted to know if there are any plugin that makes a footer run, and I can change the content of the footer in the backoffice. I don’t have code because I don’t…
-
2
votes2
answers115
viewsError activating WP_DEBUG
I’m having a problem on my site in Wordpress. When I define in the wp-config.php, my site gets normal: define('WP_DEBUG', false); But when I define define('WP_DEBUG', true); The site gives page…
-
2
votes1
answer49
viewsDisplay Wordpress User Profile information on the page, only when the respective field is filled in
I created social media fields in the profile editor for a template. I tested them on static links and they are working properly: function author_social_media ($profile_fields){…
-
2
votes1
answer322
viewsHow to list only the highlighted image of a post?
How can I show on my page, only the images highlighted, no titles and description on my page? This is my structure: <?php $args = array( 'posts_per_page' => 1, 'category_name' =>…
-
2
votes1
answer296
viewsContent migration between different post types in Wordpress
Good morning, I am currently working with a project for a news portal that is the grouping of 4 different companies, but one of these companies will cease to exist and all its posts will be…
mysql sql wordpress phpmyadmin wordpress-pluginasked 8 years, 10 months ago Lucas Bernieri Ramos 143 -
2
votes0
answers1042
viewsWordpress downloads the page and does not display
Good afternoon! I have the following problem, some pages in the WP control panel are downloaded instead of loading normally when I try to access them. This happened after I edited the . htaccess, I…
-
2
votes1
answer89
viewsShorten Google Analytics tracking URL (variables only)
I would like to shorten a URL of my Wordpress site as follows: www.meusite.com/?utm_source=FONTE&utm_medium=MEDIUM&utm_campaign=CAMPANHA for something like www.meusite.com/?urlencurtada…
-
2
votes1
answer67
viewsDelete expiration date information in Wordpress posts
I am using the code below to inform the time it takes for a post to expire on my Wordpress site, whose expiration value I define in a Custom Field (expiration). From this code, as I prevent a post…
-
2
votes1
answer3812
viewsWhat are the Woocommerce product tables?
I’m thinking of making an integration between Magento and Wordpress and would like to know if anyone has any idea which tables are responsible for the products in Wordpress with the plugin…
-
2
votes1
answer655
viewsDisable Debug Mode in Wordpress
Problem I have a template in Wordpress, which was working normally. At some point, without me changing anything, the following error started to appear at the top of the page: Debug Mode On Array (…
-
2
votes1
answer61
viewsSite is displaying posts of the day 2 of May, however, some access the news updated normally
I run the site www.atodahora.com.br - Since May 7th, at 12pm, in my office, I view it as if the date were May 2nd. I see nothing else. This occurs with other connections. It turns out that in other…
-
2
votes2
answers1743
viewsHow to register and query data in the Wordpress database?
On my website, there’s a section called "My Ideal Board". It is a form where the user will enter their data and there will be a return message with the type of plank ideal for the person. First…
-
2
votes1
answer221
viewsCustom registration of users in wordpress
I need to register users in wordpress, and register this user information in another database table global $wpdb; if( count($_POST) > 0) { $userdata = array( 'user_login' => $_POST['nome'],…