Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

A WordPress Theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a blog.

0
votes
0answers
7 views

services function using copypress theam change url setting [on hold]

Copypress Theme using change services function Url therefor: websitename/services/press.php change link : websitename/press.php how can i change?
0
votes
2answers
24 views

WooCommerce get physical store address

In WooCommerce admin settings (/wp-admin/admin.php?page=wc-settings) there are several fields to set the store address (street, city, country). How can one retrieve this in a theme's templates? I ...
0
votes
1answer
21 views

Edit value=“” of a button in child theme

I am not really a developer, just can do bits and bobs and I am looking to change button text in a plugin but through a child theme. What I've done is created the plugin folder structure as in ...
0
votes
0answers
22 views

Which cache is kicking

I have been struggling with a site that I inherited from another developer. My main problem is that, changes I make in the css file of the template don't get picked up right away, indicating that ...
0
votes
0answers
14 views

AddToAny Share Buttons VS Ajax Load more

AddToAny Share Buttons are working for normal post. But when ajax load more button is clicked, the share button is generated with the new post but no share link is generated. The same is happening for ...
-1
votes
0answers
17 views

Custom theme updater - wrong theme name & no version

I have made a custom updater for my self-hosted themes. It appears to work: it shows an update is available though I have not actually tried to update. I haven't tried to update because of issues with ...
0
votes
0answers
9 views

Nifty Lite theme duplicate header [closed]

I'm having some problems with the nifty lite theme. The header has been duplicated.
0
votes
0answers
22 views

WordPress panel is not loading after plugin activated with error: HTTP ERROR 500

when i try to activate Yoast Seo Plugin, my WordPress panel stop loading and the browser displays: HTTP ERROR 500. I checked my error_log file and there was this error: call_user_func_array() expects ...
0
votes
0answers
8 views

Different WP Rest API custom endpoints across different themes

