Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

adding a link in a wordpress footer

Options
  • 07-03-2012 12:55pm
    #1
    Closed Accounts Posts: 18,268 ✭✭✭✭


    I'm trying to add a href to my own site in the footer from http://imaalautoservices.ie

    How do I add it into the footer ? I've no idea about php.

    the current code is
    <div id="footer">
    <div id="foot">
    <?php
    $options = get_option('themezee_options');
    if ( isset($options) and $options <> "" ) {
    echo esc_attr($options); }
    ?>

    </div>
    </div>
    </div>
    <?php wp_footer(); ?>


    If anyone has other ideas on the site please share them.
    thanks


Comments

  • Registered Users Posts: 106 ✭✭business bloomer


    I'm trying to add a href to my own site in the footer from http://imaalautoservices.ie

    How do I add it into the footer ? I've no idea about php.

    the current code is
    <div id="footer">
    <div id="foot">
    <?php
    $options = get_option('themezee_options');
    if ( isset($options) and $options <> "" ) {
    echo esc_attr($options); }
    ?>

    </div>
    </div>
    </div>
    <?php wp_footer(); ?>


    If anyone has other ideas on the site please share them.
    thanks

    Just use HTML!

    <p>
    <a href="your link">This is the link description</a>
    </p>


  • Closed Accounts Posts: 18,268 ✭✭✭✭uck51js9zml2yt


    Just use HTML!

    <p>
    <a href="your link">This is the link description</a>
    </p>

    thanks. i got that working but am now trying to change the font colour but its not working

    <p align="right" font color="white">
    <a href="your link">This is the link description</a></font>
    </p>


  • Registered Users Posts: 106 ✭✭business bloomer


    thanks. i got that working but am now trying to change the font colour but its not working

    <p align="right" font color="white">
    <a href="your link">This is the link description</a></font>
    </p>

    <p align="right" font color="white">
    <a style="color:red" href="your link">This is the link description</a></font>
    </p>


  • Registered Users Posts: 16,413 ✭✭✭✭Trojan


    <p align="right" font color="white">
    <a style="color:red" href="your link">This is the link description</a></font>
    </p>
    

    May work, but it's not correct. You should be using CSS and semantic coding. Google that and read a few articles on it, come back and ask questions if you need to.

    Edit: here's somewhere to start.


  • Banned (with Prison Access) Posts: 36 mhkdeveloper


    Just go to footer.php file in your theme and add you href code in that.


  • Advertisement
  • Closed Accounts Posts: 18,268 ✭✭✭✭uck51js9zml2yt


    thanks folks.
    I got business bloomers mark up working.

    The semantic coding looks interesting. I'll take a look through it.

    Has anyone any ideas on how I might improve on the site ?


  • Registered Users Posts: 516 ✭✭✭omega42


    thanks folks.
    I got business bloomers mark up working.

    The semantic coding looks interesting. I'll take a look through it.

    Has anyone any ideas on how I might improve on the site ?

    your footer link is not working, its been directed to http://imaalautoservices.ie/dublinwebdesigns .

    There is also a small black square just above the home button in your header.

    You don't have any meta title on your page

    The gray frame around the text seems to be wider at the bottem that around the rest of the frame.

    Maybe thing about splitting car maint up into sub cat as there is a lot of txt there.

    Hope thhat helps

    Omega


  • Closed Accounts Posts: 18,268 ✭✭✭✭uck51js9zml2yt


    omega42 wrote: »
    your footer link is not working, its been directed to http://imaalautoservices.ie/dublinwebdesigns .

    There is also a small black square just above the home button in your header.

    You don't have any meta title on your page

    The gray frame around the text seems to be wider at the bottem that around the rest of the frame.

    Maybe thing about splitting car maint up into sub cat as there is a lot of txt there.

    Hope thhat helps

    Omega

    thanks for all that. I've most of the changes made. I was thinking of a drop down menu for each section on the maintenance page....or would you have any other ideas on what I could do?
    I got the footer link fixed. I had to use <p align="right" font color="white">
    <a style="color:red" href="http://www.your link">This is the link description</a></font>
    </p>
    thanks for all the help :D


  • Registered Users Posts: 953 ✭✭✭hearny


    You need to include http:// in the link, looks like you got it sorted anyway.

    e.g.

    <a href="http://www.dublinwebdesigns.com/&quot; ...>


  • Banned (with Prison Access) Posts: 36 mhkdeveloper


    hearny wrote: »
    You need to include http:// in the link, looks like you got it sorted anyway.

    e.g.

    <a href="http://www.dublinwebdesigns.com/&quot; ...>

    Please look at above post I think got the answer and problem was fixed.


  • Advertisement
  • Registered Users Posts: 241 ✭✭fcrossen


    Completely OT, but your site is loading *very* slow and is given 500 errors.

    I would not be happy with your hosting provider (boards.ie policy prevents me from naming).

    Get an Irish/UK/EU server. A VPS solution will perform best.


  • Closed Accounts Posts: 18,268 ✭✭✭✭uck51js9zml2yt


    it worked for me as stated above. Thanks for using my url:D


  • Closed Accounts Posts: 18,268 ✭✭✭✭uck51js9zml2yt


    fcrossen wrote: »
    Completely OT, but your site is loading *very* slow and is given 500 errors.

    I would not be happy with your hosting provider (boards.ie policy prevents me from naming).

    Get an Irish/UK/EU server. A VPS solution will perform best.
    Which site is slow?


  • Registered Users Posts: 241 ✭✭fcrossen


    Which site is slow?

    Both of them. Google for GoDaddy hosting reviews - their reputation for hosting isn't great sucks.

    Using Apache Bench to do a rough benchmark on 3 Wordpress sites, from an Irish IP address:

    imaalautoservices.ie:
    Server Software:        Apache/2.2.11
    Server Hostname:        imaalautoservices.ie
    Server Port:            80
    
    Document Path:          /
    Document Length:        16771 bytes
    
    Concurrency Level:      1
    Time taken for tests:   106.753809 seconds
    Complete requests:      50
    Failed requests:        0
    Write errors:           0
    Total transferred:      848400 bytes
    HTML transferred:       838550 bytes
    Requests per second:    0.47 [#/sec] (mean)
    Time per request:       2135.076 [ms] (mean)
    Time per request:       2135.076 [ms] (mean, across all concurrent requests)
    Transfer rate:          7.76 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:        5   11  23.8      7     172
    Processing:  1372 2123 1658.9   1599   10786
    Waiting:     1261 1992 1656.9   1488   10675
    Total:       1378 2134 1657.5   1605   10792
    

    dublinwebdesigns.com:
    Server Software:        Apache
    Server Hostname:        dublinwebdesigns.com
    Server Port:            80
    
    Document Path:          /
    Document Length:        8577 bytes
    
    Concurrency Level:      1
    Time taken for tests:   80.337530 seconds
    Complete requests:      50
    Failed requests:        0
    Write errors:           0
    Total transferred:      438000 bytes
    HTML transferred:       428850 bytes
    Requests per second:    0.62 [#/sec] (mean)
    Time per request:       1606.751 [ms] (mean)
    Time per request:       1606.751 [ms] (mean, across all concurrent requests)
    Transfer rate:          5.32 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:      156  166  31.9    158     343
    Processing:   977 1440 1078.5   1148    8193
    Waiting:      815 1259 1077.7    981    8030
    Total:       1134 1606 1078.9   1313    8362
    

    www.seeit.org on a modest VPS plan in the UK:
    Server Software:        Apache/2.2.3
    Server Hostname:        [url]www.seeit.org[/url]
    Server Port:            80
    
    Document Path:          /
    Document Length:        54517 bytes
    
    Concurrency Level:      1
    Time taken for tests:   11.6168 seconds
    Complete requests:      50
    Failed requests:        0
    Write errors:           0
    Total transferred:      2743950 bytes
    HTML transferred:       2725850 bytes
    Requests per second:    4.54 [#/sec] (mean)
    Time per request:       220.123 [ms] (mean)
    Time per request:       220.123 [ms] (mean, across all concurrent requests)
    Transfer rate:          243.41 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:       18   28  39.8     20     296
    Processing:   142  191 111.4    151     847
    Waiting:       26   34  31.6     28     243
    Total:        161  219 146.7    173    1143
    


  • Closed Accounts Posts: 18,268 ✭✭✭✭uck51js9zml2yt


    fcrossen wrote: »
    Both of them. Google for GoDaddy hosting reviews - their reputation for hosting isn't great sucks.

    Using Apache Bench to do a rough benchmark on 3 Wordpress sites, from an Irish IP address:

    imaalautoservices.ie:
    Server Software:        Apache/2.2.11
    Server Hostname:        imaalautoservices.ie
    Server Port:            80
    
    Document Path:          /
    Document Length:        16771 bytes
    
    Concurrency Level:      1
    Time taken for tests:   106.753809 seconds
    Complete requests:      50
    Failed requests:        0
    Write errors:           0
    Total transferred:      848400 bytes
    HTML transferred:       838550 bytes
    Requests per second:    0.47 [#/sec] (mean)
    Time per request:       2135.076 [ms] (mean)
    Time per request:       2135.076 [ms] (mean, across all concurrent requests)
    Transfer rate:          7.76 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:        5   11  23.8      7     172
    Processing:  1372 2123 1658.9   1599   10786
    Waiting:     1261 1992 1656.9   1488   10675
    Total:       1378 2134 1657.5   1605   10792
    
    dublinwebdesigns.com:
    Server Software:        Apache
    Server Hostname:        dublinwebdesigns.com
    Server Port:            80
    
    Document Path:          /
    Document Length:        8577 bytes
    
    Concurrency Level:      1
    Time taken for tests:   80.337530 seconds
    Complete requests:      50
    Failed requests:        0
    Write errors:           0
    Total transferred:      438000 bytes
    HTML transferred:       428850 bytes
    Requests per second:    0.62 [#/sec] (mean)
    Time per request:       1606.751 [ms] (mean)
    Time per request:       1606.751 [ms] (mean, across all concurrent requests)
    Transfer rate:          5.32 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:      156  166  31.9    158     343
    Processing:   977 1440 1078.5   1148    8193
    Waiting:      815 1259 1077.7    981    8030
    Total:       1134 1606 1078.9   1313    8362
    
    www.seeit.org on a modest VPS plan in the UK:
    Server Software:        Apache/2.2.3
    Server Hostname:        [URL="http://www.seeit.org"]www.seeit.org[/URL]
    Server Port:            80
    
    Document Path:          /
    Document Length:        54517 bytes
    
    Concurrency Level:      1
    Time taken for tests:   11.6168 seconds
    Complete requests:      50
    Failed requests:        0
    Write errors:           0
    Total transferred:      2743950 bytes
    HTML transferred:       2725850 bytes
    Requests per second:    4.54 [#/sec] (mean)
    Time per request:       220.123 [ms] (mean)
    Time per request:       220.123 [ms] (mean, across all concurrent requests)
    Transfer rate:          243.41 [Kbytes/sec] received
    
    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:       18   28  39.8     20     296
    Processing:   142  191 111.4    151     847
    Waiting:       26   34  31.6     28     243
    Total:        161  219 146.7    173    1143
    



    Interesting results, particularly since imaalautoservices.ie is with Blacknight.
    I agree with you regarding Godaddy, i find response times pathethic. I used Hostgator before and was sorry I moved:mad:


Advertisement