New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Contact Us Title not displaying on front end. #181
Comments
@giucu91 - please see this. |
This worked for me! |
Also, removing "general_" from the address and customer support titles solved the issue for these variables. |
@thiagoth23 Yeah, it will be fixed in the next version. 👍 |
@laranz or @thiagoth23 Could you please describe in detail how to fix it in the meantime? Thanks so much! |
@LuigiBella it's been a while since I last did this. Do you have the front-page-contact-us.php original file on yourself? Attach it here and I can take a look. |
@thiagoth23 Thanks so much for replying, I managed a work around but would love to find why it broke in the first place. To get the About and Contact Us titles to display I went to the Customizer and changed the default text from About to "- About -", I did the same thing for the Contact Title. Here is the original file from version 1.0.35; version 2.0 brought a whole other array of issues such as breaking the customizer, removing the background of the contact form, and changing the footer so I went back to version 1.0.35 and can get the customizer working as long as I disable the Illdy Companion plugin: |
Yikes! I hate it when a newer version screws up more than the previous one! Uhm, let's see! Okay, so here's lines 24-28:
And 42-46:
FIX What I did the last time was remove the "general_" prefix from WITHIN the get_theme_mod method, NOT the variable name! See: BEFORE:
AFTER:
So here's your file with the "general_" prefix removed from lines 24-28, 42-46. Try it and let me know if it worked. |
@thiagoth23 Once again, thank you! and you can see the website with the original script here: bradfordcowork.com |
That's awkward. It worked for me. Have you tried refreshing your cache? Try
shift + F5, a new machine or a private tab.
|
In line #24 and #42 in /wp-content/themes/illdy/sections/front-page-contact-us.php
The title variable is wrongly getting, it should be
$general_title = get_theme_mod( 'illdy_contact_us_title', __( 'Contact us', 'illdy' ) );
and
$general_title = get_theme_mod( 'illdy_contact_us_title' );
We had a word general.
The text was updated successfully, but these errors were encountered: