Quantcast
Channel: Active questions tagged themes - WordPress Development Stack Exchange
Browsing latest articles
Browse All 71 View Live

Local WP site can't locate plugins or theme

I'm trying to recreate a WP site on my computer but it's missing all the plugins and themes. The folders exist in the project and I can see the menu items in the dashboard, but when visiting the...

View Article



How to cancel style.min.css file?

I'm writing style codes for a WordPress theme. But the theme reads the style codes from the style.min.css file. I just want it to read from the style.css file. How can I disable it from reading from...

View Article

Magnific Popup - Add Caption to Images

My theme uses Magnific Popup as follows in theme.js /* add lightbox for blog galleries */ $(".gallery a[href$='.jpg'],.gallery a[href$='.jpeg'],.featured-item a[href$='.jpeg'],.featured-item...

View Article

How can I theme or style the lost password page without a plugin?

So I want to apply a theme and style the lost password page without the use of a plugin. I don't want it to show the default Wordpress lost password page. I managed to style the login form by...

View Article

How to make a website with two types of logins , Sellers and buyers?

I need help please finding out how to make an E-commerce website with two different types of logins Some users will submit their products and others can login to purchase. something like Ebay.I heard...

View Article


Trying to create a cutom query with pagination and page 2 breaking. Any help?

This is what I have tried so far:<?php /* Template Name: Archive-posts */ ?><?php get_header(); ?><main id="primary" class="site-main"><div class="page-header"...

View Article

Installation échouée : Le téléchargement a échoué. No working transports found

i already have that extensionsextension=php_openssl.dlland i add the other extensionextension=php_curl.dlland i still get this error when i want to install a themeInstallation échouée : Le...

View Article

Static front page displaying twice

I am using a free SM theme (estate agent) on my WordPress site.The theme allows for setting a static front page, which I did (the page is called 'events', and when I set it as home page its permalink...

View Article


Why does get_posts only show results for Admins or logged-out users?

I use a get_posts() call with these arguments:array(6) { ["include"]=> string(14) "1633,1634,1635" ["post_status"]=> string(3) "any" ["post_type"]=> string(10) "attachment"...

View Article


Allowing users to install a predefined bundle of plugins and themes with one...

EDIT: Assuming one already has WP Core installed; would it be possible to offer a predefined bundle of plugins and themes made by various parties, which users could download, and then install in...

View Article

Image may be NSFW.
Clik here to view.

Change submenu markup

I've seen people recommending to edit the wordpress default Walker to change the menu markup and create your own.The problem with this is that I would like to change the markup of the submenu and leave...

View Article

I added a rating system on my blog post but instead of stars it shows boxes

So yeah basically I hired a developer to help with writing a source code for a rating system to my blog. When I edit with Elementor it works out fine, but when I try to edit with the Gutenberg theme it...

View Article

Activate plugins by a theme's functions.php?

Is it possible to activate plugins per theme?I have a multisite, and I know it is possible to activate plugins per site. But I need plugins to be enabled for specific themes. Someone asked a similar...

View Article


Block Theme: How to use a different template on front page vs paginated pages?

I'm using block themes.I'd like the front page / home / index to show some extra blocks plus the list of blog posts. However, I want the paginated pages (e.g. /page/2) to not have these extra blocks...

View Article

Image may be NSFW.
Clik here to view.

WordPress loads old style.css, then loads current one

I'm new to WordPress, so I'm not really sure how it works, but I've been editing the theme by changing wp-content/themes/<theme_name>/css/style.css, then uploading this to the website via FTP....

View Article


How do I save a wordpress theme's files and install them on another site?

I have two sites I run with Wordpress. I put a lot of work into making a custom theme for site #1 so it looks and functions well and I want to download all of the theme's files (php/js/css, etc. no...

View Article

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...

View Article


Image may be NSFW.
Clik here to view.

menu mobile show up even i in desktop mode in Newspaper Theme

I have WordPress website with Newspaper Theme and I have a problem with the Menu.Link: demo2.tmanow.netI have 2 problems:The menu mobile show up in left side even i in desktop mode, thisnot should be...

View Article

WordPress How To create Word document from theme and run it on new order created

I'm trying to make this functionality:I have .docx template where I need to pass variables and save it in theme directory when WooCommerce order is created. But the problem is probably, that I'm badly...

View Article

How can I list only sites that use a particular theme or plugin?

I need to search through dozens of WordPress multisite (network enabled) installs for sites that use a particular plugin.How can I list only sites that use a particular theme or plugin, preferably with...

View Article

Can't add new plugin or themes on a wordpress multisite network from the...

I can't add new plugins or themes on a wordpress multisite network from the primary site as super administrator. It shows this error: ERR_TOO_MANY_REDIRECTS. However, I am able to access all pages,...

View Article


Custom CSS is overwritten by WordPress?

So I made a new website for a club/ organization. My task is to update an old website on WordPress with this new website. I transferred all my HTML pages and CSS/JS files. However, some of my custom...

View Article


Image may be NSFW.
Clik here to view.

WordPress Responsive Custom Control WP Customizer

I'm developing a WordPress theme and I searched for days without finding anything. I have a custom control in WP Customizer and I want that it can save data responsive for desktop, tablet and...

View Article

how to get json file in wordpress template in wordpress

I am trying to get data from JSON file in Wordpress template using file_get_contents But can not get the file$data = file_get_contents("../assets/data2.json");$arr = json_decode($data, true);Facing...

View Article

Image may be NSFW.
Clik here to view.

Can you tell me how can i replace posts from blog in below screenshort

Can you tell anyone how can i replace posts from blog in below screenshort. I have working on Avada theme and always i see an posts in place of blogs. can you tell me how to resolve this issue.

View Article


dynamic image path within a javascript file

I need to dynamic the image path to my theme file within a javascript file. How would I go about this?address.forEach(function(address){ var markerGeoCoder; markerImage = {url: window.mr_variant ==...

View Article

Image may be NSFW.
Clik here to view.

Is there a way to enable horizontal margin for a specific block element?

Sorry in advance for my dumb question.I am slowly learning the new WordPress core theme functions for blocks.I admit, I am fairly lost 🤷🏻‍♀️😅 .The title says it all, I am trying to add the possibility...

View Article

Is it possible to create dynamic templates for block themes directly from the...

For example, you can create a posts template within the site editor, but how do you make it so that the content for each respective single post displays dynamically?Here's my single post template...

View Article

Wordpress and Advanced Custom Fields and Flickity

I am trying to add [Flickity Carousel][1] into my Wordpress theme. I was successful yesterday. However, when I returned to my theme this morning the carousel files are not loading. I am not sure what...

View Article



Image may be NSFW.
Clik here to view.

Wordpress site hamburger menu toggle not working

When I shrink down the browser to test for mobile responsiveness, the hamburger menu does not open, even after I clicked on it. I have tried everything from troubleshooting my plugins to searching all...

View Article
Browsing latest articles
Browse All 71 View Live




Latest Images