• Resolved cessanfrancsico

    (@cessanfrancsico)


    Hyperlinks aren’t working.

    When I try to enter a hyperlink into a page, using the Text field, for example:

    <a href="http://www.apple.com>Apple</a>

    The word “Apple” appears on the page but it is unclickable.

    I’ve tried doing this manually and using the hyperlink buttons.

    Any suggestions?

    thanks

Viewing 15 replies - 1 through 15 (of 22 total)
  • Theme Author Brian Harris

    (@zgani)

    You are missing the closing ” marks on that code – works fine on my end with the code as..
    <a href="http://www.apple.com">Apple</a>

    Regards,
    Zulf

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Thanks!

    Yeah, I noticed that too. I corrected it but I am still not getting working hyperlinks.

    However, I did do some more troubleshooting and found that my problem is from a custom page template that I created.

    I wanted the pages, with the exception of the homepage, to not show any sidebars. I was able to achieve that with the custom page template but for some reason my hyperlinks are now not working.

    Hmmmmm…

    Any input or ideas would be greatly appreciated.

    Thanks.

    Theme Author Brian Harris

    (@zgani)

    If you’d like to share the template code via pastebin I’ll be more than happy to have look at it and see what the cause is.

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Thanks!

    I just pasted the code in pastebin. Let me know if you do or don’t get it.

    Thanks!

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    I changed the class “site-content” to “custom-site-content” and in a child-theme wrote this:

    .custom-site-content {
    width: 100%;
    float: left;
    }

    I did this because I wanted the text to fill the entire page.

    Thanks.

    Theme Author Brian Harris

    (@zgani)

    Can I have the link please?

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Theme Author Brian Harris

    (@zgani)

    I’m getting the “This website is currently under development.” page with that link.

    Need the direct link to the pastebin.

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Sorry. Try it now.

    Theme Author Brian Harris

    (@zgani)

    Still not being redirected to pastebin – just a page on the site with Simon & Turtle link.

    Lets try something else. Please create an account here and the drop a zip file of the templates in my dropbox: http://wpdefault.com/drop-share/

    Taking a break for a few hours but I’ll check on it as soon as I’m back online and then get back to you.

    Zulf

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Thanks!

    I just created an account in pastebin and posted the template code.

    Let me know if you see it.

    Thanks.

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Unfortunately I am unable to register and set up an account at that link. But I did setup a pastebin account and I posted the code for the custom page template.

    Let me know if you need anything else.

    Thanks.

    Theme Author Brian Harris

    (@zgani)

    Sorry but I can’t get to the code unless you paste the pastebin link here

    Or you can give your profile that should look like this: http://pastebin.com/u/ridizain and I’ll try and get to the code from there if its not marked private.

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    <?php
    /**
     * Template Name: Custom Width Page
     *
     *
     * @package Ridizain
     * @since Ridizain 1.0
     */
    
    get_header(); ?>
    
    	<div id="primary" class="content-area">
    		<div id="content" class="custom-site-content" role="main">
    			<?php
    				// Start the Loop.
    				while ( have_posts() ) : the_post();
    
    					// Include the page content template.
    					get_template_part( 'content', 'page' );
    
    					// If comments are open or we have at least one comment, load up the comment template.
    					if ( comments_open() || get_comments_number() ) {
    						comments_template();
    					}
    				endwhile;
    			?>
    		</div><!-- #content -->
    	</div><!-- #primary -->
    </div><!-- #main-content -->
    
    <?php
    get_footer();
    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Additionally, here is the pastebin link:

    http://pastebin.com/AxAmuHvd

    Thanks for your help

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Hyperlinks Don't Work’ is closed to new replies.