colin_newell
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [papyrus] [Theme: papyrus] Twitter Not WorkingYou are welcome – here is the fix for the SIDEBAR section of code –
BEFORE
=======<!-- Twitter section starts here --> <div id="twitter_section"> <div id="twitter_update_list_1985"></div> <div id="twitter_follow"><p><a href="<?php if(!empty($papyrus_option['main']['twitter_id'])) {echo $papyrus_option['main']['twitter_id'];} ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter_follow.png" alt="Twitter" /></a></p></div> </div> <!-- Twitter section ends here -->
AFTER
=====<!-- Twitter section starts here --> <div id="twitter_section"> <div id="twitter_update_list_1985"></div> <div id="twitter_follow"><p><a href="https://www.twitter.com/<?php if(!empty($papyrus_option['main']['twitter_id'])) {echo $papyrus_option['main']['twitter_id'];} ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter_follow.png" alt="Twitter" /></a></p></div> </div> <!-- Twitter section ends here -->
Crude, but effective. I hope the THEME developer picks this up and polishes it off – GREAT free template!
Forum: Themes and Templates
In reply to: [papyrus] [Theme: papyrus] Twitter Not WorkingGo from
<li><a href="<?php echo $papyrus_option['main']['twitter_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter.png" alt="Twitter" /></a></li>
to
<li><a href="https://www.twitter.com/<?php echo $papyrus_option['main']['twitter_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter.png" alt="Twitter" /></a></li>
Crude, but it works great!
That is the HEADER social networking code in the Papyrus theme – great theme – but that was one small step that was missed.
Forum: Themes and Templates
In reply to: [papyrus] [Theme: papyrus] Twitter Not Working<li><a href="<?php echo $papyrus_option['main']['twitter_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter.png" alt="Twitter" /></a></li>
is an example in the header where the template missed the target.
get_template_directory_uri()
calls the WP URL – when it should be calling twitter.com/Forum: Themes and Templates
In reply to: [papyrus] [Theme: papyrus] Twitter Not WorkingYup – if you look at the code in PAPYRUS, the code for Twitter and facebook etc, pulls the WP URL and appends it to your twitter ID – which is clearly wrong – I was mucking with it but each of my attempts to fix broke the page – will fun it passed a WP guru tomorrow.