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
answer20
viewsError when setting constants
PHP Warning: include_once(): Failed opening '/classes/class.rslib.php' for inclusion (include_path='.;C:\php\pear\') in on line 26 I logged this error in the log, I debugged and found the only file…
-
0
votes1
answer140
viewsWordpress - Contact form 7 does not work with jquery DOM
I have this code that brings documents via DOM to the page $(document).ready(function(){ $('.abas').on('click', function(){ var paginas = ["pagina1.html","pagina2.html","pagina3.html"]; aba_index =…
-
0
votes0
answers139
viewsError inserting the flatpickr in wordpress
Guys, I’m trying to insert the flatpickr in wordpress but does not appear the calendar, only appears the "Select Date..." Anyone knows explain me why ? The code I’m putting in is this:…
-
0
votes1
answer163
viewsHow to register in Wordpress database from Advanced custom field
On my site you can insert new photo albums from the ACF. I created a table in the database that contains the album information, such as name, location, date, etc. Only I have no idea how to insert…
wordpressasked 6 years, 10 months ago Lais Aguiar 25 -
0
votes1
answer1673
viewssingle.php in wordpress
If I have a post my single.php will display my full post on the site. Correct? But if I also have a view page of developments, real estate, cars, etc... Where each of these views has different…
-
0
votes1
answer138
viewsHow to redirect a user to a specific page only at the first login of the wordpress site?
I include right in the table some users wp_users, only with the ID, USER_LOGIN, USER_PASS, USER_NICENAME AND DISPLAY_NAME. Getting like this, for example: INSERT INTO wp_users (ID, user_login,…
-
0
votes0
answers28
viewsPending when adding an item to the Wordpress Menu
Hello, hello, hello, hello! I have a problem adding a new item to the Wordpress menu. The new item to be selected is written Pending and never changes. I don’t know what’s going on and what to do…
wordpressasked 6 years, 10 months ago Constantino 1 -
0
votes1
answer545
viewsRequire login to access wordpress site
I have to make a portal, but it can only be accessed by authorized people, how do I do this with wordpress? I am well beginner and do not know how to proceed in this case
wordpressasked 6 years, 10 months ago Igor Oliveira 1,110 -
0
votes1
answer31
viewsPHP sends email, but some providers do not receive
I did the function below, which does not return any error, but also does not arrive in some destination emails (Yahoo for example) function enviaEmail($titulo = '', $conteudo = '', $email = '',…
-
0
votes1
answer68
viewsWordpress error in theme installation
When I import the content of a theme in wordpress, returns this error message Invalid post type services How do I resolve this so that I can install theme content correctly?…
wordpressasked 6 years, 9 months ago Wagner Martins Bodyboard 698 -
0
votes0
answers70
viewsWhen entering the WP ADMIN only the Menu appears
When logging in to wordpress all settings appear and 2 seconds later is only the menu. The screen turns white and I can not access anything. I’ve tried by phone and computer and it doesn’t work. I…
-
0
votes1
answer75
viewsNewsletter with refresh ajax
I’m trying to send this form through ajax and I’m not getting, is there something wrong? I’m beating my head against this for four hours without success. Note: I am developing via wordpress and I am…
-
0
votes0
answers31
viewsHow to create custom menus in wordpress that respect the drag and drop order
I’m having trouble creating menus on my wordpress site in case I have more than one menu that need to respect the order of creation, but never breathe, the menu is ordered by alphabetical order,…
-
0
votes1
answer54
viewsLightbox and Link, modify operation
Good morning. This lightbox in the middle, where you ask for login and password, only appears after the user clicks on that link "Restricted Access". Is there any way that lightbox appears…
-
0
votes2
answers507
viewsList taxonomy Terms related to specific post_type Wordpress
Hello, I have to list all Terms of 4 taxonomies, however they have to belong to a specific post type! For example, I have the following information: post_type ( graduation, pos_graduation ) taxonomy…
-
0
votes1
answer1410
viewsRedirecting Adobe XD content in Wordpress
The company where I work hired someone to make a simple Dashboard using Adobe XD. Example: https://xd.adobe.com/view/67c0b3a6-f0e6-4f67-a209-e41767311939/ But we would like to host Dashboard on our…
-
0
votes0
answers61
viewsError must take Exactly 2 Arguments - PHP/Wordpress/visual
Hello, I’m trying to create a custom component for visualComposer a dropdown, I have the php search.php file that creates the custom component, and I have the Recipe.php file that returns the data…
-
0
votes1
answer169
viewsDisplaying wordpress posts with Curl
has some sites where the wordpress installation is in a subfolder called news and need to display a list of posts on the index, searching the internet saw that wordpress generated a JSON of the…
-
0
votes1
answer21
viewsCreate a list of words to be read by a plugin
I need to create a group of words, to be set in a textarea, in the admin panel of Wordpress, in a configuration page of my plugin. I have the following code: add_filter('pre_comment_content',…
-
0
votes1
answer178
viewsRemove category posts specifies wordpress
Hello, I downloaded the theme dooplay and I’m trying to remove from a widget posts that are category 764, but I have not had success so far, could help me in this? This is the original query code:…
-
0
votes0
answers64
viewsHow to change the wordpress authentication fields?
It was wanting in any theme, to change for the user to log in as if the password were from another field of the same table. Only that I do not know the wordpress login process
-
0
votes1
answer141
viewsWordpress Advanced Custom Fields Pro How to Activate Google Maps
I am using the plugin "Advanced Custom Fields Pro" wordpress. I’m trying to use the Custom Wordpress Field, but the same asks the key to access the Google API, I already have the key but do not know…
-
0
votes1
answer29
viewsHow to lynch a post categories on a Wordpress site
I have a website on Wordpress. I want to display the categories on post, I mean, my theme. I tried the code below, but only the name of the categories of the post appears, but only text, there is no…
-
0
votes2
answers179
viewsAdd code Analytics in Wordpress blog
I’m trying to change the code Analytics of a Wordpress blog. However, I don’t have much knowledge and I’m having trouble figuring out how the code was added. From what I research, I managed to…
-
0
votes1
answer106
viewstaxonomy-$taxonomy.php does not work
Good afternoon. I am creating a site with more than one Custom Post Type. For example: Custom Post Type "A" has the taxonomy "Types" (type 1 and Tipo2). Custom Post Type "B" has the taxonomy "Years"…
-
0
votes1
answer1122
viewsWpbakery (Visual Composer) Does not work localhost
I have a Wordpress site installation on my machine, which runs through Xampp. I obtained a theme through themeforest site, and with it comes the plugin Wpbakery Page Builder. The big problem is that…
-
0
votes0
answers32
viewsSearch for all or just one form field
I’m having problems with a form on my Wordpress blog, I have the following form that is on file functions.php. function terapeuta_search_scripts(){ wp_enqueue_script('terapeutas',…
-
0
votes1
answer40
viewsOverlay on WEB
Personal I created a site, with Wordpress. But on one of the pages when on mobile my links don’t work what I understood was that there was something above my site and when I saw it was just that.I…
-
0
votes0
answers38
viewsRedirect issues in the wordpress menu one-page page page
I’m using this theme: https://the7.io/business-one-page/ only that my menus are not "behaving" like the theme on the other pages, only on the homepage rolling normally. Except that in the others it…
-
0
votes1
answer234
viewsWordpress display post Author photo image url
Anyone here knows how to tell me how to get the image url of the photo from Author or post administrator in wordpress ?
-
0
votes0
answers93
viewsWordpress new user email
I am customizing the password definition email that is sent to the user when they sign up, but when I try to create the password definition link it is not taking the user login, I am using the code…
-
0
votes1
answer235
viewsHow to use the Transition effect on a display?
Good morning, all right? I’m trying, but I still can’t use the effect Transition to smooth the exchange of display:block for display:none and virse and versa. I’m using JS to when the user scrolls…
-
0
votes1
answer32
viewsCreate unique content in Wordpress (no plugin)
I’m having a little trouble reasoning a decent logic for a wodpress theme present exclusive content. The idea is the following: I need to send an email, which will contain a parameter in the link…
-
0
votes1
answer57
viewsHow to list specific subcategories for each page?
I would like to list within the category page.php the sub-categories of the specific page itself, I am using wp_list_categories() and trying to pass the id with get_the_category(), but I’m not…
-
0
votes1
answer998
viewsCan someone explain this part to me in JSON please?? (Wordpress Plugin)
Guys, good morning, I’m going to go into as much detail as I can to see if anyone can understand me and help me... I have the following Plugin installed on Wordpress:…
-
0
votes1
answer203
viewsHow to customize only one post type to appear on the single.php
I am developing a job plugin for wordpress, I took as a basis the wpjobmanager is coming out all right, until I come across the following, the plugin when the user clicks to see more about the…
-
0
votes1
answer73
viewsHow to change Webhook’s response in Woocommerce?
I have a problem in Woocommerce REST_API, in case the endpoint response wp-json/wc/v2/Orders, in products(line_items) is not returned metadata(metadata of products). As in the image above, it can be…
-
0
votes1
answer358
viewsDynamic Wordpress Menu with Bootstrap
Good morning, I request help for correction. I still don’t have much skill with all this. It turns out the code looked like this: (image: http://prntscr.com/j2ifbk) <div class="col-md-8…
-
0
votes2
answers86
viewsHow do <?php echo $i ? > be random between Y and X?
I’m developing a layout, I need your class in div, be randomized between two names, I need a javascript to do this, someone can help me? Ex.: <div class="left"><div> <div…
-
0
votes1
answer121
viewsInclude Multiple Custom Post Type Files with Advanced Custom Fields
Good morning, I need to include several files in a Post Type, I am using ACF (Advanced Custom Fields), for the creation of custom fields. It is possible to do this without creating another post type…
wordpress wordpress-plugin custom-post-types advanced-custom-fieldsasked 6 years, 7 months ago Robison Luiz Fernandes 41 -
0
votes1
answer376
viewsWoocommerce - Product loop, filtering by variation attribute
I’m creating a filter to list products that have the day or night option, selected within a range. I got a loop that comes very close, but is bringing all the products that has class variation,…
-
0
votes0
answers28
viewsMy has wordpress not this loading
I’m having trouble using my theme in wordpress, so I load the theme and active it, I put to see it, but actually appears another theme over it, one daqules themes that already comes by default in…
-
0
votes1
answer31
viewshow to configure the SMTP Mailer in wordpress?
I am trying to configure it, but this giving the following error when sending a test message in the Test Email tab. CLIENT -> SERVER: QUIT SMTP -> get_lines(): $data is "" SMTP ->…
-
0
votes1
answer41
viewsHow to Get Data via Wordpress API
I wanted to start learning React.js and for this I decided to make a theme written in React for my wordpress, using the 'new' functionality WP API. How do I get access to the API from my computer? I…
-
0
votes0
answers31
viewsWordpress error when adding scripts in footer and styles in header with enqueue
Code functions.php add_action('wp_enqueue_scripts', 'enqueue_scripts'); //add_action('init', 'enqueue_scripts'); //tentei também com o init, chega a chamar as funções do functions.php e mostra algo…
-
0
votes0
answers35
viewsRelease button after certain date
<?php date_default_timezone_set('America/Sao_Paulo'); $date = date('Y-m-d'); if ($date >= '<?php the_sub_field("data"); ?>') { ?> <!-- Se a data for maior --> <a…
-
0
votes1
answer69
viewsHow to use bootstrap Carousel in a wordpress theme
I made a simple theme in wordpress and am using this kind of js: (function($) { console.log("teste"); $('.carousel').carousel(); })(jQuery); and this html: <div id="carousel1" class="carousel…
-
0
votes0
answers96
viewsUsing wpdb->Insert correctly in the function
I am trying to enter the form data created by the plug Contact Form 7 for my table 'wp_wpdatatable_2', I created a hook using add_action and all right, but it does not send to the bank and I do not…
-
0
votes2
answers731
viewsAnti-adblock which replaces div
I need a wordpress plugin or script in which present a message to the user who has Adblock. However, I want that message to appear in place of a div. I’ve tried the plugins: JGC Adblocker Detector -…
-
0
votes1
answer31
viewsWhich file in the wordpress theme that arrow the language to be used?
I created a . pot and . mo with a translation of a theme into Brazilian Portuguese, so this update is not being applied, it still carries the strings in the original language. Does anyone know which…