Announcement

Collapse
No announcement yet.

Change InspirePress Skin Section Title for WooCommerce Products

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change InspirePress Skin Section Title for WooCommerce Products

    Using InspirePress skin for a site that had a few products(it's not a full blown ecommerce site).

    On the WooCommerce product pages, the Skin Section Titles displays "BLOG" and I would rather have it display the Product name.

    Anyone done this already?


    Site and page here: http://www.austinbiplane.com/product...ustin-package/

    Thanks!

  • #2
    Hi,
    Did you find out how you can change the section title? I'm also trying to do that, but can't find it.

    Comment


    • #3
      Hi, found out that it is hardcoded into the skin. But how can I change it to display something else with for example custom post type 'books'

      I found this link on how to edit the php of the skin.
      http://cobaltapps.com/custom-coding-dynamik-skin/

      This is the code section on the skin section title:

      PHP Code:
      function skin_section_title() {

          if( 
      is_front_page() )

              return;

                      if( 
      is_page_template'page_blog.php' ) || is_single() )

              echo 
      '<div id="skin-section-title-wrap"><h1 class="skin-section-title"><i class="fa fa-rss"></i> Blog</h1></div>';

          elseif( 
      is_archive() )

              echo 
      '<div id="skin-section-title-wrap"><h1 class="skin-section-title"><i class="fa fa-archive"></i> Archives</h1></div>';

          else

              echo 
      '<div id="skin-section-title-wrap"><h1 class="skin-section-title"><i class="fa fa-file-text"></i> ' get_the_title() . '</h1></div>';


      How can I change this code so that it displays a different section title for custom post type 'books'?

      Comment

      Working...
      X