-
-
Hello.
I had recreated the header area (shown in screenshot) a while ago, but today, the Widget Area that has the contact info across from the logo, changed to the Flickr Widget. I have tried to go back in my revisions and restore it, and all my other revisions come back, but the Flickr Widget remains.
I went to Customize to change it back to the Specular Child Widget Shortcode, however, I don’t know what was written in there to create the Icons and text?
Can you provide me the code or text that should be there to recreate that section as it is shown in the screenshot attached? Thanks!
Courtney I RHM
-
-
Hello,
I do not see any attached image, please check again. You can upload theme files again to restore theme’s default features. We strongly recommend to always save a backup of current site.
Best regards!
-
Hi Mihaila,
If you follow this link you will see the screenshot: https://pasteboard.co/8FnbJoI.jpg The section I mean Location, Telephone Number, and eMail address. Can you tell me how to recreate that? I know its in Customize, Widgets, Header Widgetized Area, and then Specular Child Widget Shortcode. In the demo content there was code written in there.
The site is almost done, so I certainly am not going to restore the theme’s default features.
Thanks for the help! Courtney
-
Hello,
Please add this shortcode:
[contact_information tel="+114 554 888" addr="20 St Street, New York" email="[email protected]"]
into ‘After Navigation Area’ section in Appearance > Widget.
Screenshot.Best regards!
-
-
Hi,
Another question about this section: Can I have the eMail address be clickable, so it opens an eMail window? I tried adding the href tag inside the brackets next to the eMail section but it didn’t work.
Is there a way to do this?
Thanks!
- This reply was modified 9 years, 6 months ago by RedHouseMedia.
-
Also, is there a way to change the “Our Locations” to say “Our Location”, since I only have one address to list?
Thanks!
-
Hello,
Please go to file specular\includes\register\register_shortcodes.php and find these lines:
$output .= '<div class="contact_information">'; if(!empty($addr)): $output .= '<dl class="item dl-horizontal addr">'; $output .= '<dt><i class="icon-location-arrow"></i></dt>'; $output .= '<dd><span class="title">'.__('Our Locations', 'codeless').'</span><p>'.$addr.'</p></dd>'; $output .= '</dl>';
Change here the text you want to use. To make email clickable, please find this line:
$output .= '<dd><span class="title">'.__('Email Address', 'codeless').'</span><p>'.$email.'</p></dd>';
replace with this:
$output .= '<dd><span class="title">'.__('Email Address', 'codeless').'</span><p><a href="mailto:'.$email.'">'.$email.'</a></p></dd>';
Best regards!
-
Hi Mihaila,
Is there a way I can do this in the editor under Appearance?
Maybe that is what you mean, but I can not find the file specular\includes\register\register_shortcodes.php you are referring to. I am guessing I need FTP access to edit that?
Let me know, thanks!
-
Hello,
Yes, if you can not see a file under Appearance > Editor, then you have to access it via ftp. That’s why we often ask for the ftp credentials too.
Best regards!
-
-
You must be logged in to reply to this topic.