I want to create a whatsapp share link with multiple pdf links that shows single word hyperlinks on the message - hyperlink

can someone please advice me on how I can display hyperlink words instead of the full pdf links on my whatsApp share text field, I have started with this:
https://wa.me/?text=Aqua-Right%203%20https://rolfesagri.co.za/wp-content/uploads/2021/01/Aqua_Right_3_Label-1.pdf, http://rolfesagri.co.za/wp-content/uploads/2021/01/Aqua_Right_3_SDS-1.pdf, http://rolfesagri.co.za/wp-content/uploads/2021/02/Aqua-Right_Range_Eng_Pamphlet.pdf
This link needs to look like this when you send it to someone:
Aqua-Right 3 Label, SDS, Pamphlet
Is this possible?

These are three different links and you need to treat a link using the <a> tag.
See the documentation for the detail but your code will look like:
Label
<a href="https://wa.me/?text=Aqua-Right%203%20http://rolfesagri.co.za/wp-content/uploads/2021/01/Aqua_Right_3_SDS-1.pdf>SDS</a>
<a href="https://wa.me/?text=Aqua-Right%203%20http://rolfesagri.co.za/wp-content/uploads/2021/02/Aqua-Right_Range_Eng_Pamphlet.pdf>Pamphlet</a>
This is completely untested on what the link itself will do but is the right syntax to display a link on a webpage

Related

<h1> <h2> seo link tag

i know <h2>Hamburger</h2> are good, but how about this:
<div><h2>Food » Hamburger</h2></div>
or thats are ok for google seo?
The tag with an anchor link inside it will work same as a normal tag for Google SEO. Both the methods are Ok, but the problem that can occur is your readers may go away because you added a hyperlink in the Heading text of your webpage. So, it is not a good practice to use hyperlinks in tags or any tag.

How to make menu links with include?

I'm making my website with include function so less have to bee downloaded. But I just can't remember how to make it the way I wan't.
I got a menu like this: Frontpage - Products - Prices - About us - Contact.
When on the frontpage and clicking the Products link I wan't the content of the Products page to show on the same page via the include, but how is it I do that? The content of the Products page and the other will of course just bee an empty file with some text.
Can you please help me?
If you're using PHP, you can simply use file_get_contents("FileYouWantHere");. This will output the contents of that file. If that file is written in PHP too however, use include("FileYouWantHere);.

RestructuredText Hyperlink to Line Number

I am writing a FAQ page in restructuredtext and I would like to place a list of questions at the top with links to the answers further down the page. I wrote the following but the link doesn't go anywhere. What am I doing wrong?
`How are you associated with the University? `_
How do I create a hyperlink to a line number in reST?
I just found it here: http://docutils.sourceforge.net/docs/user/rst/quickref.html#example-callout
If you wrap the question in backquotes like this:
`How are you associated with the University?`_
then below you can reference the question like this:
.. _How are you associated with the University?:
Now, when you click on the question link it takes you to the correct line, all without using HTML.
Put anchor link tag on your your question:
How are you associated with the University?
...
Here is your answer:
<a id="n281"></a>
... Your n281 answer ...

Is there a syntax for links with no text in Markdown?

I want to write
http://www.foo.com/
and get a link with the URL as the text (e.g., in HTML output). I do not want to write
[http://www.foo.com/](http://www.foo.com/)
Is it possible?
Yes, here is the relevant section of the documentation:
AUTOMATIC LINKS
Markdown supports a shortcut style for creating “automatic” links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:
<http://example.com/>
Markdown will turn this into:
http://example.com/
I find this works with my IDE nicely, wrapping the link in an <a> tag:
<a>http://example.com/</a>

Print web page with original look

I want to achieve print functionality such that user can print out the web form and use it as paper form for the same purpose. Of course I do not need all the web page header and footer to be printed, just content of a div which take most of the page. I did play around with media print css and menage print result to look almost as original page. But the I tried to print it in another browser(Chrome) and it is all messed. (before I tried Mozilla).
For the web form I user css framework Twitter Bootstrap and I had to override its css (in print media) for almost each element individually to get some normal look in the print result.
My question is is there some way (framework/plugin) to print just what you see on the page, maybe as an image or something?
Any other suggestions are welcome.
Thanks.
If you are familiar with PHP you can try the PHP class files of TCPDF or those of FPDF.
Or there is also dompdf which renders HTML to PDF, but this will include more than just the information of one div.
And for further info here is a post on Stack where users are discussing which they think is best.

Resources