Amit Yadav
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: remove site title on main page onlyYou can do like below in header.php
<?php if (!is_front_page()) : ?>
<h1><?php bloginfo(‘name’); ?></h1>
<?php endif; ?>
Or via css
.home h1.site-title { display: none; }Forum: Fixing WordPress
In reply to: Fatal error: Cannot redeclare _resolve_home_block_template()Hi Check for Duplicate Declarations ,
i think you are using this (Cannot redeclare _resolve_home_block_template()) twice you have previously declared?some where so please rename the function and it’s hook if have.
or you can use like this below
if (!function_exists(‘_resolve_home_block_template’)) { function _resolve_home_block_template() { // Function code here } }
I hope it work.Forum: Fixing WordPress
In reply to: how we resolve critical error on this websiteHi it’s seem working fine now. i have checked wp-admin url.
Forum: Fixing WordPress
In reply to: Fatal errorHI, truffikidsro
I think some files and some codes are missing in your woodmart theme
bcz this class is not found (WC_Product_Cat_List_Walker)
So you can replace your theme file from your backup file if you have.Forum: Fixing WordPress
In reply to: Color Change / Remove Page IndexHI,
go to your admin and edit page this inline style in your page/post editor
Just edit this post (https://gregorykramerstudio.com/wp-content/uploads/2015/01/NF2022_STICKER-2-400×400.jpg)
you can find by image and check there in editorForum: Installing WordPress
In reply to: 二つ目のwordpressのインストールについてやあ、
抽出オプションまたはここで抽出オプションがあることを確認できますかForum: Fixing WordPress
In reply to: Menu colors on home screenHi,
You can try with separate class for home page like you can use class from body the you can apply custom css for font for home page.Forum: Fixing WordPress
In reply to: Color Change / Remove Page IndexHi,
I have check your site there is inline css like below<span style="color: #ffffff;"> like this so check your editor and remove this color from here then apply your css custom or via backend(theme setting option)
Forum: Fixing WordPress
In reply to: Cannot redeclare _wp_menu_outputHi,
?_wp_menu_output()? function is already declared in your site try to rename this function or check condition if function is exist likeif( !function_exists('_wp_menu_output')) {
}
I hope it help
Forum: Fixing WordPress
In reply to: menu not shown up on mobile viewHi,
Add this css in mobile device.
`.dropdown-menu {
position: absolute;
z-index: 1000;
display: block !important;
min-width: 10rem;
padding: 0.5rem 0;
margin: 0;
font-size: 1rem;
color: #212529;
text-align: left;
list-style: none;
background-color: #fff;
background-clip: padding-box;
border: 1pxsolidrgba(0,0,0,.15);
border-radius: 0.25rem;
}div.responsive-menu-wrapper select {
width: 100%;
height: auto !important;
}Your menu will be display.
Forum: Fixing WordPress
In reply to: Возникла критическая ошибкаGo to your root folder via Ftp or cpanel
There is a file wp-config.php and find this define( ‘WP_DEBUG’, false );
and make it like define( ‘WP_DEBUG’, true ); then check the error
Forum: Fixing WordPress
In reply to: Возникла критическая ошибкаHi,
This is php code error.
Check your log file or enable debug mode true then you will see the error.
or deactivate your updated plugin and check.
Forum: Fixing WordPress
In reply to: I can`t resolve trobuleshooting problem.Hi,
Go to wp-config.php file and make debug true then you can see your error.
or check the error log.wp-config.php file located at root folder.
Forum: Fixing WordPress
In reply to: Fatal ErrorHI,
Go to below path
/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.phpand find the below line
$method = $reflection->getMethod( ‘get_site_editor_type’ );(content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:47)
and comment it above line and use like this:
//$method = $reflection->getMethod( ‘get_site_editor_type’ );
if ( $class_name === $method->class ) {
return static::get_site_editor_type();
}Hi,
Use like this,
<?php global $post; if( $post->ID == 123) { ?> /*your code goes here*/ <?php } ?>
- This reply was modified 2 years, 7 months ago by Jan Dembowski.