Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Change the site tagline (or similar) based on current page

I have a client with 4 very specific areas of service and they want so show the service name under the site logo but only the pages related to that service. E.G. the Real Estate page and ALL of its ...
0
votes
0answers
9 views

Customized Blog/Latest Posts Page

This question is sparked by some issues I'm running into using Elementor, but it's not an Elementor-only question. I'm trying to create a customized static blog page/latest posts page. I currently ...
0
votes
0answers
9 views

Basic wpdb update question

I can't get this to work and I don't really know how to debug it. In the URL I'm getting this added: ?candidat=41&selectCandidate=selectCandidate global $wpdb; if(isset($_POST['...
1
vote
2answers
14 views

Comparing two WordPress installations

I searched a lot trying to find a solution to this. Hope someone may have an answer. I have two Wordpress installations that supposedly are identical. One is on a production site and the other is on ...
1
vote
1answer
748 views

Show attribute description when filtering by that attribute

I’m setting up a woocommerce shop for my wife. In this shop, the brands mean a lot to us so we’ve added descriptions for each brand. A nice little story with an image and everything. Now when I click ...
0
votes
0answers
13 views

How to add user clothing measurement in woocommerce myaccount page [closed]

I have lehanga and suit designing woocommerce website in which i want to add a form for user to fill their clothing measurement and submit it . This measurement details will be saved in user account. ...
2
votes
1answer
624 views

Order post by year DESC and month ASC

I have a worpresss 4.0.12 website; i created a custom template category-$id.php in which I have to show post ordering them by Year DESC and by month ASC (or a custom field ASC), the result should be ...
0
votes
1answer
592 views

Get a different size of Image thumbnail while working with custom metabox

I am using custom metabox for a page in my new project, I am using it for uploading image, and attaching it to the page. It's working fine, I can select image or upload the image using WordPress' ...
1
vote
2answers
494 views

Apply custom category template to subcategories

Hello on my wordpress site I have a custom template for category A with slug (cat-a). I created a category-cat-a.php file to give this category a custom layout and this works without a problem. I am ...
1
vote
2answers
17 views

Replace “WordPress” word in title of Dashboard

I would like to replace the WordPress word in title of Dashboard. Original title: Dashboard < Site Title - WordPress Expected result: Dashboard < Site Title - foobar I tried to do this with ...
0
votes
1answer
1k views

Importing Attributes in to Woocommerce

I have a text file with 100 + names, I need to import this as an attribute into WooCommerce. I’ve been searching all over for an answer but can’t figure it out. I've tried some plugins but they don't ...
0
votes
1answer
18 views

How to start editing my site with Wordpress?

I'm new to wordpress and I already read a lot of articles and watched a lot of videos but still can't find a single solution to my problem. I already bought a hosting and the site is up on the web. ...
0
votes
1answer
27 views

Custom page for creating/editing custom post type

I'm creating a website based on WordPress, but it's not a blog and very much a sui generis website, so I'm developing a plugin that will add the various features I need. In particular, I have created ...
0
votes
1answer
46 views

How to create a new blog in wordpress?

I have a wordpress installed and there seems to be many existing blogs. But I can't figure out how to create a new blog. Is there an top central admin where I can use a gui to create a new blog? The ...
0
votes
0answers
13 views

Create custom theme for business (not blog) site [closed]

I'm creating a business site, with static pages and landing pages. So its not a blog, and there are no archives, sidebars, posts, comments, authors, etc. I chose the default theme, a blank canvas, ...
1
vote
0answers
27 views

how do I remove the shipping from woocommerce thankyou page and from the email

I've been trying to remove the shipping completely from my woocommerce website. I was able to remove it only from the checkout page and the cart page BUT I want to remove also from the thank you page ...
6
votes
2answers
21k views

Custom Search Query

I'd like to set up a custom search page that does the following: User checks off several items in a form that he'd like to see returned in his search (essentially choosing from a list of tags). ...
0
votes
3answers
2k views

Setting standard hover box size

