Questions tagged [custom-wordpress-pages]
This tag is for questions relating to how to create and/or modify custom page templates in WordPress.
2,030
questions
-4
votes
1
answer
35
views
How can I make this div take up all the space between the logo and the icons? [closed]
I am using Astra theme on WordPress, and I'm not sure how to alter the primary header grid. Here is a screenshot, where I've drawn in red the space I'd like to take up with the search bar:
Here is a ...
-1
votes
0
answers
10
views
Google Search Console issue [closed]
i have a websie and i have posted around 40 posts. But issue is that GSC has created extra pages like feed and rss feeds related to various posts and also for pages like i have a page https://...
0
votes
0
answers
10
views
language problem, when navigating to another page does not use the last selected language
I have a problem with translation, I use the translate press plugin with 2 languages, ID and EN I use manual translation not automatic, so the case when changed using the switcher can change per page, ...
-3
votes
2
answers
34
views
Elementor Header doesn't appear in WooCommerce pages
I have created a header using the plugin Elementor Header & Footer Builder.
The header is applied to all pages perfectly, but all pages related to WooCommerce have the old header.
I don't know how ...
0
votes
0
answers
8
views
Wordpress Theme Installation Issues - Critical Error Message
I tried to install a new theme to a larger existing blog but keep getting this message:
--
Warning: require(/home/customer/www/truck.com/public_html/wp-content/themes/autopro/inc/custom-post-types.php)...
-1
votes
0
answers
10
views
i need to filter some post type like 'promotion' by woocommerces products catégory page
please i need help on wordpress!i use Custom post type UI , Advanced custom field pro.I need to filter some post type like promotion,sale,news 'post title and feature image' by woocommerces products ...
0
votes
0
answers
22
views
Can't get the_post_thumbnail_url() wordpress function to work
I'm having a minor issue with a wordpress function. When I use the function the_post_thumbnail_url() to resize a thumbnail it doesn't work. These are the predetermined sizes I have for my images.
...
0
votes
0
answers
10
views
Wordpress custom cost calculation email issue
I wrote a custom code in WordPress to calculated product cost through customer input through form and display the cost and send email to customer and site admin regarding the details.
It is working ...
-1
votes
1
answer
25
views
Unable to use symbols like "-" and "|" in my WordPress website its showing some character rather than "-" or "|" in the whole site
this is the problem
I am working on a WordPress website but whenever I try to use symbols like "-" in place of this symbol it is displaying the symbol showed in above image.
what should I do ...
0
votes
2
answers
35
views
How to Render a Static Page in Place of a Category Page in WordPress without Redirects?
I'm working on a WordPress site – I have a static page created with a page builder of a theme that I've purchased (slug: 'custom-page') and a category page (slug: 'news').
What I want to achieve is ...
0
votes
0
answers
15
views
WordPress website's home page not working after move from local to live server
I have created a website on WordPress on my local server. After that, I transferred it from my local server to the live server i.e. Hostinger. My website is over 300 MB so to transfer the files I used ...
-1
votes
1
answer
10
views
Wordpress redirecting to the shopping cart
Hi gays i have problem with my shop in wordpress
the problem is that when I click on the view shopping cart option, it redirects me to the login options, I don't know where to look for the problem, I'...
0
votes
0
answers
46
views
How do I remove "shop" from Astra Breadcrumbs?
I use Astra WordPress theme and on the shop page I see:
Home/Products/Shop
Is there any way to remove the "shop" by using action hooks? I have tried various filters but nothing seems to work....
0
votes
0
answers
14
views
How can I get a list of all pages that have a certain url structure?
I am currently trying to get a list of all pages (their links and titles) that have similar url structure as the current page where the function is being used.
For e.g. if the current page is 'www....
0
votes
1
answer
37
views
Show posts assigned to multiple categories in current category page
I have the posts assigned to each category. However, some posts need to be assigned to multiple categories and this is when the code breaks. No error message whatsoever. Whenever I assign a post to ...
0
votes
0
answers
6
views
Conditional Logical Form to Calculate Product Price Based On Customer Input From Form In WordPress
I am trying to implement conditional logic for product price based on color, fabric etc and display price to customer based on their input in Wordpress. For one product its working and giving price ...
0
votes
0
answers
138
views
How to fix the call_user_func_array error in Wordpress?
I am receiving the following error. How do I fix it?
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "...
1
vote
1
answer
25
views
How can add woocommerce product caption in single product page
I want when I go single product page that time main image caption automictic show on below the image and when i change thumbnail that time thumbnail image caption is show on main image .
Shortly, ...
0
votes
1
answer
31
views
How to give my client option to add images, text and way to style both in my custom coded WordPress Theme
I need advice from skilled WordPress Theme creators.
I have created my own custom WordPress theme and would like to make so that my client can log in to WordPress User account and be able to add ...
-1
votes
1
answer
21
views
How do I remove this part from url but still loading the pages
Hi recently I'm working on wordpress and need to change url like below,
https://abcd/portfolio/sample => https://abcd/sample
That without portfolio part and pls note that it is not a category and ...
0
votes
0
answers
28
views
How do I update wordpress elementor page programmatically
Im making new plugin for auto publishing pages which build with elementor page builder. I made new template with specific words such as "{key}" or "{city}" and then plugin is using ...
0
votes
0
answers
21
views
pull out images alt in wordpress attachment page
I have a code for wordpress attachment page that shows other images of the parent post in attachment page
function bdw_get_images() {
global $post;
// Get images for this post
$arrImages = ...
0
votes
0
answers
12
views
Superio Job Board + WP All Export Pro Plugin
What is the WordPress action hook that fires when an employee/candidate creates an account? The goal is to export the user information once their account is created.
We are trying to use the WP All ...
1
vote
2
answers
37
views
how to echo image alt in wordpress attachment page
I have a piece of code for wordpress attachment page
$image_size = apply_filters( 'wporg_attachment_size', 'large' );
echo wp_get_attachment_image( get_the_ID(), $image_size );
it woks fine and ...
0
votes
0
answers
8
views
WordPress: auto-update internal links after bulk duplicating posts to new version
Firstly, I'm sorry if this is duplicate content, but I've searched for a long time and cannot seem to find the appropriate answer for my situation.
Every so often, I need to duplicate all posts (about ...
0
votes
0
answers
42
views
White screen of death to the backend page after adding wordpress shortcode
I've developed a customized post type to showcase testimonials. However, when I insert the shortcode in the webpage's backend and save it, the backend page turns white, rendering me unable to perform ...
0
votes
1
answer
132
views
Woocommerce reports an error in the CHECKOUT form, error 2 ok 0
when creating an order in Woocomerce, after placing the goods in the basket, filling out the form at the checkout, name, address, etc., after sending the form, it says an error, a red exclamation mark ...
0
votes
0
answers
17
views
Wordpress - Timeline Vertical (Collapse)
I am looking to create a timeline vertical on Wordpress. Easy enough. However, I want it set up so that when the icon is clicked, the text underneath is revealed. I am not sure if this is going to ...
0
votes
1
answer
52
views
Custom templates with custom url structure in wordpress
I'm working on a website that includes a section for Barbers, and I want to achieve the following URL structure:
Barbers {domain.com/barbers This page will have 2 section, 1 section will list Barber ...
0
votes
0
answers
24
views
How to add a php QR code generator script on a Wordpress website as a page
I just bought this qr code generator php script template from codecanyon.
Here is the details of the script and live demo.
https://codecanyon.net/item/qrcdr-responsive-qr-code-generator/9226839#
I can ...
0
votes
0
answers
20
views
WooCommmerce filtering classes for div and ul generated by [products] shortcode
I'm creating a custom WooCommerce shop page with the [products] shortcode, and I've filtered the classes applied to individual product <li> using the woocommerce_post_class filter hook.
I haven'...
1
vote
0
answers
26
views
Problem in Converting from Xammp Wordpress theme to Wordpress site theme
Update => I uploaded it and now it's working fine but now how can i make this a dynamic site so that when I can use this template in elementor to add woo commerce stuffs in it?
I've created a basic ...
0
votes
1
answer
28
views
How to remove duplicate images from wordpress post ? my blog post shows same images multiples how it will be fixed
I'm using Automotive Car Dealership Business WordPress Theme my blog page is showing duplicate images in my blog post I edited all posts there is no feautred and double image but still double images ...
0
votes
0
answers
21
views
Values in <head> are passed into <body> wordpress uses Template Page
My web: quanghong.vn URL demo: https://quanghong.vn/test-page/
Values in <head> are passed into <body> wordpress uses Template Page.
The code I used is completely correct!! I don't ...
0
votes
0
answers
23
views
insert data in database return 404 error in WordPress
I'm trying to insert simple form in database trough ajax without refreshing the page in Wordpress.
For some reason when I click on submit button I've got that the page isn't found - 404 error.
I have ...
0
votes
0
answers
13
views
How to create a temporary page to host an instance of a game with wordpress API
I am using wordpress hosting for an online game website that I am creating for fun. I would like to create a temporary page (i.e. www.game.com/temp-game) to host the game when a user starts a game, ...
0
votes
0
answers
12
views
How to show proper alt text using the default WordPress Gutenberg block?
I am having issues showing the default alt text. For example, my images in a WordPress post show up with the "title + number" rather than the original alt text I set in the image. For ...
1
vote
1
answer
69
views
WP Nonce as URL param after successful login
Context:
A simple Vanilla JS SPA wrapped in and served via WP, as a custom WP template (the template page only contain custom code, without any WP headers, etc.).
Purpose
Even if the user is already ...
1
vote
0
answers
11
views
Issue with CMB2 plugin field type “file”
I used below code for upload file from front end but when I update the form it disappear and not shown on the screen where I am displaying it. Can you help me? I would be very thankful for your ...
0
votes
0
answers
15
views
WordPress 6.3, Navigation Menu has been created but I am unable to select it in Elementor where I want to select menu
In the latest WordPress 6.3 update, I've encountered an issue with the navigation menu integration within Elementor. Despite having successfully created a navigation menu, I'm currently facing ...
0
votes
0
answers
22
views
Deleted images still appear
I utilize the Elementor Pro plugin to upload images for showcasing within a slider on my website. However, I've encountered a perplexing issue: even after deleting certain images and saving the post, ...
0
votes
1
answer
47
views
WordPress database error: [Table 'wp_users' already exists]
I cant accsess the wordpress website that I've already submitted on my localhost
Although I have already submitted the website I cant access it with "http://localhost/saargolpurmohamad.ir" ...
0
votes
0
answers
29
views
One subcategory to multiple category
I am struggling to add one product subcategory to multiple main categories and until now i have no found for this point.
I want to have the following:
Category 1
Subcategory 1
Subcategory 2
...
0
votes
1
answer
75
views
Custom CSS in Wordpress works fine, but if I add a class to the Advanced->Additional CSS in the block editor, it is ignored
I am working with a client who has a custom Wordpress theme built by an agency. If I add Custom CSS in Appearance->Customizer (e.g. to override an existing style) then it works perfectly. However, ...
1
vote
1
answer
24
views
Custom Search in Wordpress adding random strings in brackets each side in query
Hi I am trying to create a custom search/filter for Learndash. I am displaying a custom grid of courses and we have enough courses now where we need to provide additional functionality to search them.
...
0
votes
0
answers
31
views
How to create download page with countdown in wordpress?
I'm working on a WordPress project and aiming to create a download page similar to "APK Material Download" with a countdown timer before users can access the download link. I've explored ...
0
votes
1
answer
36
views
Wordpress nested (child) page with custom template
I want to achieve that I can have this url structure for the page '/category/{specific-category)'. So I created category as parent page and then the specific category page as nested page.
I created a ...
0
votes
1
answer
41
views
Why I am Getting Only One Post and Not All Posts by IDs
I try to display posts by IDs on a page on Wordpress, the posts IDs are getten from a metabox value, i tried with this code:
<div class="grve-row grve-bookmark">
<?php
// ...
0
votes
0
answers
72
views
Send information from elementor form to database with the code snippets
i am trying to send elementorpro form data to mysql database. the code i am using here is
add_action( 'elementor_pro/forms/record', function( $record, $ajax_handler ) {
$raw_fields = $record->get( '...
0
votes
0
answers
40
views
Favicon not showing in wordpress theme
I'm new to Wordpress Development and trying to learn some customization. My favicon is not currently showing although I've added a folder named assets which contains an image favicon.ico in my theme ...