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
-
0
votes1
answer41
viewsHow to capture the URL of the first image of my Wordpress post?
I have a website on Wordpress, but it does not host image on the server itself, only on external servers, has some form in PHP, to capture this url, that is, capture the first image of the post,…
-
0
votes0
answers56
viewsThe font doesn’t change it only changes the Weight but not the family on the front end!
The font does not change the family only the width on the front and shows no error in the console! @import url("https://fonts.googleapis.com/css?family=Ubuntu"); .menu-vin li a{ display:block;…
-
0
votes0
answers27
viewsSlider wordpress broke and I can not fix
After installing a Wordpress plugin, one of sliders that contains logos is no longer visible. Instead, this error appears : "Warning…
-
0
votes1
answer93
viewsCustom fields in user registration
Hello, I need a plugin to create custom fields in the user register and then display this registered information. For example. wanted a CPF field, Address, Phone, etc. I even found a plugin, he is…
-
0
votes1
answer102
viewscreating an HTML and CSS page in Wordpress
I took a Wordpress course last year, but I just started using the platform now. To having the following difficulty: I’m doing maintenance on an informative site, but on this site I created a webpage…
-
0
votes2
answers1031
viewsProblem when rendering image with React Native api wordpress
Speaks beauty guys, I’m doing tests extracting data from a wp api using React I can extract all the data but the image was not successful, I started a short time with React export default class App…
-
0
votes1
answer44
viewsFiletrip plugin gives error - Wordpress
I have a form in wordpress made with plugin Caldera Forms. I used the Filetrip plugin to upload the form files and send the link by e-mail of these files, everything was working properly until from…
-
0
votes1
answer27
viewsWordpress with error 404
I copied a folder from a wordpress site online and pasted it on my local server. I backed up the database and updated my database to the original one. Connection ok. However, when trying to access…
wordpressasked 6 years, 6 months ago Italo Rodrigo 4,344 -
0
votes1
answer481
viewsIs it possible to use contact form 7 with wordpress REST API?
Is it possible to use contact form 7 with wordpress REST API? Any references for reading or implementing? Thank you!
-
0
votes0
answers28
viewsI can’t reinstall wordpress
I have a server vhost Nginx called site-responsive.test follows below the configuration server { listen 80; server_name site-responsivo.test; root…
-
0
votes0
answers102
viewsHow to call a page template inside a shortcode?
I created a short code in a plugin that returns me from the registered users database and now I want you to open a profile view when you click on the name of such user, however I do not know how to…
-
0
votes1
answer26
viewsHow do I make the selects mandatory and leave the first option as default?
left in bold the location of selects <!-- Adiciona o cabeçalho (header.php) --> <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <section…
-
0
votes1
answer712
viewsmenu in Wordpress with 3 levels
I want to build a menu in Wordpress with 3 levels. This example has 2 levels, the father and the son. I want the menu to have one more level, so I can create a 3-level menu with Wordpress. Below, on…
-
0
votes0
answers42
viewsHow to add paging on the search.php page in Woocommerce
Paging is not working in search.php on the site I am developing. When I ask to show all the products, it shows the pagination, but when I do a search where results are generated for various pages,…
-
0
votes4
answers72
viewsShow login user column sum. error
Good morning, everyone, help me? i do not understand much of php, but for me to finish my site missing only one thing: I need to post the sum of the values that are in the table but based on the…
-
0
votes1
answer37
viewsHow to delete wordpress pages directly in the database?
I’m making a clone of a wordpress site to model and generate another site. However, the site has more than 2500 pages and I need to leave only 10 that I will use. How can I delete the pages directly…
wordpressasked 6 years, 6 months ago Italo Rodrigo 4,344 -
0
votes1
answer49
viewssingle.php does not work
I have in my index 3 posts and when I click to open it through a permalink enters the single.php. so far so good, appears the link in the browser calling the post, but the page is blank. I did so in…
wordpressasked 6 years, 6 months ago Rom Santa Rosa 1 -
0
votes1
answer106
viewsHow to put bootstrap slider 4 in wordpress
I’m having difficulty implementing the slider of bootstrap 4 inside wordpress, I created a custom post type called promotion where the highlighted image will stay on the slide. Follow my code. I’ve…
wordpressasked 6 years, 6 months ago Ismael Menezes 101 -
0
votes1
answer28
viewswp_nav_menu only works in header.php
I have 2 menus on the Wordpress site that I am developing (top and footer). The problem is that the wp_nav_menu function is only working correctly when placed in header.php. I am registering the…
-
0
votes1
answer26
viewsHow to register new things in Wordpress without using post type?
Guys I’m studying the creation of themes in Wordpress and I found the use of post types very interesting... But there are certain situations that become unfeasible and get a face of gambiarra...…
-
0
votes1
answer22
views -
0
votes2
answers39
viewsHow to view class information
I want to show the values of a class but I don’t know how to access it. The result of print_r($this->order); showcase WC_Order Object ( [status_transition:protected] => [data:protected] =>…
-
0
votes0
answers18
viewsforeach in wordpress form does not work
I’m doing an email sending, using the native wordpress function wp_mail where send multiple concatenated fields in the variable $message, including checkboxes marked by the user. Despite believing…
wordpressasked 6 years, 6 months ago Alex Machado 123 -
0
votes0
answers93
viewsResponsive HTML5 banner does not work
I am trying to include a responsive banner on my site (wp 4.9.6), following a guide I found on the internet (I am amateur). Banner loads normally on desktop and responsiveness works on some Android…
-
0
votes1
answer37
views -
0
votes1
answer175
viewsHow can I call a php file inside a wordpress plugin
How can I create a file within a wordpress plugin to receive parameters passed via front post? the file would need to use the wp_db function.
-
0
votes1
answer56
viewsLevels of access Wordpress
I am creating a system in which I will have access levels, my question is on how to put so that in project x , such user has access and in project y ,another user has access. Some tip or function to…
-
0
votes0
answers31
viewsHow to put a show more inside a table/form?
Hello good morning guys I have a wordpress website, and what I want to do today is add a button/ text before sending an existing table, so that if the user click the button/ text appears another…
-
0
votes1
answer137
viewsRedirect if basket is empty | Woocommerce 3+
add_action( 'wp_footer', 'redirecionar' ); function redirecionar(){ global $woocommerce; if ( is_page('carrinho-de-compras') and !sizeof($woocommerce->cart->cart_contents) ) { wp_redirect(…
-
0
votes0
answers109
viewsHow to make select mandatory? and also select by default the first available option?
I have a system in php that generates selects according to the database information, in case I would like to make these selects mandatory because if they do not go unnoticed and also always leave…
-
0
votes0
answers350
viewsProblem by clicking on anchor menu #
Below is my jquery script that hides a certain content of #about for example and when clicking on the menu it hides the old and shows the new but when I call the new content gets all messy quoting…
-
0
votes0
answers52
viewsLoad a url when you click play from the player
Hello, I’m trying to load a url (open a link) when I click play from a player that is a Wordpress plugin (Wonderplugin Audio Player). I imagine it can be done in javascript, but I don’t know how to…
-
0
votes1
answer33
viewsAdd + options in Wordpress post editor and display them in Theme
That is, the default Wordpress post editor and just that.. ] But how can I put option when posting, as inform the download link.. then we put it in the post time, and can display later on the theme.…
-
0
votes0
answers35
viewsCustom post types does not work properly
I created two "Custom Post Type", with the following names "Movies" and the other "Series", both using the same "Register Taxonomy"". However when I do a search like for example: When filter only…
-
0
votes0
answers176
viewsCheck if cart is NOT empty Woocommerce 3.4+
I intend to check if the cart is NOT empty, but I’m not getting it! Can someone help me, please? . add_action( 'wp_footer', 'redirecionar' ); function redirecionar(){ global $woocommerce; if (…
-
0
votes1
answer68
viewsScrollspy wordpress
Good morning I would like a help am using wordpress and I put the following menu class CSS_Menu_Maker_Walker extends Walker { var $db_fields = array( 'parent' => 'menu_item_parent', 'id' =>…
-
0
votes0
answers14
viewsQuery wordpress access control via mysql
I am migrating a wordpress site and need to consult the access control to the posts to add them to the new CMS, the site uses the plugin User Access Manager to control access to posts. I have to do…
-
0
votes1
answer192
viewsError in including file . js in wordpress theme
Included a . js file in my theme header.php using the wordpress control panel. However, the line I entered in the file does not appear on the page when I check the source code. I’m doing like this:…
wordpressasked 6 years, 5 months ago Italo Rodrigo 4,344 -
0
votes2
answers36
viewsError wordpress plugin, ie blank field in array
good night! I’m developing a website for a restaurant and in it I installed a desktop reservation systems plugin, called (https://br.wordpress.org/plugins/restaurant-reservations/) The following…
-
0
votes1
answer130
viewsStrings not detected by Polylang.
On a wordpress site to make it bilingual, I’m using the Polylang plugin, however I need to translate the Search part and I can’t. This page is not a page listed in wordpress and in the Strings list…
-
0
votes1
answer740
viewsHow to blur image in css without leaking?
I would like to learn how to unfurl an image without leaking in Wordpress - Take the example How do you do!…
-
0
votes2
answers48
viewsHelp with query_post Wordpress function
I’m trying to make custom posts in my Wordpress theme, however I’m having a problem. I want to pick up seven posts on the main page, my index. However the first post I will style differently from…
-
0
votes0
answers330
views -
0
votes0
answers220
viewsSMTP connect() failed. outlook365
I searched in other similar topics and no resolved. Let’s say overnight all the emails on the site just stopped working, and now you’re having trouble connecting to the server. Look at the settings…
-
0
votes1
answer28
viewsError in Wordpress on the Admin panel
Personal developed a site with Wordpress that can be seen from this link but when accessing the wp-admin appears this error what can be: OBS: I installed a plugin quiz was stirring normally and out…
-
0
votes0
answers434
viewsFavicon does not appear on the Chrome front-end
I’m new in wordpress and need a help, my site loads the favicon in almost the browsers without problems. It just doesn’t show up on Chrome, but only on the front end. When I open the admin, the…
-
0
votes0
answers42
viewsBanner Error Bootstrap Site HTML Wordpress
My site published in wordpress contains a following problem, when I decrease the screen of my browser, and click on the 3 bars of my navbar to open the menu, the image tries to follow the navbar,…
php html wordpress wordpress-theme bootstrap-4asked 6 years, 5 months ago Daniel Rosendo de Souza 71 -
0
votes1
answer50
viewsMake Wordpress direct an access to a PHP file in the theme
I have the following need: I have some pages called "Diagnostics" on my site in Wordpress. However, the standard features of WP do not allow to do what I wish. I need to do some calculations on…
-
0
votes0
answers522
viewsI can Use Wordpress as Back-End
Eae guys, I have a frequent question about Wordpress and Web Design. I make websites using HTML, CSS and Javascript/Bootstrap 4 , SASS and etc. However, I don’t know the back-end , I could use…
-
0
votes0
answers17
viewsAutomatically generate post titles based on custom fields
all right? I am creating a website, unde will be registered several units of this company, in several cities in Brazil. I created a post type called drive and among the custom fields I created using…