Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ppwuq4

    (@ppwuq4)

    Ok so when I input

    <a href="yourpdfurl">HECO Line Sheet Download</a

    just as you described above it did add a link to the header on all pages. However, when I click it it does not open the pdf file in the same tab immediately. If I “right Click” and open tab in new window it will open a new tab and load the PDF just fine.

    Also it is not placed under the Savannah, GA (678) 956-3100 as I wanted it to look uniform. Any suggestions? I can get you all of my coding for anything you want if it will help us.

    Any suggestions on how to make it clickable with out having to right click and open?

    Also I did not know where to place the <div id=”header-links”>

    I am still learning. Sorry for the inconvenience. I really appreciate your help.

    Here is my coding for the section we have been working in.

    <!– main wrapp starts–>

    <header id=”header”><!–header starts –>

    <div class=”container”>
    <div id=”header-top”> ” id=”logo”>
    <?php if (isset($smof_data[‘logo_upload’]))

    if ($smof_data[‘logo_upload’]!=”)

    { ?>
    <img src=”<?php echo $smof_data[‘logo_upload’]; ?>” />
    <?php

    }

    ?>

    <div id=”header-links”>
    <?php

    if( $enable_social != 0 ):

    ?>
    <ul class=”social-icons header”>

    <!– Social icons –>

    <?php if( $social_twitter != null ):?>
    <li class=”twitter”>” title=”Twitter” target=”_blank”><i class=”icon-social-twitter”></i>
    <?php endif; ?>
    <?php if( $social_facebook != null ):?>
    <li class=”facebook”>” title=”Facebook” target=”_blank”><i class=”icon-social-facebook”></i>
    <?php endif; ?>
    <?php if( $social_googleplus != null ):?>
    <li class=”googleplus”>” title=”Google+” target=”_blank”><i class=”icon-social-gplus”></i>
    <?php endif; ?>
    <?php if( $social_pinterest != null ):?>
    <li class=”pinterest”>” title=”Pinterest” target=”_blank”><i class=”icon-social-pinterest”></i>
    <?php endif; ?>
    <?php if( $social_linkedin != null ):?>
    <li class=”linkedin”>” title=”Linkedin” target=”_blank”><i class=”icon-social-linkedin”></i>
    <?php endif; ?>
    <?php if( $social_dribble != null ):?>
    <li class=”dribbble”>” title=”Dribbble” target=”_blank”><i class=”icon-social-dribbble”></i>
    <?php endif; ?>
    <?php if( $social_skype != null ): ?>
    <li class=”skype”>/” title=”Skype” target=”_blank”><i class=”icon-social-skype”></i>
    <?php endif; ?>

    <?php

    endif; // enable_social

    $enable_header_phone_number=(int)$smof_data[“enable_header_phone_number”];

    if ($enable_header_phone_number)

    {

    ?>

    <p>
    <h4>Raleigh, NC:?<span>(678) 956-3100 </span>
    Savannah, GA:?<span>(912) 660-5601</span> </h4>
    <a href="https://www.hollisequipment.com/wp-content/uploads/2014/09/HECO-Linesheet-Ric-Hollis.pdf">Ric’s Line Sheet Download
    </p>
    <?php } ?>
    </div>
    </div>
    </div>
    <div id=”main-navigation” class=”fixed”><!–main navigation wrapper starts –>

    Thread Starter ppwuq4

    (@ppwuq4)

    How interesting….

    In chrome browser everything works great with the pdf plugin you suggested.

    I opened firefox and it does not work. It claims to work with firefox!!

    Thread Starter ppwuq4

    (@ppwuq4)

    Barnez,

    I will say that it does display the PDF now.

    However it is not what I am looking for.

    I want a blue clickable button that opens the pdf in the same tab.

    If you have any idea how to do that with the plugin you suggested please let me know.

    Other than that. Back to the drawing board.

    Thank you so much for trying to help me.

    Edit: well this might be starting to grow on me…. however I’m not sure I can make the it lay out the way I want it to on all the other pages I have. If you have any suggestions to integrate the blue button I would still like to figure out how to get that working just in case.

    Thread Starter ppwuq4

    (@ppwuq4)

    Sorry when i opened the site in firefox it still gave me the same result. I have a friend who confirmed the same issue i am experiencing.

    the buttons use to work.

    I forgot to mention the goal is to click the button and have it open the pdf on the same page. Not download it to your computer unless you want to after it loads.

    I have updated all of my plugins.

    and again the code I have is below

    <center><a class=”button color small round” href="https://www.hollisequipment.com/wp-content/uploads/2014/09/Flow-South-North-Port-Line-Sheet.pdf" target="_self">Line Sheet</a>

    <img src=”https://www.hollisequipment.com/wp-content/uploads/2014/09/NPV-Line-Sheet.png&#8221; alt=”Line Sheet PNG” width=”684″ height=”880″ class=”aligncenter size-medium wp-image-2862″ />

    Thread Starter ppwuq4

    (@ppwuq4)

    Barnez,
    
    Thanks for the quick reply.
    
    It is not the png files I am having issue with. 
    
    The buttons are suppose to link to a pdf file I have uploaded.
    
    If you click on a button that I have linked to an outside URL it works fine.
    
    Example: https://www.hollisequipment.com/chemical-industry/ "click the top button that is labeled "Electron Machine Website" This will take you to an outside URL. My issues is linking to uploaded PDF's.
    
    The images are no issues as you can see pictures below each button located on the page: https://www.hollisequipment.com/north-port/
    
    Any other suggestions?

    <p><center><a href="https://www.hollisequipment.com/wp-content/uploads/2014/09/Flow-South-North-Port-Line-Sheet.pdf">Line Sheet</a>

    <img src=”https://www.hollisequipment.com/wp-content/uploads/2014/09/NPV-Line-Sheet.png&#8221; alt=”Line Sheet PNG” width=”684″ height=”880″ class=”aligncenter size-medium wp-image-2862″ />`

    Thread Starter ppwuq4

    (@ppwuq4)

    I found the culprit soon after I posted.

    The iThemes security plugin was causing problems. I went into cPanel and manually deleted the plug-in. The login URL immediately began to work. I reinstalled the plugin again it immediately kicked me out to the main site.

    I researched the issue and found that multiple people are also experiencing the same problem.

    Thank you for taking time to respond.

Viewing 6 replies - 1 through 6 (of 6 total)