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
answer68
viewsFixed jquery scroll at top by clicking on a div #
Next people I have a problem because when I clicked on a menu anchored by a #id it did not stay with the scroll at the top and so the content was cut because now I put this function and it worked…
-
0
votes0
answers16
viewsSubmit to wordpress’s "admin"
I have created a custom page in the wordpress "admin" that has a text field and a upload button. I need to figure out how to send the page to be saved, but I can’t find anything on the web. Someone…
-
0
votes1
answer58
viewsJquery after Reload
I wonder if there’s any way to do it, because I have a function that when I click on a menu button it captures via jquery the id of the page but if example I am on the START page that has no id and…
-
0
votes1
answer796
viewsCould not activate the plugin because it generated a fatal error
I was trying to activate my plugin and this error appears in the browser on the activation page of the Wordpress plugin (graphical interface of the same), I wonder where I can see this error with…
-
0
votes2
answers38
viewsError while trying to install wordpress
I’m trying to install the wordpress on my local server using xampp but I get the following error: Sorry, but I can’t write the wp-config.php file. You can create the wp-config.php file manually and…
-
0
votes0
answers16
viewsLoader bug jquery
I’m having a problem in my jquery jQuery: /Pre-Loader jQuery(window).load(function () { $('.site').hide(1); $('.id-sub').hide(); $("#loading").fadeOut(2000,function(){ $('.site').show("slow");…
-
0
votes1
answer159
viewsCreate a loop for each post category
Hi I am new to programming and new to wordpress development. I’m trying to create a testimonial page, with custom post typos atlizando of sub categories. The idea is to have 4 categories of…
-
0
votes1
answer99
viewsHelp with Jquery $ is not a Function
My file . js $(document).ready(function () { $("#uf").on("change", function () { atualizaProfissional(); }); $("#botao").on("click", function(){ s = $("#municipio").val(); if (s == 1){…
-
0
votes1
answer14
viewsHow to call a plugin action by cronjobs
I am needing to run a hook that I developed within a plugin in 3 hours intervals, I wish I could call this command in an external file so add in the server cron.
-
0
votes1
answer18
viewsWordpress: after redirection cookies disappear
I did a simple redirect with wp_redirect(home_url()); exit(); And after that the cookies are cleared (Session too), which could not happen, how to persist cookies after redirection? From what I saw…
-
0
votes1
answer122
viewsScroll Jquery html css
I need to make a scroll change menu as it descends identical to this site http://www.flatslife.com/ could help me where I might be finding? <div id="cssmenu"…
-
0
votes0
answers161
viewsDoubt Consume Web Service in Wordpress
I have a site in wordpress, made by myself, is called School Circuit, in it I need to consume the data of a webservice for management of championships, teams, games, students, etc... The company…
-
0
votes0
answers24
viewsError in Woocommerce
Situation: User has 2 items worth R $ 200,00 in the cart User when accessing the home page, when looking at the cart visualizes only 1 item in the amount of R $ 85,00 Code used to print the trolley…
-
0
votes1
answer52
viewsEnable Instagram Feed on the home (index) of the site
How do I place the Instagram Feed plugin feed on my home page? The rest is quiet, but at first I’m not getting.
-
0
votes1
answer12
viewsreplace the user-embedded external image with the new version of the local host
Good morning, I am using a plugin called Image Teleporter, it takes all the images that the user will send as attachment and saves automatically in the wordpress library. I would like to know how to…
-
0
votes0
answers100
viewsView user status Online & Offline in Wordpress
The idea is to show visitors to the site if the author of the post is online or offline, there is some plugin or some code in PHP that makes this check? Xenforo has this feature, I would like to…
-
0
votes1
answer2330
viewsChecking if user is logged in to Wordpress (show to visitor)
I want to check if a specific user is logged in to the site, who knows or works with Wordpress knows this and a very basic thing to do with the code below: <?php if (is_user_logged_in()) { echo…
-
0
votes1
answer266
viewsDifficulties in editing HTML in Wordpress
Good afternoon to all ! I need to be translating a text from this page (attached to the print of the exact location) where I’m having difficulty editing the file... I’ve tried by plugin and Poedit…
wordpress wordpress-theme wordpress-pluginasked 6 years, 2 months ago Alexandre Barberan Castilho 1 -
0
votes1
answer42
viewsHow to perform specific count of custom posts in wordpress
Ola would like the help of you for the following problem, I would like to know how I can perform the count of Wordpress posts, using the settings imposed in the code below, to perform the count only…
-
0
votes1
answer31
viewsPHP inside the Array
I’m creating a loop where I want to display only content that contains the Slug page. I’m not sure which variable to put inside the array $args to make the Slug of the page itself be the category to…
-
0
votes0
answers61
viewsFavorite wocommerce wordpress button
Hello, does anyone know if it is possible to create the button "add to my favorites" in a product on Woocommerce wordpress? In the same free market style, that when you click the favorite button,…
-
0
votes0
answers21
viewsList tag related to a Category Specifies Wordpress
I need to list posts with a certain tag that belongs to a specific category. I’ve tried all the forms but it didn’t work. Please! <?php global $post; $postcat = get_the_category( $post->ID…
wordpressasked 6 years, 2 months ago Leandro Matos 1 -
0
votes1
answer148
viewsHTML classes in menu with Wordpress
I’m developing a theme with Wordpress and I would like the same to possess a menu dropdown. I created some pages like Home. Quem Somos, Contato and a category called Produtos would like the category…
-
0
votes1
answer317
viewsError in paging with custom post type
I have two Custom post type created, one for movies and one for series, I have a loop that shows both on index, only when I use paging, it doesn’t work. Ex. Push to go to/page/2 Only I get a 404…
-
0
votes2
answers132
viewsRecommendation of cache plugin for wordpress Multisite
I need a cache plugin for wordpress multsite. Any recommendations? I only found plugins that cater to wordpress that is not Multisite. Thank you very much.
-
0
votes0
answers45
viewsFinding search results in custom fields
How does Wordpress search in custom fields? I researched and saw that his search works using the title and content of the content. I created a project that uses custom fields, such as: address and…
-
0
votes0
answers32
viewsFilter Wordpress gallery according to the click on Post
Speaks guys, I have a Carousel where I publish some photos through wordpress post and I need to click the title of the post on the sidebar, the corresponding gallery appears, anyone suggests me how…
-
0
votes1
answer37
viewsBest method for uploading images
I have an AMP page that I load the logo image by inserting the link inside the img tag, so: <amp-img src="//i2.wp.com/www.meusite.com.br/wp-content/uploads/lgootipo.png" alt="logotipo"…
-
0
votes1
answer18
viewsWordpress: Rewrite Line Code
I need to rewrite a line of a Wordpress plugin using functions.php, I tried using add_filter but it doesn’t work. Basically I need to do so, this is an example of the original line: $return =…
-
0
votes1
answer17
viewsSidebar is under the picture, how to take
I’m making a site in wordpress, on a page I put a sidebar, but the same is getting under the image at the top of the page. Follow the link to view http://caioborges.com/site/loja/.…
-
0
votes1
answer17
viewsWordpress - How to insert custom_fields when inserting the publication via API v2?
I am adding posts on my Wordpress site through the v2 API. The post is being inserted, but the custom_fields are not. Follow my payload below: $data = [ 'title' => 'Meu novo titulo 03', 'status'…
wordpressasked 6 years, 2 months ago Alberto Aguiar 1 -
0
votes1
answer14
viewsWordpress index.php giving error with sidebar
I’m making a template from scratch with the basic knowledge I have in html and css, but I’m having some against times like this: https://overlove.000webhostapp. com/blog I’ve gone over everything…
-
0
votes1
answer26
viewsHow to recover my Adm access in Wordpress?
I lost admin access in WP, including unexpectedly and without correlation with something specific. I tried to resolve by changing the plugins, disabled and reactivated them all. I renamed the…
-
0
votes2
answers113
viewsHow do I install another Wordpress site using Docker-Compose?
I did the installation of Wordpress within a container no Ubuntu 18.04 lts, through this tutorial here. Worked. Now, I would like to install more than one Wordpress site to create other different…
-
0
votes2
answers113
viewsRedirect to "Coming Soon" page on Wordpress site
I am developing a site in Wordpress and did not want to be adding any plugin "Coming soon" (soon) as I already have a page for this to replace my homepage. What I want to know is if it is possible…
-
0
votes0
answers36
viewsSon theme is not overlapping parent theme in Wordpress
I’m putting the code in the theme son but it’s not overlapping the theme Father. Function.php: add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() {…
-
0
votes1
answer38
viewsPlugin indication for wordpress search
I am building a project and I need a plugin indication to create a search similar to this, this site: http://www.fqmfarma.com.br/produtos Where the contents are separated with letters, in…
-
0
votes2
answers62
viewsWordpress plugin to restrict access to files only after registration
I’m with a client who has a Wordpress site and wants to limit access to certain PDF files only for those who register on the site. The problem is that there are several Pdfs and the registration…
-
0
votes1
answer26
viewsPagination PDF wordpress
Guys don’t know much about wordpress maaas... There is some way to change the way to visualize existing pdf’s on a site ( that in the case are magazines ) which is currently the standard when you…
-
0
votes1
answer19
viewsHow to know the change a plugin made in Wordpress
Good afternoon, Had a problem with a menu in my Wordpress, and solved using a plugin. I wonder how the plugin solved my problem in code issues, there is some way to see the changes that the plugin…
-
0
votes1
answer100
viewsError 404 wordpress pagination
I developed a son theme based on Spacious, the problem is that when doing a search is returned that there are for example 20 results, on the first page I preview the first 10 results, however when…
-
0
votes1
answer50
viewsHow to insert WP previous_post_link(); anchored in a div
Good evening, I’m wanting to create a custom navigation between single-posts in Wordpress, but I don’t know how to do, and I don’t want to use a plugin for this, see what I’m trying to do (No…
-
0
votes1
answer919
viewsRegister user data before finalizing the purchase (Woocommerce)
Good afternoon At the time of checkout of my store it is necessary that the user has already registered all his data (that this data is already in the database, I am using the wordpress platform…
-
0
votes1
answer154
viewsChange mandatory wordpress field messages
Good evening, I want to exchange the translation of these messages that appear when the field has not been filled in, does anyone know how to change? I am using wordpress, already tried to do a…
-
0
votes1
answer477
viewsSend invitation for meeting with Phpmailer
When creating a new event on the calendar, automatically sends an email to the person responsible for that event with the information that a new event has been marked in this way: try { $bdd = new…
-
0
votes1
answer30
viewsDisplay get_user_role and get_author_role function in English
I’m developing a Wordpress application that uses the function get_author_role, however I am unable to make her appear in Portuguese. The first function modifies the default names: function…
-
0
votes1
answer18
viewsAdd a subenpoint to myaccount Woocommerce
i am creating a page for Woocommerce myaccount menu, and realized the need to add a sub endpoint and don’t know how to do it, does anyone have any idea? I tried…
-
0
votes1
answer33
viewsHow to show this year’s posts in Wordpress
Hello I would like to know how I can change the code below, so that it only shows the posts of the year in which we are. So that when next year comes only show the posts of the year. Keeping in case…
-
0
votes1
answer84
viewsSort by custom Fields and by publication date
My problem is this, I have a post_type in the name of "collections" and within it several posts with custom fields "situation of the piece" and "collection of the piece". The result of these two…
-
0
votes0
answers21
viewsImages appear on the site but not on FTP
I have a very strange problem, I did a lot of research and I couldn’t find anyone who had anything like it... I migrated a site made in Wordpress for a new hosting, but I found that several images…
wordpressasked 6 years, 2 months ago Gabriel Moraes 1