WordPress.org

Ready to get started?Download WordPress

Forums

Blog Name Not Displaying Correctly (8 posts)

  1. Rain into Rainbows
    Member
    Posted 2 years ago #

    Hi all,

    I've searched & searched but am perplexed as to what could be causing my issue.

    When I attempt to share a post, such as on Facebook or LinkedIn, the post's title will display as such:

    Example Title | | Rain into RainbowsRain into Rainbows

    I'd like it instead to display as:

    Example Title | Shari | Rain into Rainbows

    I've tried everywhere that I can think of to tinker with my name and blog name to see if it will make a difference but can't seem to figure it out. Does anyone happen to know what populates that area?

    Thanks so much!

  2. YouON
    Member
    Posted 2 years ago #

    Do you use fb:title?

  3. Rain into Rainbows
    Member
    Posted 2 years ago #

    No -- this happens when I attempt to simply share (c&p) a link on my Facebook. It shows in the manner above.

    Thanks!

  4. Nasir Zia
    Member
    Posted 2 years ago #

    Is it just upon sharing ?
    or your Title Actually look likes this ???
    (On top of your Browser)

  5. Rain into Rainbows
    Member
    Posted 2 years ago #

    Nope, actually looks like that in the top of my browser as well.

    Thanks!

  6. Rain into Rainbows
    Member
    Posted 2 years ago #

    I finally figured it out. For anyone else experiencing that issue, I was able to solve it by disabling the WordPress SEO (v1.1.4) plugin. All is well now.

  7. salsool
    Member
    Posted 2 years ago #

    Hi
    I have received a WordPress blog from a company after many arguments about delays and issues with it. Can someone please check the below and let me know if this is sort of spaghetti code:| its for a tag listing page... also pls advise on how to add the pagination to the page
    am not technical at all but when i was checking the pages i felt its very un-flexible code and long for nothing

    ----------------------------
    for paination style
    here is the code used in another php page
    <?php
    /**
    * If is_home or is_paged
    * include featured.php
    * Else, create the regular loop for other templates
    */
    ?>
    <?php
    /** arabic translations */
    $posted_by = 'أرفق';
    $not_found = 'لم يتم العثور على';
    $edit_post = 'تعديل مشاركة';

    ?>

    <?php $home_is_set = FALSE;?>
    <div id="sidebar" class="left widget-area">
    <?php get_sidebar(); ?>
    </div>
    <!-- #sidebar -->
    <div id="main" class="right">
    <?php if(is_home() || is_paged()): ?>
    <?php $home_is_set = TRUE;?>
    <?php include (TEMPLATEPATH . '/featured.php'); ?>
    <?php // END OF if(is_home() || is_paged()): ?>
    <?php elseif (is_tag()) : // For Tag arcvhive page ?>
    <div id="content_top"> </div>
    <!-- #content_top -->

    <h2 class="title post-tag"><?php
    printf( __( 'أرشيف: %s', 'themex' ), '<span>' . $current_tag = single_tag_title("", false) . '</span>' );
    ?></h2>

    <div id="post-entry">
    <?php //$temp = $wp_query; $wp_query= null; $wp_query = new WP_Query('posts_per_page=&cat=&paged=' . $paged);?>
    <?php $postcounter = 0; if ($wp_query->have_posts()) : ?>
    <?php while ($wp_query->have_posts()) : $postcounter = $postcounter + 1; $wp_query->the_post();?>
    <div class="post-meta" id="post-<?php the_ID(); ?>">
    <div class="post-info">
    <h2 class="title">" rel="bookmark" title="<?php the_title(); ?>">
    <?php the_title(); ?>
    </h2>
    <div class="post-date">
    <?php echo get_the_date();?> | <?php the_author_posts_link(); ?></div>

    <!-- POST DATE END -->
    <div class="post-admin">
    <!--  on  -->
    <?php //the_category(', ') ?>
    <?php edit_post_link('+'.$edit_post); ?>
    </div>
    <div class="clearfix"></div>
    </div>
    <!-- POST INFO END -->
    <div class="post-content">
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="thumb">
    <?php the_post_thumbnail(array(180,9999), array('class' => 'alignleft')); ?>
    </div>
    <?php } else { ?>
    <?php //get_post_image(); ?>
    <?php } ?>
    <?php
    //the_post_excerpt($excerpt_length=50);
    //the_content();
    $newexcerpt = get_the_excerpt() ;
    $newexcerpt = strip_tags( $newexcerpt ) ;
    echo $newexcerpt;
    //the_excerpt();
    ?>
    <div class="clearfix"></div>
    </div>
    <!-- POST CONTENT END -->
    </div>
    <!-- POST META <?php the_ID(); ?> END -->

    <?php endwhile; ?>
    <?php else : ?>
    <p class="center"><?php echo $not_found;?></p>
    <p class="center">No posts found in above tag!</p>
    <?php endif; ?>
    <?php //$wp_query = null; $wp_query = $temp; ?>
    </div>
    <!-- Tag Listing and POST ENTRY END -->

    <?php else: ?>
    <div id="content_top"> <?php echo date_i18n('l, F j, Y') ?> </div>
    <!-- #content_top -->

    <div id="post-entry">
    <?php //$temp = $wp_query; $wp_query= null; $wp_query = new WP_Query('posts_per_page=&cat=&paged=' . $paged);?>
    <?php $postcounter = 0; if ($wp_query->have_posts()) : ?>
    <?php while ($wp_query->have_posts()) : $postcounter = $postcounter + 1; $wp_query->the_post();?>
    <div class="post-meta" id="post-<?php the_ID(); ?>">
    <div class="post-info">
    <div class="post-date"> <span class="month">
    <?php the_time('M') ?>
    </span> <span class="day">
    <?php the_time('d'); ?>
    </span> </div>
    <!-- POST DATE END -->
    <h1 class="title">" rel="bookmark" title="<?php the_title(); ?>">
    <?php the_title(); ?>
    </h1>
    <div class="post-admin"><?php echo $posted_by;?>
    <?php the_author_posts_link(); ?>
     on 
    <?php the_category(', ') ?>
    .  
    <?php edit_post_link('+'.$edit_post); ?>
    </div>
    <div class="clearfix"></div>
    </div>
    <!-- POST INFO END -->
    <div class="post-content">
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="thumb">
    <?php the_post_thumbnail(array(180,9999), array('class' => 'alignleft')); ?>
    </div>
    <?php } else { ?>
    <?php //get_post_image(); ?>
    <?php } ?>
    <?php
    //the_post_excerpt($excerpt_length=50);
    //the_content();
    $newexcerpt = get_the_excerpt() ;
    $newexcerpt = strip_tags( $newexcerpt ) ;
    echo $newexcerpt;
    //the_excerpt();
    ?>
    <div class="clearfix"></div>
    </div>
    <!-- POST CONTENT END -->
    </div>
    <!-- POST META <?php the_ID(); ?> END -->

    <?php endwhile; ?>
    <?php else : ?>
    <p class="center"><?php echo $not_found;?></p>
    <p class="center">آسف ، ولكن كنت تبحث عن شيء غير موجود هنا.</p>
    <?php endif; ?>
    <?php //$wp_query = null; $wp_query = $temp; ?>
    </div>
    <!-- POST ENTRY END -->

    <?php endif; // if/else is_home || is_paged ?>
    </div>
    <!-- #main -->
    <div class="clear"><!-- --></div>
    <?php
    /**
    * If is_home || is_paged
    * include authorcarousel
    * Strangely, if is_home is checked here, it is FALSE
    * So, a new var ($home_is_set) is set above to TRUE know if it is_home
    */
    if($home_is_set) {
    //echo 'hello';
    get_template_part('authorcarousel');
    }
    ?>

    ---------------------------------
    <?php
    /**
    * If is_home or is_paged
    * include featured.php
    * Else, create the regular loop for other templates
    */
    ?>
    <?php
    /** arabic translations */
    $posted_by = 'أرفق';
    $not_found = 'لم يتم العثور على';
    $edit_post = 'تعديل مشاركة';

    ?>

    <?php $home_is_set = FALSE;?>
    <div id="sidebar" class="left widget-area">
    <?php get_sidebar(); ?>
    </div>
    <!-- #sidebar -->
    <div id="main" class="right">
    <?php if(is_home() || is_paged()): ?>
    <?php $home_is_set = TRUE;?>
    <?php include (TEMPLATEPATH . '/featured.php'); ?>
    <?php // END OF if(is_home() || is_paged()): ?>
    <?php elseif (is_tag()) : // For Tag arcvhive page ?>
    <div id="content_top"> </div>
    <!-- #content_top -->

    <h2 class="title post-tag"><?php
    printf( __( 'أرشيف: %s', 'themex' ), '<span>' . $current_tag = single_tag_title("", false) . '</span>' );
    ?></h2>

    <div id="post-entry">
    <?php //$temp = $wp_query; $wp_query= null; $wp_query = new WP_Query('posts_per_page=&cat=&paged=' . $paged);?>
    <?php $postcounter = 0; if ($wp_query->have_posts()) : ?>
    <?php while ($wp_query->have_posts()) : $postcounter = $postcounter + 1; $wp_query->the_post();?>
    <div class="post-meta" id="post-<?php the_ID(); ?>">
    <div class="post-info">
    <h2 class="title">" rel="bookmark" title="<?php the_title(); ?>">
    <?php the_title(); ?>
    </h2>
    <div class="post-date">
    <?php echo get_the_date();?> | <?php the_author_posts_link(); ?></div>

    <!-- POST DATE END -->
    <div class="post-admin">
    <!--  on  -->
    <?php //the_category(', ') ?>
    <?php edit_post_link('+'.$edit_post); ?>
    </div>
    <div class="clearfix"></div>
    </div>
    <!-- POST INFO END -->
    <div class="post-content">
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="thumb">
    <?php the_post_thumbnail(array(180,9999), array('class' => 'alignleft')); ?>
    </div>
    <?php } else { ?>
    <?php //get_post_image(); ?>
    <?php } ?>
    <?php
    //the_post_excerpt($excerpt_length=50);
    //the_content();
    $newexcerpt = get_the_excerpt() ;
    $newexcerpt = strip_tags( $newexcerpt ) ;
    echo $newexcerpt;
    //the_excerpt();
    ?>
    <div class="clearfix"></div>
    </div>
    <!-- POST CONTENT END -->
    </div>
    <!-- POST META <?php the_ID(); ?> END -->

    <?php endwhile; ?>
    <?php else : ?>
    <p class="center"><?php echo $not_found;?></p>
    <p class="center">No posts found in above tag!</p>
    <?php endif; ?>
    <?php //$wp_query = null; $wp_query = $temp; ?>
    </div>
    <!-- Tag Listing and POST ENTRY END -->

    <?php else: ?>
    <div id="content_top"> <?php echo date_i18n('l, F j, Y') ?> </div>
    <!-- #content_top -->

    <div id="post-entry">
    <?php //$temp = $wp_query; $wp_query= null; $wp_query = new WP_Query('posts_per_page=&cat=&paged=' . $paged);?>
    <?php $postcounter = 0; if ($wp_query->have_posts()) : ?>
    <?php while ($wp_query->have_posts()) : $postcounter = $postcounter + 1; $wp_query->the_post();?>
    <div class="post-meta" id="post-<?php the_ID(); ?>">
    <div class="post-info">
    <div class="post-date"> <span class="month">
    <?php the_time('M') ?>
    </span> <span class="day">
    <?php the_time('d'); ?>
    </span> </div>
    <!-- POST DATE END -->
    <h1 class="title">" rel="bookmark" title="<?php the_title(); ?>">
    <?php the_title(); ?>
    </h1>
    <div class="post-admin"><?php echo $posted_by;?>
    <?php the_author_posts_link(); ?>
     on 
    <?php the_category(', ') ?>
    .  
    <?php edit_post_link('+'.$edit_post); ?>
    </div>
    <div class="clearfix"></div>
    </div>
    <!-- POST INFO END -->
    <div class="post-content">
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="thumb">
    <?php the_post_thumbnail(array(180,9999), array('class' => 'alignleft')); ?>
    </div>
    <?php } else { ?>
    <?php //get_post_image(); ?>
    <?php } ?>
    <?php
    //the_post_excerpt($excerpt_length=50);
    //the_content();
    $newexcerpt = get_the_excerpt() ;
    $newexcerpt = strip_tags( $newexcerpt ) ;
    echo $newexcerpt;
    //the_excerpt();
    ?>
    <div class="clearfix"></div>
    </div>
    <!-- POST CONTENT END -->
    </div>
    <!-- POST META <?php the_ID(); ?> END -->

    <?php endwhile; ?>
    <?php else : ?>
    <p class="center"><?php echo $not_found;?></p>
    <p class="center">آسف ، ولكن كنت تبحث عن شيء غير موجود هنا.</p>
    <?php endif; ?>
    <?php //$wp_query = null; $wp_query = $temp; ?>
    </div>
    <!-- POST ENTRY END -->

    <?php endif; // if/else is_home || is_paged ?>
    </div>
    <!-- #main -->
    <div class="clear"><!-- --></div>
    <?php
    /**
    * If is_home || is_paged
    * include authorcarousel
    * Strangely, if is_home is checked here, it is FALSE
    * So, a new var ($home_is_set) is set above to TRUE know if it is_home
    */
    if($home_is_set) {
    //echo 'hello';
    get_template_part('authorcarousel');
    }
    ?>

  8. Rain into Rainbows
    Member
    Posted 2 years ago #

    @Salsool -- You might want to start a new thread so that someone will see your question.

    ----------------------------------------------

    I've still been unable to resolve this & I really like the plugin. Anyone else have any ideas? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.