{"id":499,"date":"2015-10-13T17:33:42","date_gmt":"2015-10-13T09:33:42","guid":{"rendered":"http:\/\/people.utm.my\/yap\/?page_id=499"},"modified":"2016-08-17T11:22:30","modified_gmt":"2016-08-17T03:22:30","slug":"adding-links-and-medias","status":"publish","type":"page","link":"https:\/\/people.utm.my\/yap\/wordpress-website-guide\/adding-links-and-medias\/","title":{"rendered":"Adding links and medias"},"content":{"rendered":"<h6>1. \u00a0To add links <strong>to text,<\/strong> please use the following HTML code:<\/h6>\n<p style=\"text-align: center;\"><code>&lt;a href=\"http:\/\/insert.url.here\"&gt;Insert text here&lt;\/a&gt;<\/code><\/p>\n<p>Alternatively, you can insert a link using the button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-496 size-full aligncenter\" src=\"https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/10\/Insert_Link.png\" alt=\"Insert_Link\" width=\"579\" height=\"155\" srcset=\"https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/10\/Insert_Link.png 579w, https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/10\/Insert_Link-300x80.png 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><\/p>\n<h6>2. \u00a0To add links to text that opens in a <strong>NEW<\/strong> window, please use the following HTML code:<\/h6>\n<p style=\"text-align: center;\"><code>&lt;a href=\"http:\/\/insert.url.here\" target=\"_blank\"&gt;Insert text here&lt;\/a&gt;<\/code><\/p>\n<p>Alternatively, if you are using the insert a link button, there is a check box\u00a0to set links to open in a new window.<\/p>\n<h6>3. \u00a0To insert images:<\/h6>\n<ol>\n<li>Upload the image into media.<\/li>\n<li>Open the image. Right click on the image and choose &#8220;Open image a new tab&#8221;. The URL should end with a .JPG or .PNG (e.g.:\u00a0https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/08\/Me2.jpg)<\/li>\n<li>Copy the URL<\/li>\n<li>Enter the following code<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><code>&lt;img src=\"https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/08\/Me2.jpg\"&gt;<\/code><\/p>\n<p>Alternatively, you can add medias using the &#8220;Add media&#8221; button<\/p>\n<p><a href=\"https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/10\/add-media-button.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-497 aligncenter\" src=\"https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/10\/add-media-button.png\" alt=\"add media button\" width=\"498\" height=\"230\" srcset=\"https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/10\/add-media-button.png 498w, https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/10\/add-media-button-300x139.png 300w\" sizes=\"(max-width: 498px) 100vw, 498px\" \/><\/a><\/p>\n<h6>4. To insert images <strong>with links:<\/strong><\/h6>\n<ol>\n<li>\u00a0If the file has not been uploaded yet, repeat\u00a0Step 3 above.<\/li>\n<li>The enter the following code:<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><code>&lt;a href=\"http:\/\/insert.url.here\" target=\"_blank\"&gt;<\/code><\/p>\n<p style=\"text-align: center;\"><code>&lt;img src=\"https:\/\/people.utm.my\/yap\/wp-content\/uploads\/sites\/1596\/2015\/08\/Me2.jpg\"&gt;<\/code><\/p>\n<p style=\"text-align: center;\"><code>&lt;\/a&gt;<\/code><\/p>\n<p style=\"text-align: left;\">4. To insert <strong>email addresses\u00a0<\/strong>with links:<\/p>\n<p style=\"text-align: center;\"><code>&lt;a href=\"mailto:somebody@utm.my\" target=\"_blank\"&gt;Insert text here&lt;\/a&gt;<\/code><\/p>\n<p style=\"text-align: left;\">\u00a0and here is the working example:<\/p>\n<p style=\"text-align: left;\"><a href=\"somebody@utm.my\" target=\"_blank\">Insert text here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u00a0To add links to text, please use the following HTML code: &lt;a href=&#8221;http:\/\/insert.url.here&#8221;&gt;Insert text here&lt;\/a&gt; Alternatively, you can insert a link using the button: 2. \u00a0To add links to text that opens in a NEW window, please use the following HTML code: &lt;a href=&#8221;http:\/\/insert.url.here&#8221; target=&#8221;_blank&#8221;&gt;Insert text here&lt;\/a&gt; Alternatively, if you are using the insert [&hellip;]<\/p>\n","protected":false},"author":14205,"featured_media":0,"parent":488,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-499","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/pages\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/users\/14205"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/comments?post=499"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/pages\/499\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/pages\/488"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/yap\/wp-json\/wp\/v2\/media?parent=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}