{"id":1394755,"date":"2017-11-29T06:53:21","date_gmt":"2017-11-29T14:53:21","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/"},"modified":"2017-11-29T13:46:52","modified_gmt":"2017-11-29T21:46:52","slug":"event-category-all-links-to-wrong-url","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/","title":{"rendered":"&quot;Event Category: All&quot; links to wrong URL"},"content":{"rendered":"<p>Hello, Support.<\/p>\n<p>This is a continuation of a previous forum string (https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-do-i-need-pro-for-this\/).  However, I believe I can explain this more thoroughly so you will know exactly what\u2019s going on.<\/p>\n<p>As a recap, on http:\/\/wearelocalworks.org\/events\/ , the \u201cAll\u201d option in the dropdown category list links to wearelocalworks.COM instead of wearelocalworks.ORG.  When I go to the plugin and click on \u201cEvent Categories,\u201d we don\u2019t have a custom category of \u201cAll\u201d in our list, which tells me that this is a plugin issue, not a user issue.<\/p>\n<p>When I viewed the source codes for http:\/\/wearelocalworks.org\/events\/ and did a CTRL+F for \u201cworks.com\u201d, I saw that the codes contain:<\/p>\n<p>&lt;\/div&gt;<br \/>\n&lt;!&#8211; #tribe-events-header &#8211;&gt;<br \/>\n&lt;script type=&#8217;text\/javascript&#8217;&gt;function \u2026  \u2026 \u2026 &lt;option value=&#8217;http:\/\/wearelocalworks.com\/events\/&#8217;&gt;All&lt;\/option&gt;<\/p>\n<p>After searching through your plugin\u2019s PHP files beyond what Geoff instructed in the previous forum string, I was able to find the code that the category dropdown is referencing is in the folder \/themes\/tribe-events\/list\/:<\/p>\n<p>&lt;\/div&gt;<br \/>\n&lt;!&#8211; #tribe-events-header &#8211;&gt;<br \/>\n&lt;?php do_action( &#8216;tribe_events_after_header&#8217; ); ?&gt;<\/p>\n<p>The place where I\u2019m stuck is finding the PHP file that has the script for \u201ctribe_events_after_header.\u201d  I strongly believe this is where the source of our problem lies.  I looked in all of the \/themes\/tribe-events\/ folders, and it\u2019s not there.  This means the PHP is in one of the plugin\u2019s folders, but I don\u2019t know which folder to look in. <\/p>\n<p>Can you, please, let me know which folder has the script for \u2018tribe_events_after_header\u2019?<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-1394755","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>&quot;Event Category: All&quot; links to wrong URL -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"&quot;Event Category: All&quot; links to wrong URL -\" \/>\n<meta property=\"og:description\" content=\"Hello, Support. This is a continuation of a previous forum string (https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-do-i-need-pro-for-this\/). However, I believe I can explain this more thoroughly so you will know exactly what\u2019s going on. As a recap, on http:\/\/wearelocalworks.org\/events\/ , the \u201cAll\u201d option in the dropdown category list links to wearelocalworks.COM instead of wearelocalworks.ORG. When I go to the plugin [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-29T21:46:52+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/\",\"name\":\"&quot;Event Category: All&quot; links to wrong URL -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-11-29T14:53:21+00:00\",\"dateModified\":\"2017-11-29T21:46:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"&quot;Event Category: All&quot; links to wrong URL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"&quot;Event Category: All&quot; links to wrong URL -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/","og_locale":"en_US","og_type":"article","og_title":"&quot;Event Category: All&quot; links to wrong URL -","og_description":"Hello, Support. This is a continuation of a previous forum string (https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-do-i-need-pro-for-this\/). However, I believe I can explain this more thoroughly so you will know exactly what\u2019s going on. As a recap, on http:\/\/wearelocalworks.org\/events\/ , the \u201cAll\u201d option in the dropdown category list links to wearelocalworks.COM instead of wearelocalworks.ORG. When I go to the plugin [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/","article_modified_time":"2017-11-29T21:46:52+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/","name":"&quot;Event Category: All&quot; links to wrong URL -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-11-29T14:53:21+00:00","dateModified":"2017-11-29T21:46:52+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-category-all-links-to-wrong-url\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"&quot;Event Category: All&quot; links to wrong URL"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1394755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1394755\/revisions"}],"predecessor-version":[{"id":1394982,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1394755\/revisions\/1394982"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1394755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}