WordPress.org

Ready to get started?Download WordPress

Forums

Event Organiser
Custom venue template not working (2 posts)

  1. fattarsi
    Member
    Posted 2 years ago #

    Checks if wrong file exists.

    Patch:

    Index: trunk/includes/event-organiser-templates.php
    ===================================================================
    --- trunk/includes/event-organiser-templates.php	(revision 511960)
    +++ trunk/includes/event-organiser-templates.php	(working copy)
    @@ -35,9 +35,9 @@
     		}
    
     		if (eo_is_venue()) {
    -			if(file_exists($template_dir.'/venue.php'))
    +			if(file_exists($template_dir.'/venue-template.php'))
     				$template = $template_dir.'/venue-template.php';
    -			elseif(file_exists($parent_template_dir.'/venue.php'))
    +			elseif(file_exists($parent_template_dir.'/venue-template.php'))
     				$template = $parent_template_dir.'/venue-template.php';
     	 		else
     				$template = EVENT_ORGANISER_DIR.'templates/venue-template.php';

    http://wordpress.org/extend/plugins/event-organiser/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    Hi fattarsi,
    Thanks, this has been reported already and I shall be releasing a fix sometime this week. Thanks for posting the necessary changes though!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic