{"id":1896743,"date":"2019-10-18T13:20:02","date_gmt":"2019-10-18T17:20:02","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/remove-links-from-events\/"},"modified":"2022-06-09T04:17:18","modified_gmt":"2022-06-09T08:17:18","slug":"remove-links-from-events","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/remove-links-from-events\/","title":{"rendered":"Remove Links from Events"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"h-description\">Description<\/h3>\n\n\n\n<p>This snippet will allow users to remove the links from their events so that users cannot click on them. &nbsp;This way, users cannot visit single events pages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-usage\">Usage<\/h3>\n\n\n\n<p>For CSS: Copy the below code into your (child) theme&#8217;s <em>style.css<\/em> file, or add it to <em>Appearance &gt; Customize &gt; Additional CSS<\/em> box (or wherever you usually put custom styling).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-plugins\">Plugins<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>The Events Calendar<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-snippet\">Snippet<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n.tribe-events-calendar-list__event-title {\n    pointer-events: none;\n}\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-notes\">Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Originally written in September&nbsp;2019<\/li><li>Tested with The Events Calendar 5.2.1<\/li><li>Author: Jaime Marchwinski<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-disclaimer\">Disclaimer<\/h3>\n\n\n\n<p>As with all of our recipes, please note that we share this in the hope it will be useful <strong>but without any guarantees or commitments<\/strong>. If you wish to use it, it is <em>your<\/em> responsibility to test it first of all and adapt it to your needs (or find someone who can do so on your behalf). We are unable to provide further support in relation to this recipe.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description This snippet will allow users to remove the links from their events so that users cannot click on them. &nbsp;This way, users cannot visit single events pages. Usage For CSS: Copy the below code into your (child) theme&#8217;s style.css file, or add it to Appearance &gt; Customize &gt; Additional CSS box (or wherever you&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[79],"tags":[23],"stellar-product-taxonomy":[161],"class_list":["post-1896743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-snippets","tag-css","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":79,"label":"Snippets"}],"post_tag":[{"value":23,"label":"CSS"}],"stellar-product-taxonomy":[{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":80,"filter":"raw","term_order":"0","cat_ID":79,"category_count":80,"category_description":"","cat_name":"Snippets","category_nicename":"snippets","category_parent":0}],"tag_info":[{"term_id":23,"name":"CSS","slug":"css","term_group":0,"term_taxonomy_id":23,"taxonomy":"post_tag","description":"","parent":20,"count":33,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1896743"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896743\/revisions"}],"predecessor-version":[{"id":1956084,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896743\/revisions\/1956084"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1896743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1896743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1896743"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1896743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}