Tagged: gallery, header, header image title, posts
- This topic has 21 replies, 2 voices, and was last updated 4 years, 6 months ago by Skandha.
-
AuthorPosts
-
April 26, 2020 at 11:19 am #244182Ryanb18Participant
Hello
I have created a gallery page on my website which has all my work on it, however the header image banner says ‘Archives’, how do I make this say ‘Gallery’?
Kind Regards
RyanApril 27, 2020 at 12:39 am #244268SkandhaParticipant@ryanb18: Hello Ryan,
Can you please post in your site URL so that I can look into the issue?Kind Regards,
SkandhaApril 27, 2020 at 3:11 pm #244412Ryanb18ParticipantHello Skandha
It is my mothers site which i have been putting together for her: suebrowncrafts.com
it is this page that i would like to change the header image of so that it says gallery rather than archives: https://suebrowncrafts.com/blog/
Kind Regards
RyanApril 28, 2020 at 3:59 am #244515SkandhaParticipant@ryanb18: Hello Ryan,
To change the text Archives you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization otheriwse I suggest you to hire a customizer to get it done.Kind Regards,
SkandhaApril 30, 2020 at 2:32 pm #244961Ryanb18ParticipantHello Skandha
I am pretty new to this therefore have no previous experience with child themes. What do child themes do?
Kind Regards
RyanMay 1, 2020 at 1:01 am #244998SkandhaParticipant@ryanb18: Hello Ryan,
First of all you will need to create a child theme.
You can use our plugin Generate Child Theme to create child theme.
Install and Activate the plugin
Then,
Go to => Dashboard => Generate Child Theme => Select Parent Theme as Izabel and fill in remaining fields and Click on Generate.This will create and activate the child theme.
Now,
Go to => Child Theme Folder => functions.php and add the following Code.function izabel_header_title( $before = '', $after = '' ) { if ( is_front_page() ) { $header_media_title = get_theme_mod( 'izabel_header_media_title', esc_html__( 'Furniture Store', 'izabel' ) ); if ( $header_media_title ) { echo $before . wp_kses_post( $header_media_title ) . $after; } } elseif ( is_singular() ) { if ( is_page() ) { if( ! get_theme_mod( 'izabel_single_page_title' ) ) { the_title( $before, $after ); } } else { the_title( $before, $after ); } } elseif ( is_404() ) { echo $before . esc_html__( 'Nothing Found', 'izabel' ) . $after; } elseif ( is_search() ) { /* translators: %s: search query. */ echo $before . sprintf( esc_html__( 'Search Results for: %s', 'izabel' ), '<span>' . get_search_query() . '</span>' ) . $after; } elseif( class_exists( 'WooCommerce' ) && is_woocommerce() ) { echo $before . esc_html( woocommerce_page_title( false ) ) . $after; } elseif ( is_home() && ! is_front_page() ) { echo $before . esc_html( 'Blog' ) . $after; } else { the_archive_title( $before, $after ); } }
Now, Replace the text
Blog
in the code with the text you want to show up in your Blog page as the title.
Let me know if this works out!
Kind Regards,
Skandha
Kind Regards,
SkandhaMay 3, 2020 at 2:03 pm #245310Ryanb18ParticipantHi Skandha
Where do I locate the child theme folder once i have created and activated the child theme?
Kind Regards
RyanMay 3, 2020 at 2:07 pm #245311Ryanb18ParticipantHi Skandha
A lot of the work i had done with header images and text has reverted back to the theme defaults, do I have to re-do them all or is this just temporary whilst sorting out the ‘Archives” issue?
Kind Regards
RyanMay 4, 2020 at 1:47 am #245350SkandhaParticipant@ryanb18: Hello Ryan,
You will need to migrate your customizer settings from the parent theme to the child theme. For that you can use our plugin Catch Import Export.Install and Activate the plugin.
Then,
Activate your parent theme. Export the customizer settings.And then,
Activate your child theme. Import the customizer settings you exported earlier.For instructions follow this link and then check out the Instructions tab.
Let me know if this solves your issue.
Kind Regards,
SkandhaMay 5, 2020 at 3:36 pm #245567Ryanb18ParticipantHello Skandha
Getting there slowly with this. I have now exported the customiser settings of the parent theme and imported them into the child theme. I am now back to the part where I need to find the child theme folder and put the code in the functions.php section.
Where do I find the child theme folder?
Thank you for all your help with this, very much appreciated
Kind Regards
RyanMay 5, 2020 at 11:40 pm #245606SkandhaParticipant@ryanb18: Hello Ryan,
The child theme folder will be under your WordPress folder. Inside the folder where you have installed WordPress you will find wp-content/themes.Let me know if you are still having issue finding the child theme.
Kind Regards,
SkandhaMay 11, 2020 at 10:12 am #246308Ryanb18ParticipantHello Skandha
I have located wp-content/themes folder on my desktop (is this where you mean), but it doesn’t have a folder for the parent or child Izabel theme…? Do I need to create them?
Kind Regards
ryanMay 12, 2020 at 1:37 am #246396SkandhaParticipant@ryanb18: Hello Ryan,
No, I meant the wp-content/themes folder in the web server.. I can do it if you provide me your FTP credentials through email.Let me know what you would like to do.
Kind Regards,
SkandhaMay 14, 2020 at 4:02 pm #246683Ryanb18ParticipantHello Skandha
I followed instructions on EasyWP which advised downloading FileZilla to gain access to the folders. I used my SFTP access credentials to gain access and found the izabel child theme folder and the functions.php file however I can’t open the file in order to amend the code…?
Alternatively I installed the ‘Theme Editor’ plug in and copy & pasted the code you sent me into the functions.php file amending ‘Blog’ to ‘Gallery’ and nothing happened…
Kind Regards
RyanMay 15, 2020 at 4:51 am #246727SkandhaParticipant@ryanb18: Hello Ryan,
I will need to look into your site to debug the issue. I will contact you shortly through email.Kind Regards,
SkandhaMay 16, 2020 at 6:27 am #246846Ryanb18ParticipantHello Skandha
i’ll email you my log in details
Thank you
RyanMay 16, 2020 at 6:39 am #246850Ryanb18ParticipantHello Skandha
I have just checked my mothers site, whatever I did the other day seems to have worked (i guess it took a while to update?), The Blog/Archives now has the heading of ‘Gallery’.
Kind Regards
RyanMay 16, 2020 at 8:39 am #246862SkandhaParticipant@ryanb18: Hello Ryan, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/izabel/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good weekend. 🙂Kind Regards,
SkandhaMay 16, 2020 at 9:16 am #246868Ryanb18ParticipantHello
I now have the issue of the header saying ‘Gallery’ as well as what I think is the section title underneath (inspect element) saying ‘Gallery’ as well. I want to change the section title to something else (‘…everything under one roof’) or if that is not possible I would like to remove it completely.
I have copied the line of code from inspect element into the theme editor plug in I downloaded the other day but it hasn’t changed (maybe it takes a while to update?)
Kind Regards
RyanMay 16, 2020 at 11:04 am #246872SkandhaParticipant@ryanb18: Hello Ryan,
Thank you for your wonderful review.To change the section title in the blog page to something else
Go to => Appearance => Customize => Theme Options => Homepage/Frontpage Options => Recent Posts Heading => Edit the text and Publish.Let me know if this works out!
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Why does my gallery/posts header say ‘Archives’?’ is closed to new replies.