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
answer38
viewsHow to pick up images within a post in "the loop" (wordpress)?
The intention would be to make cards like this from the last posts, Catching the first image of the post this all inside a "the loop". Chunks of the codex I tried, but it didn’t work: index php.:…
-
-1
votes1
answer20
viewsConfigure the Wordpress Menu
Hello, I have a menu in wordpress, and I would like it to have a user submenus. Currently I already have this SUBMENU put in the WP bar of the page as shown in the following img but I would like it…
-
-1
votes1
answer38
viewsCannot use isset() in the output of a PHP expression
I want when my site is accessed with the reference? ref=app show a page, if it is not going to appear another. But just make that mistake: Fatal error: Cannot use isset() on the result of an…
-
-1
votes1
answer46
viewsHow to get fast Wordpress data using wpdb->get_results
Personal the code below it lists the results without repeating the post however need it to list containing the custom field with the following values: meta_key "type" meta_value "snack" <?php…
-
-1
votes1
answer158
viewsHow can I display posts in alphabetical order, example: posts containing A, B, C
<?php global $wpdb; $first_char = 'A'; $postids = $wpdb->get_col($wpdb->prepare(" SELECT ID FROM $wpdb->posts WHERE SUBSTR($wpdb->posts.post_title,1,1) = %s AND…
-
-1
votes1
answer32
viewsHow to create a clickable div in a Wordpres theme?
all right? I’m working on a Wordpress theme and needed to turn an image into a link but I’m not sure which command to use or where to insert. The theme support and guided to tinker with the…
wordpressasked 5 years, 1 month ago Barbara Ladeia 1 -
-1
votes1
answer36
viewsI’m trying to put the title of the image in my Wordpress gallery
Hello, I’m trying to call the title of the image, to be displayed in the gallery, but it is called only the title of the first photos and all the others are with the same title, I wonder if they…
-
-1
votes1
answer59
viewsWordpress Posts in html site
I am trying to put images from my blog that is in Wordpress on my html site My code <?php while (have_posts()): the_post(); ?> <div class="col-md-4 "> <div class="box-blog">…
-
-1
votes1
answer17
viewsPaging problems using Wp_query
Talk people, everything cool? I’m having problems with the WP pagination on the category pages of the site I’m developing. Suppose I want to display 06 posts per page, right? But instead of the site…
-
-1
votes1
answer21
viewsWordpress - Paging in custom posts
Hello, good morning! Well, I created a custom post for a Wordpress site and would like to add pagination to the loop, for that I am trying to use the function paginate_links() and the parameters…
-
-1
votes1
answer26
viewsHow to appear in google searches (Error 404 at the root of the Wordpress site)
Hello, I’m having a problem on a site made in wordpress hosted on hostigator. The site is in https://samos.com.br/mainsite. When I open the page of the site apparently everything goes well. However…
-
-1
votes1
answer40
viewsHow can I create images with various sizes in wordpress (in the upload folder) by inserting images manually?
Good, I’m migrating a bootstrap news website to wordpress, I’ve already made the site and uploaded all posts and images, but the images only have a single size (there are not several replicates of…
-
-1
votes1
answer118
viewsUncaught Syntaxerror: Unexpected token 'Else'
I’m trying to put a button on next episode, it’s working normal, the problem is that it appears in the movies, where it should only appear in episodes of series. I tried to solve the error by making…
-
-1
votes1
answer26
viewsError in php code on WP site
The wordpress site is presenting the following error message: Parse error: syntax error, Unexpected ';', expecting ',' or ')' in…
-
-1
votes2
answers36
viewsNo Clear form after wordpress Submit
built a form that validates within the wordpress function but every time I do Submit it cleans up the whole form and I don’t want it to do that I am sent data by jquery this way form.submit(function…
-
-1
votes1
answer82
viewsHow to list categories and subcategories in select?
Personal I have 2 custom taxonomies in a post, are they, City and States. But I only want to use the taxonomy Cities and every city put her being Ascendant of their respective State. Once this is…
-
-1
votes1
answer55
viewsDecrease and improve code
I need to create 5 waves with text inside and the waves have to have a move to extend/contract when clicking, the code I made the only way it works is if I click in order, otherwise it gets messy. I…
-
-1
votes2
answers17
viewsDelete a certain category from Wordpress posts
Friends, I developed a code so that I can display the results of the last posts of a Wordpress site, but I would need only post related to a certain category not appear. <?php // Documentação…
-
-1
votes1
answer17
viewsWordpress - Menu filtering different categories
Hello, I am learning to develop a Woocommerce and going through a problem which is as follows, I have created a Menu Nav in the header of my page to filter the store products by product categories,…
-
-1
votes0
answers7
viewsConnection to the wordpress database does not work
A client has an error in the wp-config of the wordpresse message "Error establishing a database Connection", I looked and do not know what it can be...? code below: <?php /** * The base…
-
-2
votes1
answer105
viewsPercentage of Completion
Can you tell me if it is possible to do the same image in Optimizemember (Plugin for member area) ? Or know any Wordpress plugin that does ?? Grateful http://prntscr.com/86wng3…
-
-2
votes1
answer169
viewsParse error: syntax error, Unexpected '}' functions.php line 1
I am with a wordpress installation running on another server and locally, however, when I climbed to another host I received the following error: Parse error: syntax error, Unexpected '}' in…
-
-2
votes3
answers284
viewsHow not to run script on mobile devices. in Wordpress
How to make a Script not run in wordpress, when someone is using a mobile device, tablet, or any mobile device. the script would look like this <script data-cfasync="false" type="text/javascript"…
-
-2
votes2
answers322
viewsRedirect parameters . htaccess
I would like to know how to redirect a url with parameters on .htaccess . I have a URL that can receive several parameters and I want to redirect it to another page with these parameters. The page…
-
-2
votes1
answer412
viewsThe link option has disappeared from the wordpress menu edit panel
This option: https://www.codefetti.com/wp-content/uploads/2015/02/2.3-ClickLink.png The option to add link in the menu is gone and in the place this appearing the option of tags, I do not understand…
wordpressasked 7 years, 8 months ago Rafael Guimarães Barbosa 1 -
-2
votes1
answer268
viewsHow to edit Wordpress HTML and CSS
Guys I’ve searched everywhere where I can ta doing the editing of CSS and HTML on a Wordpress site and I’m not finding... someone could help me or send a difficult link ta.
-
-2
votes1
answer53
viewsLogin Page Wordpress
I’m trying to create a login page without being that of wp-admin, I want to create a custom,and I can’t use plugin, some tip or example of how to do this?
-
-2
votes1
answer255
viewsCreate custom interactive HTML banner Hover overlay style
Hello, I would like to create a banner in the style Overlay Hover similar to the one found on this site: http://www.gruporedservicos.com.br/ Basically, when you move the mouse over the image, the…
-
-2
votes1
answer781
viewsChange Wordpress Woocommerce Category Page
Good evening guys All right ? I have a small doubt, I would like to adjust my page listing category products equal to my home of this my site http://enproductos.com.br/ Obs: I made a Shortcode in…
-
-2
votes1
answer531
viewsProblem in the responsive version of the site
Good afternoon, everyone, I have developed a site for a client, in wordpress, the site is sgcsolucoes.com.br. My problem is that it seems that the responsive css is not picking up. The website for…
-
-2
votes1
answer36
viewsLeave the background "crooked" - WORDPRESS
How to make the background wavy, as on the website of this image below?…
wordpressasked 5 years, 6 months ago Arthur P. Pinheiro 21 -
-2
votes2
answers28
viewsText Exchange Read More for a Static Image - Wordpress
Guys I got the code add_filter( 'the_content_more_link', 'modify_read_more_link' ); function modify_read_more_link() { return '<a class="more-link" href="' . get_permalink() . '">Your Read…
-
-2
votes1
answer37
viewsI removed all Wordpress Posts Tags, but continues showing on Google
Doing SEO maintenance of my site, I deleted all TAGS registered by many are no longer valid: Wordpress link for editing tags: wp-admin/edit-tags.php?taxonomy=post_tag In Yoast SEO, in the…
-
-2
votes1
answer157
viewsPaging does not work with Offset Wordpress argument
I need to list the posts on index php. and I want to skip three recent posts. But when browsing the pagination it does not advance the numbers nor change the posts. Or rather, paging doesn’t work…
-
-2
votes1
answer154
viewsLoops Wordpress without repeating the post
Staff would like to know if anyone here can help me with a query post or loop in wordpress. So... I insert with wp_insert and I don’t know why it doubles (maybe in the double mouse click) when…
-
-2
votes1
answer35
viewswordpress template is outside the <Section>, how to display inside?
$teste_tp_slugs = ['company', 'search', 'customers']; foreach ($teste_tp_slugs as $teste_tp_slug) { $output = ''; $output .= '<section id="teste-site-home-' . $teste_tp_slug . '">'; $output .=…
-
-2
votes1
answer41
viewsAccess String in PHP
Good afternoon, I am using the Woocommerce Api to automate my website, but I am having problems when I try to access the answer it sends when I register the product. I send the request to create the…
-
-2
votes1
answer177
viewsHow to Disable caching on specific links via htaccess?
After doing a lot of research on the subject, I will rephrase my question. It’ll get clearer: On my website Wordpress, i would like to set the expiration of html files only on the homepage of the…
-
-2
votes1
answer35
viewsCreate a Trigger with JOIN to duplicate the data
CREATE TRIGGER `copiadados`AFTER INSERT ON `wp_postmeta` AS DECLARE @nome NVARCHAR(50), @email NVARCHAR(50), @adicional NVARCHAR(255) SET @nome = (SELECT meta_value FROM wp_postmeta WHERE meta_key =…
-
-2
votes1
answer33
viewsHow to delete only the "box" category from the menu view?
I have searched but without success, I want the box category not to be displayed in a menu but not deleted, I just want it not to be displayed and continue to exist, this menu is all categories…
-
-2
votes0
answers13
viewsShow subcategories of a particular product!
Good afternoon! I have been with this problem for some time, I am trying to list the sub category of certain product of Woocommerce. As far as I can, you’re listing all the subcategories in my…
-
-3
votes2
answers183
viewsHow to create Carrousel with query post content in Wordpress?
I want to create a horizontal Carousel like this website. But I want to pull the Thumb, title and posts of a certain category.…
-
-3
votes3
answers78
viewsWordpress content
Is there the possibility of Wordpress bringing information from the bank without being in the form of Posts? In case I want to make a site "conventional" as I would register and pull this…
-
-3
votes1
answer717
viewsInternet Explorer does not recognize CSS classes that work properly in other browsers
The site I developed in Wordpress does not open properly in Internet Explorer. I noticed that Internet Explorer is not finding the styles correctly. Website: http://nakbrasil.com.br/new…
-
-3
votes1
answer49
views"Out of memory" error when adding a new plugin
After I updated wordpress to the latest version it is not possible to install plugins, add new articles or edit articles. Any action you take appears this message. Fatal error: Out of memory…
-
-3
votes1
answer99
viewsDirectory / Alias with domain
Hello, I have a domain http://www.~domain.com.br/new I want to make sure that when I walk into http://www.~domain.com.br redirect to/new and do not appear in the url that is new, there is something…
-
-3
votes1
answer856
viewsCarrier braspress and Wordpress Woocommerce
I am developing a Woocommerce for a customer and month. uses couriers and carrier braspress, but I did not find a solution for braspress, someone could help me, there is a plugin Cláudio Sanches but…
-
-3
votes1
answer64
viewsHow to retrieve specific information within this array?
I made a query SQL in the Wordpress database that returned me all the information related to a request, but I need to store some variables of this information and do not know how to do. The $pid…
-
-3
votes1
answer4148
viewsHow to put mascara in Wordpress contact-form-7?
I can’t seem to put a mask on contact-form-7 of Wordpress 4.5.3.…
-
-3
votes1
answer1183
viewsiframe on my wordpress site
installed the plugin https://br.wordpress.org/plugins/iframe/ on my website, and followed all the guidelines. On the page I wanted to put iframe, I inserted the code, only it is not loading the page…