I have created a custom theme on Wordpress with custom WP Rest API endpoints. This is how I have set it up. Theme name: Theme 1 Added below line in functions.php require get_parent_theme_file_path( ...
0
votes
1answer
25 views

Custom homepage with recent blog posts

I have a self-hosted site on wordpress.com - I have been told it isn't self-hosted. Basically, I have my own domain but use Wordpress as a platform. I am currently trying to create a home page where ...
0
votes
0answers
10 views

Transferring site data from current theme to a different theme

Hope you all are good. My queries are: 1- How can I transfer site data from current theme to a different theme? 2- Will the new theme adopt the data or make a mess? 3- Should I consider manual data ...
0
votes
0answers
15 views

My page got to many DOM elements (still loading fast though)

So we are building a new webshop on the Wordpress/WC platform and we bought a theme on the Envato Market. I am trying to optimize all of the things at this moment and we are getting some pretty ok ...
0
votes
1answer
25 views

Changing input type from text to multi select dropdown - skill taxonomy

Really need help with a wordpress code please. I have a field on a form which adds tags to the post. Problem is, its free for anyone to enter anything. This keep populating the "skill" taxonomy. The ...
0
votes
0answers
25 views

How to replace a specific element from a link? [closed]

For example, I want to change the title="apple" to data-title="apple" inside a link. And just replace that for a specif div instead of all div in a page. Namely from <div class="fruit"> ...
0
votes
1answer
27 views

Don't prepend WordPress base url to image paths

I'm programmatically adding image attachments to posts, however I'm not uploading the image, just storing the full url which is hosted on a CDN e.g. https://i.atcdn.co.uk/imgser-uk/imgser-uk/servlet/...
0
votes
0answers
20 views

How do WordPress themes work in relation to content?

Premise: I have experience with WordPress only from an admin's perspective point, not custom themes, so forgive the that the question is very general. I am well aware that WordPress stores content in ...
0
votes
0answers
14 views

Wordpress theme to support single website but with 3 sections for 3 languages

I have 3 domains that go around the same topic - city portal. These domains are basically aimed at 3 languages: local, English and (just for the sake of argument): Esperanto. I want to organize these ...
0
votes
1answer
22 views

How to test another theme in a live WordPress website instead of live preview?

I want to implement a new theme called Hepta on my current website, but when I test it using the live preview, it shows me limited content and features as it imports most of the contents from the ...
0
votes
1answer
40 views

Description: Too much time has passed without sending any data for document

I apologize if this isn't the correct place for this, but I've been all over the place trying to figure this out and can't. Here is the relevant information: Host: GoDaddy Managed Wordpress(likely ...
0
votes
1answer
14 views

Different files for order details

I'm developing a theme for woocommerce website. My problem is that to show order details on my account and thank you page, woocommerce only has the following template file: /wp-content/plugins/...
0
votes
1answer
13 views

How to get current post user id

I have some posts, each post have different authors(users). I save each author image avatar in user_meta table. Now i want show each author avatar in self posts. i get user_id with ...
0
votes
1answer
19 views

When the user entered an unauthorized url redirect to login page

I have custom account page for user, i want the users who are not logged in site when enter http://example.com/account redirected to a custom login page. Here My code function setup_user_panel_url()...
0
votes
0answers
20 views

How to display values of multiple checkboxes in WordPress

I have a page, on the page i show my site categories in the form of checkbox.and user can select multi category When user select multi category i can save that in database but can't show selected ...
0
votes
0answers
21 views

Where to find child themes?

Is there a method of finding child themes? I tried searching the Wordpress Theme Directory, but most themes do not seem to have children. Some featured in the "Twenty Fifteen" search actually are ...
0
votes
0answers
13 views

Demo is not importing

I'm trying to import the demo of the Buran theme, but its been on the same page for an hour now. Nothing is happening. Usually it should only be about 5 minutes to import demos. But mine is just not ...
0
votes
2answers
32 views

Is hand coding required at all?

With template builders like Divi and Elementor, is hand coding still required? We are building a B2B website on WordPress and there are no transactions involved in it. Our content will vary from page ...
-2
votes
0answers
15 views

how to stop calling same menu twince in wordpress? [duplicate]

Can someone help to remove calling the menu twice ? this is very annoying and I didnt know how to fix it from menu-mobile.php or header.php or any other WP files. This is an error in theme, and I ...
0
votes
0answers
13 views

Can I set a Digital Download Ecommerce website with users buying and selling using WordPress?

I have been looking around the tutorials and educational websites for WordPress. as I want to make an online digital download website, where people buy and/or sell downloadable content. Such as ...
0
votes
0answers
13 views

Gallery only displaying the thumbnail picture

When we click to view a full gallery it just shows the full-screen version of the thumbnail. This problem began after we updated our plugins, but I tried deactivating them one by one and the only one ...
1
vote
3answers
352 views

How can I develop a new theme in WordPress without disrupting the current site

I am working on updating our current website and would like to build a new theme without disturbing the current site. How should I go about doing this? Can I just add the theme and then not make it ...
0
votes
0answers
15 views

How Can I Remove Unwanted Modules from Plugin so they don't appear on Dashboard

So i downloaded this theme for hospital management system but it includes a lot of stuff i won't be needing, is there a way to remove all the unnecessary stuff from the dashboard
0
votes
0answers
18 views

Why is my page design disappearing after setting the page to blog page?

I have a theme in which I have a design like this But when I set this page in the settings as blog page, the top disappears. I get only this Why is this happening ? I have tried changing the ...
0
votes
0answers
7 views

specific post always at 3rd position in a category page

I have already searched but found nothing useful. im Develop a Wordpresstheme. I would like to have a post always located at 3rd position in a category page. Another at the 6th place. At first I ...
0
votes
2answers
24 views

Dynamic image for Jumbotron on WordPress Custom Theme

What is the correct process to make your jumbotron image dynamic (user changeable) via the WordPress customizer. Currently on my customers custom theme www.windupgram.co.uk I am using a static image, ...
1
vote
1answer
34 views

How to get data about category in category.php

I have to make custom category.php template, but how do I get data about category in category.php? I need these: Category name and id Category's parent name and id All category's items Let's say our ...
2
votes
2answers
30 views

How to set up gmail SMTP in Wordpress

I'm trying to set up an smtp gmail server to send emails from my wordpress site. This is what I've got in my wp-config.php: define( 'SMTP_USER', 'myaddress@gmail.com' ); // Username to use for ...
1
vote
3answers
51 views

During theme installation theme upload failed

when tried to upload a theme,got this error. how can i solve this? Installing Theme from uploaded file: resume.zip Unpacking the package… Installing the theme… The package could not be installed. ...
0
votes
1answer
80 views

How to override the “inc” folder (or any folder) in a theme using child theme?

I am using Storefront theme (But question isn't specify to this theme, I am asking question for any theme). I can easily override files like header.php, footer.php using child theme(just copy and ...
3
votes
3answers
120 views

add_image_size is scaling, even though crop is set to true

I am trying to crop a 1000 x 648 image to 400 x 400. I use this code in functions.php add_theme_support( 'post-thumbnails' ); add_image_size('shop-size', 400, 400, array(center,center) ); ...
0
votes
1answer
25 views

Child theme not using parent theme css/styles/formatting?

I am making a simple child theme of the "Grow Minimal" theme. I created a folder, grow-minimal-child and added functions.php and style.css: functions.php: function my_theme_enqueue_styles() { $...
0
votes
1answer
13 views

How to show some of category in wordpress

I listed all category in front page with get_categories() function But i dont want show all category in output For example i dont want show catgegory with id=25 How to should i do that? This is my ...
0
votes
0answers
22 views

Wordpress display grandchild menu

Im trying to display grandchild menu in wordpress, but I prefer build it with foreach not build with nav walker. Here is my code. This code just display child menu : $menu_list = '<nav class="...
0
votes
1answer
33 views

How to know which theme are we using in wordpress and change the content as well? [closed]

I am working on a website (built on wordpress, not sure which theme are we using) in which I want to edit the content of it. After log-in inside the website for the same homepage, I see the ...
0
votes
1answer
42 views

class-wp-hook.php warning errors

I installed a new theme and I'm getting some warning errors - Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'emma_load_textdomain' not found or invalid ...
0
votes
0answers
13 views

Target h1 on single post page - TwentySeventeen theme

I've tried the solution that worked on a post with a similar name to this - but it does not work for the h1 tag on the WordPress TwentySeventeen theme. What worked for the OP was: .postid-127 h1 ...
0
votes
0answers
18 views

Redirection to the WP_HOME

I have several WordPress sites and some of them have a more complex setup where there are multiple application servers running PHP FPM and nginx and a load balancer to cover them all. All sites run ...
0
votes
1answer
36 views

How to implement theme option to change bootstrap 4 container from .container to .container-fluid

Developing wordpress theme from scratch, I got some basics, but, as I start to make templates for changing the look of a page (like 1 or 2 or 3 columns, with or without sidebar...), an idea came to me ...
0
votes
0answers
16 views

paginate_links pagination with new variable pg

I would like to add new parameter "pg" as page number with help of paginate_links(). My website: https://www.dealfinder.lk/search/?deal=happy-hour&pg=2 Here is my function : echo ...
0
votes
1answer
21 views

White space between products and navigation menu

I can't remove the white space between Home → Furniture and The 'sort by' bar. I am very new to wordpress and I'm not sure where to post this query. I have tried adding some css but not sure where to ...
1
vote
0answers
33 views

Woocommerce StoreFront Showing Incorrect Subtotal in Customer Total

I am using StoreFront with Woocommerce, very basic as I only have one product with variations. The product is 'CESAA Membership' and I have 6 variations...the issue I am facing can be explained with ...