Remove the last /
in
include(TEMPLATEPATH . '/events.php/');
If you cannot find a file, check with file_exists( $path ) first.
Also TEMPLATEPATH
is deprecated now, use get_stylesheet_directory()
instead.
And your feed is located at /gpevent', not
/gpevents’ as Stephen Harris noted.
Related Posts:
- Serving precompressed content with Brotli on Apache
- How can I avoid code duplication for a blog with lots of source code?
- How to rename wp-includes folder?
- What’s the correct way to include files in WordPress TwentyTen theme with it’s own jquery scripts and css?
- ABSPATH not working! Any idea why?
- Get current user data from external PHP page
- External system integration with wordpress
- Why does get_template_part() break variables?
- How to pass variables with get_template_part?
- Problems Including File
- How to include core files into plugin
- How to check if txt file exists inside template folder?
- What’s the best way to ‘include’ a file in WordPress?
- locate_template function – File not getting included
- Can not include file from plugin into theme
- Include tags from array, ignore the rest in get_the_tags
- PHP files included within functions.php don’t work from admin area
- Wp Enviroment problem with included file
- Having trouble linking to file using relative path
- How can I include an external file in a post or page?
- Including php file in directory above WordPress installation
- Load content From Include File within plugin
- including Zend Gdata library path error
- What about “inc” (include) files and Child Theming? Is it possible?
- Make changes in /includes/http.php update safe
- Need to override file included in parent theme
- Class works in Admin, not found on Front End
- if statement parent page for child pages
- add_action outside a plugin
- Add page as static html into another page
- Dynamically determine URI to scripts and styles included with a class which could be added from plugin/theme/child theme/mu plugin
- class not declared in scope – even though .h was included
- Error “Unterminated conditional directive” in cross-referencing headers
- Eclipse CDT: Symbol ‘cout’ could not be resolved
- Order by & include array by specific post ids
- Include and Exclude Taxonomies From Archives & Feeds Using ‘pre_get_posts’
- How to create additional full text RSS feeds
- load/require specific php files for specific pages/templates/post types
- ob_get_clean returns empty string, ob_get_flush outputs string
- Custom post types – RSS lastBuildDate issue
- wp_remote_get vs. fetch_feed ? which is the better for performance?
- disable /feed/ for custom post type
- A function to fetch blog content via rss feed
- When are tags counted? Can it be trigered manually?
- Remove tag on my RSS Feed
- Twitter feed is showing blank in WP site [closed]
- register_post_type – rewrite / feeds, what’s it for?
- How to display LinkedIn feed/company updates into WordPress site? [closed]
- Include Class File in WordPress
- nowplaying.include.php Will Not Display Results
- Create pretty permalink for a post knowing the permalink structure
- Importing multiple RSS feed into WordPress and sorting them by date
- Custom RSS does not work for categories and tags
- Change title and meta description in included page (not template)
- Include a specific page in your template
- Add source URL from Feed WordPress (Syndication) plugin to a custom field in post editor
- Hardening wordpress: blocking /includes with htaccess
- How can I defer these JS files?
- Custom taxonomy in custom post RSS feed
- Custom theme: Alternatives to long list of ‘include’ in functions.php
- get_the_content_feed with paginated posts
- How can I exclude tags from category_rss function?
- Editing Category RSS Feeds
- Creating plugin using simple_html_dom parser?
- RSS feed validity and Google Adsense
- Removing the FeedBurner redirect
- Why is my oembed function modifying Twitter embed?
- Server stressed by /feed
- wp_star_rating() – Adding a 5 star rating system to theme
- How to put page numbers with the next/previous on a post/category list?
- Can I add the post featured image to a specific RSS feed?
- Second page of RSS feed
- Best way to duplicate specific page content across two sites?
- How do I modify the ‘more’ link in a feed
- Unable to point the child theme directory even using get_stylesheet_directory()
- How to get the form code from the edit page of a specific post?
- Googlebot adding /feed at the end of my URLs
- Check if feed is fetched successfully
- Featured Image in RSS Feed
- How can I get url from image tag in feed with fetch_feed?
- Activity feed on admin dashboard
- Is it ok to chop index.php and include files?
- Style wordpress image captions in RSS
- RSS feed showing deleted post
- Change pubDate in rss feed in another format
- How to remove private posts from RSS feeds?
- Before & After Content – After Content directly below Before Content when using require_once
- Remove Default Read More Link in Manual Excerpt RSS Feed
- How to write wordpress plugins faster to load?
- Push Shortcode parameter to template
- Can I use wp_widget_rss_output to show my site’s feed in the dashboard?
- RSS Feed has no Items (Possible Plugins Conflict)
- Pages included in another page and duplicate content issues for SEO
- How to read the contents of single post through RSS feed
- Want to include ad code after related post
- Including a PHP file via a function that is part of a plugin?
- Forcing absolute src links in the RSS feed
- strange parse error when including a loop template within another template
- images are broken
- “feed” added at the end of my URLs