*

jensenjim124

  • *
  • 1 posts
blog install button and link
« on: May 03, 2018, 02:46:55 PM »
Blog Install.    I deleted my information request by accident.  This was very helpful in my quest to install the Blog



Integration on demo site is made on veronika theme... in oc-content/themes/veronika/header.php above following code:
Code: [Select]
      <?php if(!osc_is_home_page() && !osc_is_search_page()) { ?>
        <div id="top-search" class="non-resp">
          <a href="<?php echo osc_search_url(veronika_search_params()); ?>" class="btn"><i class="fa fa-search"></i><span><?php _e('Search', 'veronika'); ?></span></a>
        </div>
      <?php } ?>

put:
Code: [Select]
      <div class="blog not767">
        <?php if(function_exists('blg_home_button')) { echo blg_home_button('Blog Plugin'); } ?>
      </div>

Then in oc-content/themes/veronika/css/style.css put (at start):
Code: [Select]
#header-bar .blog { float: left; margin: 4px 10px 0 0; }
#header-bar .blog a { float: left; font-size: 13px; font-weight: bold; color: #fff; background: #60c39b; text-decoration: none; padding: 5px 10px; border-radius: 2px; }