Remove Slider Buttons from individual pages.

Discussion in 'Figero WordPress Theme' started by galesburgpl, Aug 23, 2013.

Thread Status:
Not open for further replies.
  1. galesburgpl

    galesburgpl Member

    Joined:
    Apr 18, 2013
    Messages:
    41
    Likes Received:
    0
    Can you remove buttons from individual pages? I was only able to remove all the buttons or none. But let's say I want to remove just the button on slider 2: is this possible?
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to front-page.php present in your theme directory and remove the code given below

    Code:
     <a class="btn-1" href="<?php
                                        if (get_option('inkthemes_slidel_r_2') != '') {
                                            echo stripslashes(get_option('inkthemes_slidel_r_2'));
                                        } else {
                                            echo "#";
                                        }
                                            ?>"><span><?php
                                          if (get_option('inkthemes_slidel_rb_2') != '') {
                                              echo stripslashes(get_option('inkthemes_slidel_rb_2'));
                                          } else {
                                              echo "Read More";
                                          }
                                            ?>
                                                </span></a>
                                                <?php if ((get_option('inkthemes_slideheading2') != '') && (get_option('inkthemes_slidel_lb_2') == '' ))  { ?>
                                            <?php }
                                            else { ?>
                                            <a class="btn-2" href="<?php
                                                  if (get_option('inkthemes_slidel_l_2') != '') {
                                                      echo stripslashes(get_option('inkthemes_slidel_l_2'));
                                                  } else {
                                                      echo "#";
                                                  }
                                            ?>"><span><?php
                                          if (get_option('inkthemes_slidel_lb_2') != '') {
                                              echo stripslashes(get_option('inkthemes_slidel_lb_2'));
                                          } else {
                                              echo "Learn More";
                                          }
                                            ?></span></a>
                                        <?php } ?>

    Sending image for reference

    2013-08-24_1239.png


    This will solve your issue.
     
  3. galesburgpl

    galesburgpl Member

    Joined:
    Apr 18, 2013
    Messages:
    41
    Likes Received:
    0
Thread Status:
Not open for further replies.

Share This Page