Skip to main content

Questions tagged [theme-options]

Theme Options allow a Theme author to give users the chance to change certain Theme features such as color and layout. The Theme Options Screen is only available if the active theme supports a Theme Options ability. In addition, this screen will likely be different for each Theme that enables and builds it. The Theme Options page for WordPress Twenty Twelve theme, for example, provides options to change the Color Scheme, Link Color, or Default Layout.

0 votes
1 answer
27 views

Export Wordpress theme with modifications for other site

I purchased wordpress theme. No i have upoloaded it on new site and modified it as i wanted. Now i want to use that theme in my all sites. Problme is theme also saves its oevrride stuff or ...
kgill's user avatar
  • 1
0 votes
0 answers
8 views

WordPress Customizer - How to save list of checkbox of pages?

I'm trying to create an option within the customizer that is basically a list of pages with checkboxes. I have that part working but I don't understand how to save it AND how to retrieve the saved ...
Jon's user avatar
  • 323
1 vote
0 answers
27 views

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 ...
Xena's user avatar
  • 11
0 votes
0 answers
17 views

How to get rid of a blank space where the featured image used to be?

I want my featured image, or post thumbnail, for the post to be displayed on the "posts" or "home" page (they are the same on my site), but not on the actual post. This is easy ...
Car's user avatar
  • 1
0 votes
1 answer
26 views

Is it possible to tokenize theme options to make them available to the basic site editor

Forgive this if it's a duplicate, as I don't know what I don't know when asking this question. I am not sure I am even using the correct terminology (tokenize). What I am trying to do is get an ...
Zak's user avatar
  • 113
0 votes
0 answers
103 views

Wordpress 6.4.2 - can't load editor style css using 'after_setup_theme' or 'admin_init' actions

My hosting company upgraded my remote Wordpress version of my site to 6.4.2 and as I mentioned in a previous ticket alot of things stopped working. One item that seems to be broken are the custom ...
Mike Sav's user avatar
  • 127
0 votes
0 answers
8 views

Site Library issue

How can we use this site library template for a single page ( blogs page where we fetch and display all the blog posts ) without affecting the website theme or pages. and how to connect with ...
Jai Gupta's user avatar
0 votes
1 answer
44 views

Best way for managing images of ads banners

I started building a custom theme and I have a lot of ads banner image on different pages of the site. But my concern is about slowing down the site's loading speed. What is the best way to display ...
och's user avatar
  • 39
0 votes
1 answer
175 views

How to show associated fields if checkbox is checked in customize widget screen using wp_customize?

I created a checkbox section to let user to choose whether wants to display a button in the menu or not, I set the default value to false, and created two fields for the label of the button and the ...
Hatem Frere's user avatar
0 votes
1 answer
48 views

Theme Options wp_editor breaks with 6.0.2 update

I'm in the process of migrating my sites to a new server (windows -> nginx). One of my old themes has 4 options pages. One of the options pages includes 3 wp_editor instances. However, all 4 ...
user3593214's user avatar
2 votes
1 answer
771 views

Theme.json: creating different sections of the color palette

I've got some colors defined in theme.json- is there a way to define custom sections within the color palette? When I set my own colors, they show up in the section labeled "Theme". The ...
clark's user avatar
  • 581
0 votes
1 answer
124 views

Dynamically switch file in get_template_directory_uri() | Function [closed]

I need to switch scheme color of my WordPress theme trough Redux option panel. My plan is switch the CSS file trough get_template_directory_uri() | Function. The scenario is: Create 2 scheme color: ...
Chl Lila's user avatar
0 votes
1 answer
35 views

Count when a post of a custom post type is deleted and store it in a theme option

I work on a website that shows products in a catalogue without checkout. Those products can be bougth stationary, and then the product will be deleted from a custom post type. So, I basically want to ...
what ever's user avatar
0 votes
1 answer
32 views

display category name based on its equivalent id

I have a theme with options. I would like to display 3 posts for a specific woocommerce category, I could show category id and I don't know how to display products based on its category id, but I have ...
latif tahta's user avatar
0 votes
0 answers
54 views

Javascript File Does Not Work

I created a page independent from the theme and added the php and js files of the pageto the theme folder, the php file works but the js file does not. Why could it be? PHP File: <?php if (!...
abdullahyanik's user avatar

15 30 50 per page
1
2 3 4 5
33