Questions tagged [customization]
MEANINGLESS tag. Used as a merge target for other meaningless tags. Do not use it on new questions.
5,049
questions
0
votes
0
answers
18
views
Using ACF to allow user to add and edit multiple saved forms
I would like for customers to be able to create new versions of the same form, and be able to save it to their profile.
So for example, they add an address that can be set as the default, then they ...
0
votes
1
answer
23
views
Has the table name in SQL for Wordpress changed from WP_posts to WPCS_post?
I ran this query in SQL in PhyMyAdmin
UPDATE wp_posts SET post_content = REPLACE (post_content,'https://www.example.com/wp-content/uploads/','https://www.cdn.example.com/');
Though it ran, then gave ...
0
votes
0
answers
9
views
Why after customizing Home Page, the site is loading six missing blob sources, slowing down all site?
GET blob:http://www.mywebsite.it/cb7bb04e-9872-4165-b31e-c6686ee64947 net::ERR_FILE_NOT_FOUND
This is what I see at the end of the loading of the page in the network console. There are six of these ...
0
votes
0
answers
16
views
Multi color post title by using custom javascript inside the gutenberg editor?
I'm just getting started with the gutenberg editor.
I want the editing person to be able to select parts of the post title wich then opens a toolbar above the selected textpart letting you choose a ...
0
votes
2
answers
43
views
Create a page for each database table entries
I am creating a job board website(it is a part of the website). I have a JobOffer class with some rows in the database(added with it's form...). My problem now is to have a page for each of these ...
0
votes
0
answers
27
views
Add custom styles to the Raft theme
It seems that in WP6.1+ and the raft theme it's become much harder to customize styles. The footer has custom wp tags ala "wp-social-link" but in trying to override list-style-type in order ...
0
votes
0
answers
19
views
I have a website issue I am trying to resolve
My website is jthomascrowne.com titled "The View From Here". I am currently using the Twenty Seventeen Theme on a Wordpress Business plan. I am relatively new to this. I know nothing about ...
0
votes
1
answer
16
views
post_row_actions filter from parent theme not executing in child theme
In functions.php for a theme I include a file that adds functionality to allow the easy duplication of posts - the include file contains the code from this (very useful) webpage. I include it like ...
0
votes
1
answer
35
views
Where did I put this one line of css?
So I'm a bit lost. There are so many places to tuck away custom css between the WordPress customizer and Elementor Pro, and I added some css to style a couple little recurring anchor tags in a file ...
0
votes
0
answers
7
views
Custom product sorting archive page
I would like to create a sorting products custom.
The result I would like is the following
all featured products
Most sold products in the last year
All other products.
Is it possible to do ...
0
votes
1
answer
20
views
Some data of one custom user profile is erased when I update another custom user profile
I have some problems with custom user profil. I Created 2 différents user profiles :
one is calld "particulier"
the other is called "entreprise"
You can see the code below.
The ...
0
votes
0
answers
11
views
Product customizing quiz - quiz adding products to the cart
Spend a lot of time on this and my client is getting angry but still no results…
Is there any plugin (or solution to use) you know to instantly add product to cart after giving specific answer on a ...
0
votes
0
answers
26
views
I need to get all categories from a WP_Query
Actualy i'm doing this
$loop = new WP_Query($args);
while ($loop->have_posts()) :
$ID = $postData->ID;
$freeCategories = get_terms(array(
'taxonomy' => "product_cat"...
0
votes
0
answers
18
views
Change in credit card payment button for woocommerce
good work everyone!
What I want to do is to change the way in the woocommerce credit card payment button.
I want to make the button part like this
button, center part will also show total amount ...
0
votes
0
answers
12
views
Notify/check if the content of a custom gutenberg block has changed on save_post
I developed a custom gutenberg block that has some information saved in its attributes. I would like to know if there is a possibility to notify/check only if there is any change in the content of ...
0
votes
0
answers
15
views
How to make a Template page to show the information of different things Shop and Product page?
Is there a way to make a page with multiple items (Like a Shop or products page) and a Single information page / Details page? I want to make a Custom template of a Single Details page that will open ...
0
votes
0
answers
16
views
Custom Search on media files PDF images pages posts
Hi all – hoping to find a code solution for developing a custom search bar in WordPress that searches for both Posts/Pages but will ALSO search for media files such as PDFs and images. Basically I ...
-1
votes
1
answer
51
views
Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
WordPress STILL loads Fonts differend from the one i defined via font-face and *{font-family}. Especially in WP-Embeds still the Font Reference
-apple-system,BlinkMacSystemFont,"Segoe UI",...
0
votes
1
answer
25
views
Woocommerce send custom email receipt based on product attribute [closed]
I was wondering if someone can point me towards the big picture on how to send a Woocommerce Custom email based on the product attribute. I'm mostly a front end javascript dev, and don't know the ...
0
votes
0
answers
24
views
display posts, pages and custom post types from another wordpress site
I have 2 sites one acting as a parent and the second acting as a branch of the organization. The sites are on different domains and databases.
I want to display on the branch site some posts and ...
0
votes
0
answers
22
views
Sort CPT by taxonomy AND THEN by custom field
I am trying to sort a CPT first by Taxonomy (tag) ASC and then by custom field (last_updated_hc) DESC which is a date-picker field. Using posts_orderby I can sort by taxonomy but I am running into ...
0
votes
2
answers
47
views
User Query Multiple Orderby Clause
I'm having trouble getting consistent results from a WP_User_Query when ordering by multiple meta values.
There is a meta field that contains a serialized list of IDs, and I need to display users with ...
0
votes
1
answer
14
views
Show last child Child category instead of first child category on page
Our website: www.cinemanext.at basically shows the first child category of the category events (click page "events"). Now, page "service" shows category service, which is a child ...
0
votes
0
answers
16
views
Is there any other ways to replicating changes on live from staging without pushing from git
I am just curious to know if is there any possible and reliable ways to replicate staging changes to the live site without using the git repo.
Please share if there are any best practices to do that.
0
votes
1
answer
27
views
How to stop login for SPECIFIC users BEFORE a specified date
I'm developing a membership website (using Memberpress) and want to send the login information to some users before the site goes live. I want these specific users to be UNABLE to login BEFORE my ...
0
votes
0
answers
14
views
Same slug for Custom Taxonomy archive and CPT archive - Rewrite rule not working
I’m using a CPT (wg_seo_chat) together with a Custom taxonomy (wg_chat_category). Additional rewrite rules are in place to inject the Taxonomy into the URL:
CPT archive: domain/hilfe-chat
Taxonomy ...
1
vote
0
answers
108
views
Problems with WP 6.1.1 and the get_user_meta() function
On upgrading from v6.0.3 to v6.1.1, the function get_user_meta() (used in my theme) is not working correctly!
In the following code v6.1.1 returns $guid as an empty value, however when I revert back ...
0
votes
0
answers
20
views
How to apply filters if editing specific template
I am using the following code to add custom styles to the content editor:
/* Customize editor */
function mce_mod( $init ) {
$style_formats = array (
array( 'title' => 'Gold Heading 1', ...
0
votes
0
answers
19
views
Can I log the searches that are returning 404 in the DB?
I would like to log every single search query for which one gets 404. For example, if I search Cat in the search box, but my website doesn't have any content as cats. I would like to log that "...
0
votes
0
answers
11
views
How to edit a non logged in page?
Having difficulty editing a 'non logged in' page on wordpress using elementor.
Every time I logon to wordpress it only shows me the logged on view but I need to edit a page that is logged out.
I know ...
0
votes
1
answer
33
views
Redirect all pages to the custom login page except for the registration page
I have redirected all non logged in users to my login page but on the page there is an option for them to register and that navigates back to my login page and I want to exclude that register page ...
0
votes
0
answers
32
views
WP Custom tables query
I returned to PHP / MySQL development after a long break, and I am working on a project that requires some customization.
First, I added a credentials file; then I am referencing that file in my test ...
0
votes
1
answer
52
views
Extend WP_List_Table class - Edit wp_usermeta - WPPB.me Boilerplate - Action error
I’m developing a WordPress plugin where the goal/ action is to manipulate data in the wp_usermeta table, by extending the WP_List_Table class, and using it in the WPPB.me boilerplate. I’ve been able ...
0
votes
1
answer
57
views
How can I properly sanitize the update_option in WordPress?
I am using this part of the code in my WordPress plugin to update the option.
update_option('button_loc_shop_page', $_POST['button_loc_shop_page']);
I want to sanitize this. How can I properly ...
0
votes
0
answers
10
views
How to display content depending on the Woocommerce Product Category
I have a single product template design where there are two "sections" whose content will change according to it's product category. My plan is to create an "Elementor Section Template&...
0
votes
0
answers
34
views
Particle.js not loading in WordPress Gutenberg
I'm currently trying to teach myself how to design with Gutenberg (after previously only using Elementor), so I'm re-doing my website.
I'm trying to have my hero section use particle.js but the ...
0
votes
0
answers
35
views
Create Custom Coupon Type
I'm trying to customize the "Woocommerce Subscription" plugin to add a custom coupon type.
As they don't have a coupon type to add a discount on regular products as well as recurring ...
0
votes
0
answers
29
views
Dynamic Menu Item
I'm a complete WordPress n00b, so your guidance is very much appreciated. Long story short I am running a theme with a child theme attached.
I need a function that will retrieve my site's latest post ...
0
votes
0
answers
40
views
How do I get content of custom post type through post ID
I want to show a single custom post on a single post page, but the content I receive and the content on the page are getting mixed up.
Is there a different way to do this?
$my_query = new WP_Query('...
0
votes
1
answer
12
views
How can I make a search term redirect to a page
I'd like users to enter a unique number such as "756463" and it take them to a specific page.
How can this be done please?
0
votes
1
answer
510
views
Custom gutenberg block image preview not working
I created a custom block. It works but not able to get the block preview image working. Is there anything else I need to do? I am using create-guten-block to create the block.
Can anyone please help?
/...
0
votes
0
answers
21
views
Changes done in admin panel are taking time to reflect in the REST api responses
I'm changing permalink setting in the admin panel. When I'm trying to fetch the post via REST api /wp-json/wp/v2/posts via postman, it's still showing the old url links (old permalinks). So is there ...
0
votes
0
answers
19
views
Wordpress Feature - Multi Level sorting
I am developing a Wordpress site with WooCommerce and would like to implement a multi-level sorting feature. This would sort first by one parameter (for example, price), then AFTER that sorting sort ...
0
votes
0
answers
23
views
Delete old thumbnail when updating new
I have a situation when I update a new featured image, I have to delete the previous one. because it's taking up too much space.
Is there any custom code or plugin that can help me?
Thanks In Advance.
0
votes
0
answers
37
views
WordPress Custom wp mail template return full template
I am developing simple listing website, and in the listing post i have single page where i displayed some of data and Extra i have added custom form. The form is submitted successfully but when i try ...
0
votes
0
answers
19
views
Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields
Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields. There is query needed to filter todays birth people-posts. Anyone have any clue ...
2
votes
0
answers
42
views
Prevent posts from being published if the 'Uncategorized'-category or no category is selected
I do not want a user to be able to publish a post if no category is selected. This exact solution from a similar question is exactly what i want to do:
jQuery(document).ready(function ($) {
// ...
0
votes
0
answers
21
views
hello can you advise how to fix the error?
GET https://marketshop.ge/wp-admin/load-styles.php?c=1&dir=ltr&load%5Bchunk_0%5D=dashicons,common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menus,wp-pointer,...
0
votes
0
answers
28
views
How to Add Extra Text In Wordpress Title Before Post Publish
add_filter( 'wp_insert_post_data' , 'filter_post_data' , '99', 2 );
function filter_post_data( $data , $postarr ) {
// Change post title
$data['post_title'] .= '_suffix';
return $data;
}
...
0
votes
0
answers
14
views
Custom Post want button to add image and save in Postmeta
To be simple precise, I just need a simple button (not featured image) to select image from the media library and select or upload image and then save that into the database with the post ID. Please I ...