I want to set up a grid of hover boxes. I have set up three columns so they are all the same width, but I want to set the size so that they are the same depth regardless of how much text is in there (...
2
votes
2answers
752 views

wp_query to display custom taxonomy terms

I have a custom post type named 'tours' and custom taxonomy named 'tourtypes' so i can categorize it into terms like 'cultural tour', 'sports tour' etc. I'm not the original author of this theme and ...
0
votes
1answer
467 views

Gallery IDS and Captions: hide/show on a per ID basis

I am aware of hiding captions in a gallery via css on figcaption, like .wp-caption-text/.gallery-caption for example. What I am looking for is a way to have custom control of hiding captions on ...
1
vote
1answer
460 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is /%category%/%...
2
votes
2answers
751 views

Hide admin notices/notifications from everyone but super admin?

I have a Multisite setup, and I would like to hide all notices/notifications from the admin pages for everyone but me (the Super Admin). How would I manage to do this? Thank you!
0
votes
1answer
9 views

How to create custom search form function including post “tags”

This is my HTML: <input type="text" class="keyword" name="keyword" id="keyword" placeholder="Search video..."> <button id="search-keyword">Search</button> When I click the "Search" ...
2
votes
2answers
1k views

Is it possible to use Gutenberg on the front-end?

Now that WordPress 5 has the new Gutenberg editor, I'm interested in the possibility of using it programmatically on the front-end (for example as as a rich-text editor for bbPress). In the past I've ...
0
votes
1answer
477 views

Is there a way to add a function that will get run after a blog is created?

Is there a way to have a function run after a blog is created in WP MU? I think I would need to add a filter or something but I'm not as familiar with the procedure. Do I set something up like this: ...
1
vote
2answers
676 views

How to set default values for options page

here is my option page: class PriceListOptions { private $price_list_options_options; public function __construct() { add_action( 'admin_menu', array( $this, '...
0
votes
1answer
502 views

Turn Autocomplete on

I would like to set the autocompleete to on for the post title. Please can somenone tell me how to do this. Thanks Update Note The autocomplete=off setting is removed when the plugin is activated ...
0
votes
0answers
10 views

Change reset password hook?

When users create an account they get an email to set their password. Currently, it goes to the default https://example.com/wp-login.php?action=rp&key=hFRwAiQxbz634rmjHuWgU&login=username ...
3
votes
5answers
3k views

How do I create a widget that only allows a single instance?

How do I create a widget that only allows a single instance of a widget to be added through the Wordpress interface? The default behaviour of widgets allows multiple instances to be added. I am ...
0
votes
3answers
513 views

Static text above category page

I'm trying to add some static (welcome) text above my post excerpts, for which the posts page has been set up to display a category, in this case News. Link I've tried entering the following: <?...
0
votes
1answer
22 views

CSS Styling a specific page

I am familiar with styling specific pages on WordPress by adding a class .page-id-123 in front of the styled element. However, this doesn't seem to apply to "subpages" (sorry don't know what they ...
0
votes
0answers
29 views

New posts not visible

I've a website. It was initially developed by a different developer. It has custom template work done to it. In the wp-admin "projects" can be seen in the menu. When I click all projects, all ...
0
votes
1answer
677 views

How to echo custom styles in css format?

I'm usually do dynamic-style.php file for making dynamic css codes from theme options, shortcode, customizer and all others. But, you may already know it'll slow down our site speed. I would highly ...
3
votes
2answers
1k views

How to use PanelColorSettings in custom Gutenberg block?

I'm working on a custom Gutenberg block. I have used <PanelBody> <BaseControl> and <ColorPalette> to create some custom color pickers, however, it seems like it would be more ...
0
votes
0answers
14 views

how to get custom post type description from category id

<div class="container"> <div class="row"> <?php $args = array( 'post_type' => 'add_your_custom_post_type', 'posts_per_page' => 10 ); $loop = new WP_Query( $...
0
votes
1answer
144 views

a weird attribute on every html tag

me and my friend working on a Wordpress site but we see it differently on our machines, He sees a weird attribute wfd-id="" on every html tag in google console when he inspect it, also I loaded ...
5
votes
1answer
182 views

How to integrate a PHP webmail script into the backend of WordPress?

How can you add Roundcube (or any other PHP webmail client script) to the WordPress backend? Can this be done so that the webmail client can be accessed only from inside wp-admin? It should not be ...
0
votes
0answers
20 views

Different wordpress html menu markup?

I need to make 3 level menu. Dropdown tabbed style menu. The markup I get now is the default one: <div menu-container> <ul level-one-menu> <li> <a>Dropdown&...
0
votes
1answer
787 views

Admin - create custom post status and display above table

How do I create a custom post status and display it above the table of my custom post type? Example: All(9) | Published (7) | Custom_Status(2) I used the advance custom fields plugin to create a ...
0
votes
1answer
617 views

after checked the checkbox in backend, dont show social link on frontend

I want to do something like if I checked/unchecked a checkbox in admin then all social links in the page footer on fronted hide/show. function add_custom_meta_box() {add_meta_box("demo-meta-box", "...
1
vote
1answer
467 views

I'd like to move the Widgets Panel to the bottom of the list in Customizer

I'd prefer to have the 'new' Widgets Section/Panel (that extends to the widget areas) drop down to the bottom of list in Customizer. I've tried: $wp_customize->get_panel('widgets')->priority = ...
0
votes
1answer
14 views

Executing a function upon webhook calling wordpress

I assume it is best to have webhooks that run from like say thrivecart, or other processors, execute code from a plugin, so that updates do not overwrite custom coding... I've never created a plugin ...
1
vote
1answer
868 views

Maximum lifetime for nonce

In our project we allow users to buy a coupon ( WooCommerce product ) for some service. We save every coupon as a custom post type with all the customer data inserted during purchase. We then via ...
1
vote
0answers
25 views

Incorporate small angular feature in my wordpress site

I want to add an angular feature in my wordpress site, but i m confused how to incorporate both. I m jus confused about folder structure for the same Or i can create a plugin?? My angular feature is ...
0
votes
0answers
24 views

remove screenshot.png via dashboard

How can you remove screenshot.png, or change it if removal is not an option, via the WP dashboard? I know you can do it with FTP. Thanks.
7
votes
1answer
17k views

How to add a new product type on woocommerce product types? [closed]

I want to add a new custom "product type" to woocommerce plugin: Tried to duplicate one of currently exist product type files (woocommerce template structure) as a new file (file name and inside ...
0
votes
2answers
28 views

How can I create a Custom Page? (not a page template!!)

I would like to have inside my theme folder, a folder where I can leave all the portion of code and snippets that I don't want to use anymore or I just want to save for a while, and accessible every ...
0
votes
1answer
549 views

DOM reference to TinyMCE editor element (button)

I guess this should be a very simple question, but I'm not too familiar with overall functioning of Wordpress / TinyMCE so I'm struggling: I've added a custom button to TinyMCE and need some kind of ...
0
votes
1answer
23 views

add_feed rewrite overwriting standard permalinks

By doing a simple: add_feed( 'schedule', 'my_schedule_feed' ); I have created a feed at /feed/schedule/... easy. But when I go to /schedule/ (which is a page) it is now showing the feed! Looking ...
0
votes
1answer
413 views

add shortcode support in customizer

How to add shortcode support in Customizer live preview. I have implemented the live preview using transport postMessage but, It just reflect the HTML as it is. I think I need to use ...