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
answer282
viewsForeach multiplying results coming from the database (PHP/Wordpress)
How to do for foreach do not multiply the results coming from the database? I have the following function: $categoriess = (array) get_terms( 'job_category', array('hide_empty'=>false) ); echo…
-
0
votes1
answer54
viewsIs there any way to include the Wordpress header in an external page I created?
When I create a folder with the index inside my site files (where this is installed wordpress) appears the blank page and the to put things and stylize normally, but there is how I include my theme…
-
0
votes1
answer43
viewsImplement 2 search criteria in the query (Wodpress/Mysql)
Within this query how do I add 2 more search criteria $wpdb->postmeta.meta_key = '_viewable' and $wpdb->postmeta.meta_value = 'yes'? $query10 = $wpdb->get_results(" SELECT * FROM…
-
0
votes1
answer38
viewsCreate tab using images on button
I need to create a TAB block for my site in wordpress, there are several plugins that help in this, but do not discover any that I can use images on the button. They’re usually icones, but my client…
-
0
votes0
answers1638
viewsWordpress HTTP Error Image Upload
Friends I’m with a client who when will upload photos in WP he gives this mistake HTTP error I have tried the described on this site, but all without success…
wordpressasked 7 years, 8 months ago Felipe Candido 78 -
0
votes1
answer704
viewsCustomize Contact Form 7’s Chekbox
I’m trying to customize a checkbox contact form 7, wordpress, but I’m not getting it! He should stay like this: And he’s like this: The code in the contact form is this: <label2…
-
0
votes1
answer126
viewsEnable function when publishing wordpress scheduled post
Ola, have a wordpress site that I schedule posts. What I want is that after it is published, activate a function that does something. I saw that you can put functions.php but I don’t know what I…
-
0
votes0
answers451
viewsCreating custom map with multiple points, manageable by Wordpress
You know how to generate a json file in wordpress?. I’m trying to create a map where custom points are manageable by Wordpress, I’m using the plugin ACF Advanced Custom Fields, where you create a…
-
0
votes1
answer46
viewsWordpress Problem, Manipulating Images
I need to do the following, take the news content and its images of a page and show on the main page(Bs the current news, and this page is not in WP only the others) follows the images with the…
-
0
votes1
answer88
viewsAdd script to post
I’m creating a free website on https://wordpress.com/ My intention is to add codes, and for this, I would like to use the Highlight.js My attempt was to add via CDN: <link rel="stylesheet"…
wordpressasked 7 years, 8 months ago Thiago Luiz Domacoski 7,310 -
0
votes1
answer123
viewsModal plugins are not working on Wordpress
I have a page in Wordpress, installed several plugins for modal display at home but none of them is displaying modal. I tested on another wordpress page that I have and worked normal. What may be…
-
0
votes1
answer2471
viewsWhatsapp Image, Wordpress
When I copy the URL of my site on Whatsapp, it does not generate the image/ news thumbnail. On other sites appears, wanted to understand which code should I use to solve the problem.
wordpressasked 7 years, 8 months ago Felipe Edwards Vanstocher 303 -
0
votes2
answers37
viewsHow to get several Custom Fields?
How can I get the values of Custom Fields of different posts without need insert several get_post_meta(get_the_id(), 'key', true)?
-
0
votes0
answers35
viewsInfinite Scroll of Jetpack with pagination problem
In my Wordpress installation I am using the plugin JETPACK and its Infinite scroll Feature. On the blog homepage, I’m using the pre_get_posts action and the filter infinite_scroll_query_args to…
-
0
votes0
answers72
viewsProblem with Wordpress and Mysql connection.
All right, guys I developed a news portal for the company I work for and on this portal I have an average of 500 thousand monthly accesses. I’m having for some time many problems with my site. The…
-
0
votes1
answer56
viewsWordpress slow and with database access errors
All right guys, I had asked another question, but I was able to identify some queries that are consuming a lot of running time. I developed a theme for a news portal, and in each area I upload news…
-
0
votes1
answer28
viewsHow to Fix File Selection for Download in Wordpress
Good morning, the hosting server of the company I work has made an update and resulted in several problems for my site. One of them was about uploading/selecting files. In summary: when I try to…
-
0
votes3
answers210
viewsHow to format an HTML element p/ become equal to a button?
I added a new button via shortcode in the description of the Woocommerce/Wordpress product page. I would like to format it in the same layout button (including the effect Hover). "Configure Now!" is…
-
0
votes1
answer488
viewsPull image from post worpress
Hello, I’m developing a blog on my site, and added within the post an image through media insertion, however, I would like to know how I pull this image from the media through the code to insert…
-
0
votes1
answer1269
viewsImages do not load on safari and iphone
I finalized a site in Wordpress and the same does not load the images in both Safari and Iphone.
-
0
votes1
answer223
viewsSafari not configured, does not load css
Header of my site, is opening disfigured in Safari 8.0.8, it is not getting css: display: -ms-flexbox; display: flex; -ms-flex-align: center; -ms-grid-row-align: center; align-items: center;…
-
0
votes1
answer70
viewsWordpress login with Webservice (AD)
I have a PHP page that connects to a Webservice and performs user validation in AD. I would like this page to be called when typed the URL of the site made in Wordpress, because in it I create…
-
0
votes1
answer87
viewsDisplay image on Twitter Wordpress Cards without plugin
I have this code, to add Twitter Cards without the need of 1 plugin, just adding the code in functions.php. The code works, but the image of the article only appears if attached to the post. I would…
-
0
votes1
answer137
viewsCreate a role in WP for when to log in to be redirected
I need to create a function in Wordpress so that when the user logs in automatically is redirected to another link, here is my code as is: $user_id = get_current_user_id(); if ($user_id == 2) {…
-
0
votes0
answers19
viewsCustomize a plugin’s screen
Hello, my question is the following, I created a plugin that generates a custom post type, and a taxonomy for this type of post and a custom Fields using the plugin Metabox, in my case, to manage…
-
0
votes0
answers438
viewsInserting HTML/Javascript code into the body of a Wordpress site through Visual Composer
Hello! I’m trying to insert a custom table (html/javascript code) in the body of a page of my Wordpress site. This table: http://piscinafacil.com.br/tabela2.html Currently the table is without the…
-
0
votes0
answers58
viewsProblems with the custom Wordpress loop
I am developing a custom theme using bootstrap and I am not getting at all create a loop to display my posts as I wanted. I wanted my posts to follow the following order: However the only result I…
-
0
votes0
answers53
viewsApplication Service connect to Azure’s external Mysql database
I’m trying to connect wordpress that is running on an App Service on Azure. In the main domain I have an ASP NET MVC application and configured an application to run wordpress in the same domain.…
-
0
votes1
answer233
viewsPost types by taxonomy
I’m doing it this way and yet, it’s not pulling taxonomy that I want. It’s pulling standard WP posts and not mine specifically. My post type is the 'post_type' => 'posts_blog', as below and the…
-
0
votes1
answer343
viewsCustom Post Type Display Linked to Common Posts
I created a custom post type and in it 4 posts, and called right in the code, I believe, only that they only appear when I leave some post created in post type Posts which is the standard of…
-
0
votes2
answers79
viewsComplex wp_query
I am setting up a schedule of events in Wordpress and need to list all the events of the week grouped by current day. I have events that last only one day and others that last all month. I created…
-
0
votes1
answer139
viewsHierarchy of templates - Wordpress
I would like to know simply, easily understood, if someone can explain about the hierarchy of WP templates. I’ve seen a lot about it, including the image of the documentation, but for some…
-
0
votes0
answers241
viewsError 503 in Wordpress / Woocommerce
In need of help. Suddenly the Woocommerce store starts presenting 503 errors Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity…
-
0
votes1
answer1060
viewsHow do I get id of a category using the return of the category name of the single_cat_title() Wordpress function;
Friends I have a menu with the following links from Categories Products and News I want you to click on any of the links and my page Category.php return only the posts of the category to which it…
-
0
votes0
answers42
viewsHow to change the theme of a wordpress blog already ready
I wonder if it is possible to change the layout of a blog video Wordpress and using a theme already ready similar to this blog ?…
wordpressasked 7 years, 6 months ago Rafael Silva 1 -
0
votes2
answers147
viewsCMB2 - Wordpress
/** * Video metabox */ $videos = new_cmb2_box( array( 'id' => $prefix . 'video_url', 'title' => 'YouTube Vídeo', 'object_types' => array( 'video_destaque_home', ), // Post type 'context'…
-
0
votes2
answers1959
viewsShow content in desktop version and hide it in mobile version. And vice versa
I have a form with two different features, one for mobile and the other for desktop. I don’t know how to set up one to be displayed and another hidden depending on whether the site is on desktop or…
-
0
votes1
answer18
viewsCaptcha for Formidable (Form) - Wordpress
Good afternoon! I’m in need of a captcha plugin that works together with Formidable. In this case, what you already have in Formidable only works in one form per page, and since I need to use 2x on…
-
0
votes0
answers35
viewsError while uploading site in WORDPRESS
I developed a site in WORDPRESS and on my local server is working properly. When subbing it, I made all the necessary settings (change base URL in bd, configure wp-admin), only specifically one page…
-
0
votes1
answer270
viewsHow to make a normal image of the post in thumbnail - WORDPRESS
It is as follows: I’m developing a photographic collection site. Normally the image that would be shown in the post would be a thumbnail, but since there is a storage restriction on the server that…
-
0
votes0
answers256
viewsWordpress Menu - Toggle does not open when you press
I am developing a project in Wordpress, and I have problems with my menu. When I test the site in smaller resolutions, the toggle box does not open it. Since I am rather embarrassed about the HTML…
-
0
votes1
answer58
viewsError Wordpress - Curl library
A site arrived here in the company to update the posts etc, however, every page I create, I can not access it after the publication. I am shown these errors: Error connecting to…
-
0
votes1
answer1024
views -
0
votes0
answers51
viewsMeta box with post features
Hello! I made a Wordpress theme with some meta boxes in the custom post type, but I needed to use some plugins in these meta boxes, but they only work in the main box right there in the post. How do…
-
0
votes1
answer1064
viewsConsuming REST in Wordpress
Good morning! I implemented a Rest API with Spring and would like to consume it on a site within Wordpress. This is done through Plugins or direct with code within the Post? For a Post Request, how…
-
0
votes0
answers308
viewsDeclaration error in phpmailerException class
I use wordpress, and am using the plugin contact form 7. When sending an email by clicking the button, it returns me the following error: Fatal error: Cannot declare class phpmailerException,…
-
0
votes0
answers59
viewsCreate index alphabetically with Wordpres categories
I need to create an index with Wordpress categories, but do not know how to do. I can list the categories in alphabetical order, but I need to divide them by letters. For example: To ana Amara ....…
-
0
votes1
answer204
viewsHow to disable thumbnail within wordpress post
Hello, I wonder how to disable the thumbnail inside the wordpress post, that it only appears in the home after doing the post but within the post it is disabled and does not appear
-
0
votes0
answers28
viewsError while calculating fields in IOS safari
I have a problem in the development of a small calculation system where the user needs to put a value in a field and the system brings the results according to a specific account. In all windows…
-
0
votes1
answer605
viewsIntegrate Wordpress with Oracle
I will develop a "E-commerce" services in Wordpress, known as Woocommerce, except that I need to integrate it with Oracle, in addition to the Mysql itself that it will run... Example: When someone…