WordPress.org

Ready to get started?Download WordPress

Forums

Adamos
[resolved] Remove Link/Text from Adamos Main Slider (7 posts)

  1. rvdrake33
    Member
    Posted 10 months ago #

    Howdy,

    I'm trying to eliminate either the hyperlink or the entire title text box on the adamos main slider. It links to a post, and I would rather use pages instead of posts on the site. Thanks in advance.

    http://66.147.244.158/~drakewat/cereclamation/

  2. Ossie Heffell
    Member
    Theme Author

    Posted 10 months ago #

    hello,

    you will have to remove the following piece of code from header.php

    <div class="flex-caption-title">
                        <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
                        </div>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  3. rvdrake33
    Member
    Posted 10 months ago #

    Excellent! Thank you so much. Your theme is phenomenal!

  4. Ossie Heffell
    Member
    Theme Author

    Posted 10 months ago #

    thanks - good luck with your website

  5. piechota_p
    Member
    Posted 10 months ago #

    Hi. Could you tell me how to change the slider so that it points to pages instead of posts? What modifications to the code should be done?

    <div class="flex-container">
                  <div class="flexslider">
                    <ul class="slides">
                    <?php
                    query_posts(array('category_name' => 'featured', 'posts_per_page' => 3));
                    if(have_posts()) :
                        while(have_posts()) : the_post();
                    ?>
                      <li>
                        <?php the_post_thumbnail(); ?>
                        <div class="caption_wrap">
                        <div class="flex-caption">
                        <div class="flex-caption-wordtitle">
                        <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
                        </div>
                        <p><?php echo get_slider_excerpt(); ?>
                        <a href="<?php the_permalink() ?>">...</a></p>
                        </div>
                        </div>
                      </li>
                    <?php
                        endwhile;
                    endif;
                    wp_reset_query();
                    ?>
                    </ul>
                  </div>
    	</div>
  6. piechota_p
    Member
    Posted 10 months ago #

    I tried to change query_posts function parameters to those:

    'post_type' => 'page',
      'post__in' => array(0,1,2)

    But it doesn't work. There is Error.

  7. prepsuna
    Member
    Posted 9 months ago #

    Dear Sir,
    Iam unable to change the header color.
    Also the new 3 posts dont show the images
    Tell me how to add images into the featured text in customization
    Great theme and effort.Congrats.Keep up the good work.
    Thanks in advance

Reply

You must log in to post.

About this Theme

About this Topic