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
answer80
viewsDisplay multiple Custom post type on index
I have a Wordpress template with Multiple post type, and I can query and display all Custom post type on index. My Custom post type is an area reserved only for Movies, Series and Blog, only in my…
-
0
votes1
answer26
viewsAccess page other than standard
How do I access a page created along with wp default pages such as sigle, page, etc... Example, I create a page called examples.php and I want to access it. Which link should I use, because if I try…
-
0
votes1
answer31
viewsPage Template - List data and send to another template
Friends, I am listing product data from a table created in the wp structure. I have created a "products.php" template where I list it like this: produto 1 produto 2 produto 3 ... Each product of…
-
0
votes1
answer46
viewsHow to check if a user has already submitted a file in Wordpress?
I’m using the plugin WPForms, PRO version and added a button upload file in this form. However, I need to make the following check: A user sends a file through my form. When that same user comes…
-
0
votes1
answer18
viewsShow post with include_once
I want to list all my posts from all my custom post type, so far I get list in index.php But the problem is that it only lists one post of each custom post type. My index.php loop <?php $args =…
-
0
votes1
answer11
viewsChange the filter on click wordpress
next, I’m beginner with wordpress and php, so I’m having problems with my first theme built from scratch, I have a div that will serve as selector on the site, through it I want to filter the…
-
0
votes1
answer90
viewsDisplay new and old posts on wordpress pages
Good morning, I’m needing to display my wordpress news with footer links to old and new posts. I am using bootstrap as a template for my website and am with the following code for the display layout…
wordpressasked 6 years, 1 month ago Dev Newbie 3 -
0
votes0
answers19
viewsDiscover the user who updated wordpress
Is it possible to find out which user performed the wordpress update? Do you know if there’s a record in the database or something? I have access to FTP, I had to make a backup and go back to…
wordpressasked 5 years, 11 months ago Ricardo Goncalves 9 -
0
votes1
answer63
viewsProduct filter on Woocommerce
I need to create a product filter just like this one, but I don’t have enough knowledge to create from scratch. Someone could refer me a Wordpress plugin that gave me this possibility or teach me…
-
0
votes2
answers79
viewsWordpress - How to remove search.php page and search only posts?
my wordpress search.php page is showing the posts and pages created, how do I show only the posts? <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <article id="post-<?php…
-
0
votes1
answer42
viewsError when migrating Wordpress site
Good Morning! Guys, I was trying to migrate a site made with WP to another domain, but even after changing the database URL it keeps pointing to the old URL and presents the following error while…
-
0
votes1
answer62
viewsHow to change wodpress paging to load more
I have a site in wordpress, Thema is the TOTAL. In the pagination of this theme, are the page numbers and the previous and next arrows. What I want is to replace this pagination with a button to…
-
0
votes0
answers182
viewsError "Cannot assign an Empty string to a string offset" in Wordpress
I used the version of WP 4.9.3, after upgrading to the latest version which is 5.0.3, began to appear the following error message: "Warning: Cannot assign an Empty string to a string offset in…
-
0
votes0
answers72
viewsHow to change the source of a ready-made E-GOI/WP integration CSS code?
I am new in the area of Web programming and would like a lot of help from you about a problem that has arisen here! (I have tried support). I created a site in Wordpress where you have a contact…
-
0
votes1
answer31
viewswordpress study
Someone can help me, what this command does? wp_enqueue_style( $handle, $src = '', $deps = array, $ver = false, $media = 'all' ) I know he’s a hook , but I wanted to understand what every part of…
-
0
votes1
answer25
viewsHow do I migrate posts from a fully coded page to Wordpress?
Hi, I have a problem with a client of mine who’s stepping on my toes. I’ve migrated Wordpress sites to Wordpress, but I’m with a client who is wanting to migrate his site from code to Wordpress and…
-
0
votes1
answer29
viewsvalidate login and redirect form fields
hello I have a login popup form, but this I did div by div without any plugin, but now I need to validate the user and password fields and then redirect to an external page, and as I did without…
wordpressasked 5 years, 9 months ago Romario Oliveira 1 -
0
votes0
answers33
viewsAdd variables in Wordpress SLUG
I’m trying to add variables to Slug Wordpress, I succeeded by adding in the following way: function add_var_post( $url, $id ) { $url = add_query_arg( 'version', 'teste', $url ); return $url; }…
wordpressasked 6 years, 1 month ago Antonio Augusto Lopes 1 -
0
votes1
answer53
viewsPost loaded with ajax in repeated wordpress
I have a post page on my site, in it are shown all the posts created in wordpress, however are many post, so I put an application that shows only 5 post on the page, and when you click the button…
-
0
votes0
answers92
viewsWordpress post thumbnail does not appear on Facebook
Guys I’m having the following problem: I’m creating a Wordpress site and I want when I publish his posts on Facebook to appear that thumbnail of the image of the post, but in its place is appearing…
-
0
votes2
answers30
viewsMake categories appear in search results in Wordpress
For example, I search PAGODE in the search, above the results of the posts appears also the categories that has the name PAGODE. I tried that: include tag and category in wordpress search results…
-
0
votes1
answer373
viewsList only wp category products
Good night, everybody, all right ? I am trying to list only the products of the category when I enter the page of the category of such a product, what is happening it lists all my products and I can…
-
0
votes1
answer1661
viewsHow to add additional fields in the Wordpress registration form (Woocommerce)
I have a site in Wordpress, and use a virtual store plugin (Woocommerce) would like to add a CPF/CNPJ field in the store’s customer registration, how could I do this?
-
0
votes1
answer23
viewsSolution to replicate wordpress posts
I have a Wordpress site, let’s call it site01 On the other hand, I have the site02, in wordpress again. I would like all the content(posts and pages), modified on SITE01 was also updated on site02.…
wordpressasked 5 years, 8 months ago Luan pedro 609 -
0
votes1
answer52
views"next_posts_link" in post_type wordpress generates error 404
I’m having trouble running the paging on a POST_TYPE I created in wordpress, all my Query is created and returns the posts normally from "post_type=club", but when adding the paging, the next pages…
-
0
votes1
answer207
viewsPage Template does not appear - Wordpress
I created a template page template in Wordpress for the site I’m doing. But after opening an already created page the option to select the created template does not appear. Could you help me? I…
-
0
votes0
answers66
viewsCustomization of texts button "send file" CF7
I have the field "send file", on a multilingual site, I want to know if it is possible to change these texts, to later translate them with the WPML plugin. Obs:I’ve tried with css, but it doesn’t…
-
0
votes2
answers254
viewsCheck if user is administrator - WORDPRESS php
/* CHECK LOGIN ON ------------------------*/ global $current_user; $current_user = wp_get_current_user(); $user_info = get_userdata($current_user->ID); $first_name = $user_info->first_name;…
-
0
votes1
answer54
viewsTips on how to make two Excerpts within each wordpress article
I need tips on how to create Excerpts (summaries) in Wordpress, I have some knowledge on the platform but still very limited and do not know where to start. There are two summaries within each blog…
-
0
votes2
answers95
viewsSyntax error in wordpress
My site is off the air Wordpress error: HTTP ERROR 500 [29-Nov-2018 18:14:24 UTC] PHP Parse error: syntax error, Unexpected 'text' (T_STRING) in /home/mysite/public_html/wp-includes/class-oembed.php…
-
0
votes1
answer25
viewsProblem with link in Wordpress with page-nameDaPage
I created post_types for the administrative area in Function.php: // Meus posts types function meus_posts_type() { // Testemunhos register_post_type('testemunhos', array( 'labels' => array(…
-
0
votes1
answer14
viewsHow to register an external style in the functions of wordpress?
I’m having a hard time registering this style library: https://fonts.googleapis.com/css?family=Rajdhani functions of wordpress. Can help me?
-
0
votes1
answer23
viewsPlugins Wordpress Sign Up/User List
Good morning, everyone, I’m starting to use wordpress and I’m trying to make the features of registration and listing application users. I managed to register with the plugin Formidable, but I’m…
-
0
votes1
answer9
viewsPut sample codes in a Wordpress post
I’m starting to develop a site to teach other people to code in Wordpress, I would like to insert in a stylized way the codes that I will make available in the posts, follows the example of my first…
-
0
votes1
answer77
viewsLoad reply comment with AJAX without refreshing page
I am sending comments with AJAX and then loading it in the reply, works well, except that the reply link is not being processed on the page, after you click to publish reply the page is being…
-
0
votes1
answer176
viewsWordpress and Woocommerce - Wc_order
I need help with a project. I have developed a completely custom site in Wordpress. Total pages are standardized, but the user can only access the pages if they have active product. So I need to…
-
0
votes1
answer40
viewsDevelop PHP or Javascript theme system
I am developing a Sustainable Content Management (CMS) like Wordpress, using PHP and Javascript. Virtually all the functionalities have already been implemented, but I’m having a hard time…
-
0
votes1
answer16
viewsHow to link pages Word Press Theme Creation
I’m starting to create themes with wordpress, and do not know how to make the pages that I create in the panel appeared in my theme through the menu, the menu I managed to add through functions in…
-
0
votes1
answer47
viewsExecute javascript function on a specific page
I have a multilingual wordpress site with the plugin WPML need to run a javascript function that calls a modal, only in one of the versions of the site, is it possible that it is executed by the…
-
0
votes1
answer144
viewsDb external wordpress
Good night to you all! Good come on, I have a system in php with a database with some registered users and I have a site made in wordpress. He wanted access to wp-admon in case the login was done by…
-
0
votes1
answer20
viewsis_home does not work inside wp_enqueue_scripts
I am creating a theme and want to specify which style sheets will be imported when loading the site, for this I am using the hook wp_enqueue_scripts. Within this action I do a check to see if it is…
-
0
votes1
answer42
viewswp_query returning the entire post. Returns only title
I have this code and when I put it on the Home Page it returns the entire post. I need you to return only the title, date and thumbmail of the post, is recovering all content of the post... function…
-
0
votes1
answer45
viewsHow I fix css or code from my website logo so it always keeps the original size of width and height
added css: nav-brand-sitelogo { height: 91px!important; width: 300px!important; } element.style { height: 91px!important; width: 300px!important; } .can-shrink-brand.sticky-brand-shrink-on…
-
0
votes0
answers94
viewsChange Text through a class
Good morning everyone, I’m trying to change a text of a link on a Wordpress site that is the name of a category, but when I update the page using the code below is displayed quickly the old text and…
-
0
votes1
answer637
viewsDoes not load the style.css in wordpress
I am studying Wordpress, but, I could not use functions.php to load the stylesheet These are the files css style. /* Theme Name: Tema Estudo Author: A Version: 1.0.0 */ body{ color: #4d5a6c…
-
0
votes1
answer17
viewsDeregister Scripts Wordpress (wp-includes)
In the wordpress frontend is loaded an array of scripts that are included in the directory wp/includes. Such as: wp-includes/js/jquery/ui/core.min.js wp-includes/js/jquery/ui/widget.min.js…
-
0
votes1
answer25
viewsWordpres pick up the modified post
I need help with a query post: How do to view the posts that were modified say updated example: a post was registered if it was modified today I need to display and what was modified by a query post…
-
0
votes0
answers42
viewsRemoving Woocommerce hook functions
I have this code in my file template-homepage.php <?php /** * Functions hooked in to homepage action * * @hooked storefront_homepage_content - 10 * @hooked storefront_product_categories - 20 *…
-
0
votes1
answer412
viewsTranslation of page of Woocommerce
My Woocommerce is already all translated. However, the page "My Account" has the menu like this: Dashboard My Orders Edit Account Edit Address Logout Does anyone know how to translate? I don’t even…
-
0
votes0
answers218
viewsHow do I open link in new window? Bootstrap
Here’s the excerpt, I’m using Bootstrap. [button-group] [button link="#" dropdown="true" data="toggle,dropdown"] Projetos e Parcerias: [caret][/button] [dropdown] [dropdown-item link=" ... "] Plano…