Hoi Sze Lam
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Home page randomly redirects to another pageThanks @mercime for this followup, I managed to get the issue solved through the Google Webmaster forum after all – it was Google Analytics content experiments that was causing the issue.
Thanks for your answer either way.
Cheers,
Hoi-SzeForum: Fixing WordPress
In reply to: Facebook unable to pull blog post image from siteSo I’ve come up with a temporary fix to the issue using the Facebook URL Debugger tool:
For more information refer to: How to get Facebook to pull large images from site for sharing. https://www.inkth.com/how-to-get-facebook-to-pull-large-images-from-site-for-sharing/
This is a temporary fix and requires more work so if anyone has a permanent fix for issue 2, that would be appreciated!
Thanks,
Hoi-SzeHi Viruthagiri,
Thanks for getting back to me and going to all the trouble of creating a child theme for me. It’s really appreciated.
Though I have tested out your child theme but the installation shows up with an Internal Server Error, I proceeded to ask my webhost about the issue and they said the file is corrupt.
I understand that it’s usually quite a simple process.
Anyway, I’ve chosen I paid theme for now, let me know when you update the footer in the theme updates and I may give the starter pack another go.
Thanks so much for your help!
Best,
Hoi-SzeP.S. When you visit the site, sometimes it links back to the old Sydney theme – if you could let me know how this could be fixed that would be much appreciated.
You need to reload the site several times before it hits the right homepage.
Thanks Andrew, haven’t created a Child Theme yet, good point to get that going! You’ve been great.
Cheers,
Hoi-SzeHi @atlas_gondal and @tsuzan1
Thanks for getting back to me so quickly.
I have fixed the problem by putting this code in functions.php
function register_my_menus() { register_nav_menus( array( 'footer-menu' => __( 'Footer Menu' ), 'social-menu' => __( 'Social Menu' ) ) ); } add_action( 'init', 'register_my_menus' );
Followed by this code in footer.php
<div class="copyright"> <div class="container"> <ul> <div class="pull-left" style="height:30px; width:300px; background-color:#202020;"> <?php echo esc_attr( get_theme_mod( 'dt_copyright_text', DT_COPYRIGHT_TEXT ) ); ?> </div> <div class="pull-right" style="height:30px; width:300px; background-color:#202020;"> <?wp_nav_menu( array( 'theme_location' => 'footer-menu', 'container_class' => 'footer_menu_class' ) ); ?> </div> </div> </div> </ul> </footer>
Do you have any idea how to get my footer-menu to align with the Copyright text in the same row and within the container?
The Directory Starter themes original footer links do not work even after adjusting it in Appearance > Menus and Customiser.