{"id":637,"date":"2017-06-08T18:56:19","date_gmt":"2017-06-08T18:56:19","guid":{"rendered":"http:\/\/sls.gmu.edu\/web\/?p=637"},"modified":"2020-07-02T15:42:56","modified_gmt":"2020-07-02T15:42:56","slug":"using-modx-tips-for-editors","status":"publish","type":"post","link":"https:\/\/sls.gmu.edu\/web\/2017\/06\/08\/using-modx-tips-for-editors\/","title":{"rendered":"Using MODx: Tips For Editors"},"content":{"rendered":"<ul>\n<li><a href=\"#resourceid\">How to Create Internal Links With Resources IDs<\/a><\/li>\n<li><a href=\"#anchor\">How to Create an Anchor Link<\/a><\/li>\n<\/ul>\n<hr>\n<h2 id=\"resourceid\">How to Create Internal Links With Resources IDs<\/h2>\n<p>In MODX, Resource IDs are the numbers assigned to a Document. For example: <strong>About Scalia Law (2)<\/strong>. To link to the about page, use the following code:<\/p>\n<p><code>&lt;a href=&quot;[[~2]]&quot;&gt;About Scalia Law&lt;\/a&gt;<\/code><\/p>\n<h2 id=\"anchor\">How to Create an Anchor Link<\/h2>\n<p>To point to an anchor link within a page, use the following shortcode.<br \/>\n<code>&lt;a href=&quot;[[~[[*id]]]]#anchorname&quot;&gt;Anchor Name&lt;\/a&gt<\/code><\/p>\n<p>To point to an anchor link on a different page, use the following shortcode:<br \/>\n<code>&lt;a href=&quot;[[~2]]#mason&quot;&gt;About Mason&lt;\/a&gt;<\/code><\/p>\n<p><a href=\"https:\/\/docs.modx.com\/revolution\/2.x\/making-sites-with-modx\/structuring-your-site\/resources\/named-anchor\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Create Internal Links With Resources IDs How to Create an Anchor Link How to Create Internal Links With Resources IDs In MODX, Resource IDs are the numbers assigned to a Document. For example: About Scalia Law (2). To link to the about page, use the following code: &lt;a href=&quot;[[~2]]&quot;&gt;About Scalia Law&lt;\/a&gt; How to &hellip; <a href=\"https:\/\/sls.gmu.edu\/web\/2017\/06\/08\/using-modx-tips-for-editors\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using MODx: Tips For Editors&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-637","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/comments?post=637"}],"version-history":[{"count":0,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/637\/revisions"}],"wp:attachment":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/media?parent=637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/categories?post=637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/tags?post=637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}