Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter scofield888

    (@scofield888)

    Hi,

    Yes, I was able to try adding HTML into the “caption title”.

    <a href="#">Caption Title</a> – This works.

    <a href=&quot;#&quot;>Caption Title</a> – This works.

    But there are a couple of errors or bugs that I encounter:

    a. When I tried the above HTML codes, there was an instance it appeared on the “caption title + HTML codes” instead of just exactly only the “caption title”.

    Error 01

    b. While the second error was when I successfully added the HTML code + caption title. But when I came back to edit the slide’s title, the “Save a Slide” page move and registered a few bugs…
    – There are HTML codes beside the thumbnail.
    – There are HTML codes that went out of the title box.

    Error 02

    I hope this helps you in sorting things out.

    As for the the “image link”, YES, I’m able to use it and link the image to any URL I desire or need.

    As for adding links in the text body, YES, I’m able to easily do it, too. ??

    Thread Starter scofield888

    (@scofield888)

    ***Maybe, like adding – a href=”#” – or any other way to add the URL of a certain page or website.

    Thread Starter scofield888

    (@scofield888)

    up ??

    Thread Starter scofield888

    (@scofield888)

    bump

    Thread Starter scofield888

    (@scofield888)

    can anyone please help? ??

    Thread Starter scofield888

    (@scofield888)

    bump

    Thread Starter scofield888

    (@scofield888)

    Yes. I tried using the default theme and this problem also happens. The current permalink structure is: /%category%/%postname%/.

    Do you think that this might have something to do with this?

    As for the problem with query_post(), unfortunately, I’m just a newbie in PHP and really can’t find a way to make this work. ??

    I’m using the archive.php file and here is the code (hopefully it helps).

    <?php get_header(); ?>

    <?php if (have_posts()) : ?>
    <div class=”box post”>
    <div class=”content”>
    <div class=”post-title”>
    <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    <?php /* If this is a category archive */ if (is_category()) { ?>
    <h1><!–Category:–> <span><?php single_cat_title(); ?></span></h1><?php if(category_description()) { echo ‘<span class=”description” style=”font-size: 13px;”>’.category_description().'</span>’; } ?>
    <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    <h1><!–Tag:–> <span><?php single_tag_title(); ?></span></h1>
    <?php if(tag_description()) { echo ‘<span class=”description” style=”font-size: 13px;”>’.tag_description().'</span>’; } ?>
    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    <h1>Archive: <span><?php the_time(‘F jS, Y’); ?></span></h1>
    <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    <h1>Archive: <span><?php the_time(‘F, Y’); ?></span></h1>
    <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    <h1>Archive: <span><?php the_time(‘Y’); ?></span></h1>
    <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    <h1>Author Archive</h1>
    <?php /* If this is a paged archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
    <h1>Blog Archives</h1><?php } ?>
    </div>
    <!–<div class=”tag-description”>
    <?php echo tag_description(); ?>
    </div>–>
    </div>
    </div>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”box post” id=”post-<?php the_ID(); ?>”>
    <div class=”content”>
    <div class=”rank”><img src=”<?php echo get_post_meta($post->ID, ‘posts-rank’, true); ?>” /></div>
    <?php $postimageurl = get_post_meta($post->ID, ‘post-img’, true); if ($postimageurl) { ?>
    <div class=”pic fl”>
    ” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><img src=”<?php echo $postimageurl; ?>” alt=”Post Pic” width=”200″ height=”200″ />
    </div>
    <?php } ?>
    <div class=”post-title”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    </div>
    <!–/post-title –>
    <div class=”post-date”><!–On <?php the_time(‘m.d.y’) ?>,–> Category: <?php the_category(‘, ‘) ?><!–, by <?php the_author_posts_link(); ?>–></div>
    <div class=”post-excerpt”><?php the_excerpt(); ?></div>
    <!–/post-excerpt –>
    </div>
    <!–/content –>
    <div class=”hl”></div>
    <div class=”social-links”>
    <div class=”fl”>
    <span><?php comments_number(0, 1, ‘%’); ?></span>
    #comments” title=”View Comments”>Comments
    </div>
    <div class=”fr”><span>#respond” title=”Post Title – Read more…”><?php the_title(); ?> – Read more…</span></div>
    <br class=”fix” />
    </div>
    <!–/social-links –>
    </div>
    <!–/box –>

    <?php endwhile; ?>

    <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>

    <?php /*

    • <?php next_posts_link(‘« Older Entries’) ?>
    • <?php previous_posts_link(‘Newer Entries »’) ?>

    */ ?>

    <?php else : ?>

    <div class=”box post”>
    <div class=”content”>
    <div class=”post-title”>
    <h1>No Posts Were Found</h1>
    </div>
    </div>
    </div>

    <p style=”padding-left: 20px;”> </p>

    <?php endif; ?>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    If you guys think that my questions are a bit out of place, please don’t hesitate to let me know.

    Thanks again! ??

    Thread Starter scofield888

    (@scofield888)

    @esmi

    I think I was not that clear on what I really wanted to achieve. Here is a more detailed explanation.

    I have added a description for each tag title that I have. A feature that was added to WP version 2.8. Please see image on link:

    https://vincesamoy.com/question/test.gif

    The yellow box is the “tag description” and the pink box is the image that I wanted to add. This is actually that thing that I want to achieve.

    While scouring through the plugins, I found one that says it is used for “tag images”.

    https://www.ads-software.com/extend/plugins/tag-images/

    I managed to install the plugins but the image does not appear on the tag description section. I tried following the instructions but it never worked for me.

    This is the function that I actually use. I’m not actually an expert in php so I really don’t know if I’m doing something wrong with the code or instructions.

    <?php echo get_tag_image($tag); ?>

    Hope this helps clearing things up and hope you can help. ??

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)