Skip to content

Commit

Permalink
Merge pull request #189 from OpenDevelopmentMekong/impl-187
Browse files Browse the repository at this point in the history
Impl 187
  • Loading branch information
Huyeng authored May 1, 2018
2 parents fd6f288 + c32d509 commit 506c4d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions post-types/templates/single-profiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
if($sub_navigation){
$sub_menu = '<nav id="od-menu" class="od-submenu"><div class="od-submenu-bg '. odm_country_manager()->get_current_country() .'-bgcolor">
</div><div class="container"><div class="six columns"><h1>'.get_the_title().'</h1></div><div class="ten columns">'. wp_nav_menu(array('menu' => $sub_navigation, 'echo'=>false)) .'</div></div></nav>';

$sub_menu = str_replace( array("\r\n", "\n", "\r"), "", $sub_menu);
?>
$("#od-menu").after('<?php echo trim($sub_menu); ?>');
Expand Down
2 changes: 1 addition & 1 deletion wp-odm_profile_pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: ODM Profile Pages
* Plugin URI: http://github.com/OpenDevelopmentMekong/odm_profile_pages
* Description: Internal wordpress plugin for exposing custom content type for profile pages
* Version: 2.4.4
* Version: 2.4.5
* Author: Alex Corbi ([email protected])
* Author URI: http://www.lifeformapps.com
* License: GPLv3.
Expand Down

0 comments on commit 506c4d1

Please sign in to comment.