Ganesh Dahal
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: Beta 2: Blank White Preview PanelHi @costdev, thanks for the for response. Yes the issue was same. In my case the issue got resolved in Beta 3, after some time. Until then, I reverted back to Beta 1. I don’t see the issue in my Beta 4 testing. I hope it helps. Thanks
Forum: Alpha/Beta/RC
In reply to: Beta 2: Blank White Preview PanelJust to follow up, I just downloaded the new Beta3 and re-tested. I am observing the same issue as reported earlier.
Anders,
@anlino, I am a great fan of your theme Twenty Twenty. This is another lovely theme. Like @chzumbrunnen I would have also liked to have an optional horizontal navigation on desktop. I am hoping you might still consider including the option in your next update. Very impressive styling, Great job!
Thank you- This reply was modified 3 years, 8 months ago by Ganesh Dahal.
Forum: Plugins
In reply to: [Gutenberg] Unable to Post/ Edit Post with Block EditorI am too having similar problems after upgrade to 9.5 and 9.5.1.
Throws the following error:
PHP Fatal error: Uncaught Error: Call to undefined function gutenberg_use_widgets_block_editor() ... wp-content/plugins/gutenberg-9.4.1/gutenberg.php:128
I too had had to disable and revert back to previous version.
Thank you
Justin Tadlock has a blog post that describes how to use align wide and align full classes that might help you. Good Luck!
@shireling. Thank you very much and I really appreciate going beyond your general support.
In one of my previous learning project, I had added similar functionality learning from icon-wp theme adding snippets in headers of
page.php
&single.php
. I found the function used in this theme more neat way of adding functionality. That is why I was very curious and I will explore further by trial & error and hopefully I would be able to achieve by modifying this function.I am marking this as resolved for now. I have one more question on logo which I have posted in a new thread.
@shireling, with my rudimentary knowledge of PHP I was trying to modify the `shoreditch_background_image()’ function located in inc/extra.php to display header image in pages & single post without featured image.
Preferably, I would like to have an background image uploaded in media uploads folder and following snippet (eg. using header image) is for proof of concepts only. I modified the function as follows:
function shoreditch_background_image() { if ( has_post_thumbnail() ) : $image = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'post-thumbnail' ); if ( ! is_array( $image ) ) { return; } endif; // header image check. printf( ' style="background-image: url(\'%s\');"', esc_url( $image[0] ) ); if ( get_header_image() && ( is_single() || is_page() ) ) : ?> <img src="<?php header_image(); ? />" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="" class="background-image"> <?php endif; // End featured/header image check.
The code appear to be OK but I get undefined variable image error on the posts where there is no featured image. I spend hours in google search looking for answers but in vain.
My guess is – the error is coming from CSS style but I couldn’t get around to fix the error.
Any help will be appreciated.
Forum: Themes and Templates
In reply to: [Shoreditch] Navigation & toggle buttonHi Chad,
Thank you very much for the CSS snippets. As an aspiring theme developer, I would like to tweak (customize) theme with CSS & code snippets rather than using plugins.I plan to study twenty fifteen theme & compare with Shoreditch theme to figure out the differences and understand what is going on. I like the Shoreditch theme very much except few things (buttons) & content display etc.
Once again many thanks for your time and appreciate for your help.
Forum: Themes and Templates
In reply to: [Shoreditch] How to Make Single Post Display with No-sidebar@shireling, Thanks for the snippets and trick to customize. I have not tested in my test site yet.
I have one more issue on navigation which I have started in a new thread.
@anevins, Thank you & Happy New Year! No worries I plan to spend some time learning all the components of this theme. For now I am fine.
@anevins, Thanks. This seems to work better except I would have liked to keep the site branding text at the lower bottom. Any help appreciated!
Forum: Themes and Templates
In reply to: [Shoreditch] How you add slide show to blogsHello! After playing around I figured out! Its nice feature. A great theme indeed!
@schmid333, Thank you. I got similar results like yours. In your site, when I
varied the media height up to 450px (line 58 your style sheet) the branding text (title & tagline) looks better – stays lower bottom. I don’t get that in my test site. Otherwise it works!@anevins, Thanks. Image height is cropped OK which I can adjust but it requires site title & tagline (site-branding) adjustment – to bring just like in blog pages. How to adjust that? Thank you
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Sub Menus on Home Page@anevins, I see. Thank you very much. I will try the codes & if I have issues I will create a new post thread.