473,473 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do I add dots to my link?

3 New Member
I'm trying to add 5 dots behind every link on a wordpress site. My code is below but when I try to put dots in, they are appearing on a new line.

Expand|Select|Wrap|Line Numbers
  1. <a href="<?php the_permalink() ?>" target="_blank"><?php echo intro_text(84); ?></a>
Jan 19 '12 #1
7 2589
charles07
45 New Member
simply add 5 dots
Expand|Select|Wrap|Line Numbers
  1. .....<a href="<?php the_permalink() ?>" target="_blank"><?php echo intro_text(84); ?></a>
  2.  
  3.  
Jan 20 '12 #2
BrettS
3 New Member
Behind meaning including the ..... at the end of the link.
Jan 21 '12 #3
charles07
45 New Member
oh ok

add five dots before the php tag <?php the_permalink() ?>
Jan 21 '12 #4
BrettS
3 New Member
Nothing I've tried works. I want the dots after the link, not before.

No matter where I put them they end up on a new line.
Jan 24 '12 #5
charles07
45 New Member
can u just send the result u want as plain text (like mylink.....)
Jan 24 '12 #6
brettl
41 New Member
You can use a little method like the one attached and concatenate it.

Expand|Select|Wrap|Line Numbers
  1. function fivedots(){
  2.     $dots =  '.....';
  3.     return $dots;
  4. }
Then add this:
Expand|Select|Wrap|Line Numbers
  1. <a href="<?php the_permalink() ?>" target="_blank"><?php echo intro_text(84).fivedots(); ?></a>
Jan 24 '12 #7
Marknut
42 New Member
This could be happening for quite a few reasons. First, check that you have enough room for both the link and the 5 .'s so that it's not wrapping. Second, check that there's no CSS giving the "block" display to your "a" tags ("display: block;"). If it's not either of those, it's still probably CSS that's giving you a hard time.
Jan 24 '12 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Doors of Perception | last post by:
As you probably know, when you click on a link in MSIE and go to a page, then when you click the "back" button, you see a dotted box outlining the link on which I just clicked. As far as I'm...
3
by: Tim Streater | last post by:
I have, as it might be, this in a frame: <a href="mystuff.html">Click here</a> When I click the link, it loads mystuff.html into the frame, whereas what I want is to replace the whole window...
2
by: Madame Blablavatsky | last post by:
hello, i have an image that is also a link: <a href="javascript:opmaak('bold','')"><img src='bold_uit.gif name='uit'></a> when the image/link is clicked it triggers a javascript that...
2
by: paulmac106 | last post by:
Hi, I have a menu control that has two Menu choices One is "View History Items" the second is "PDA" My problem is as you roll the mouse over the menu options, the second one works only...
5
by: Mel | last post by:
i like to place an image link on my page that stays up for 2 seconds and user can interact with. if no interaction in 2 seconds the image and the link should disapear please help
6
by: ntdude4 | last post by:
I am trying to make a variable link on a page. The page has a text box for a stock symbol. The code is: <input type=TEXTBOX Name="symtb" value="" size="10> The value of the text box {the stock...
14
by: Wouter | last post by:
Hi, I try to make the follow. I want that i can click on a text link and that then a link wil be copyed in a input form box (<input type="text" name="img_url" />). I have google-ed about how...
7
by: Lennart Anderson | last post by:
I want to present a table with main data. Each revord will have a field acting like a link to a new page with detailed data on the selected record. My problem is that I can't get the record-ID...
4
by: browser newbie | last post by:
Hello How can I capture the link a user clicks on ? After capturing will I be able to form the HTTP request so that I can change the server its going to? For example...if the URI in the page...
10
by: sophie_newbie | last post by:
Hi, I'm trying to write a piece of code that spawns a thread and prints dots every half second until the thread spawned is finished. Code is something like this: import threading class...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.