Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Leytonstone

    (@leytonstone)

    Hi Chandan

    Thanks for your ongoing advice.

    I tried your suggestion but the only thing that did was to make a slight change to the layout of the dedicated (single) tweet pages,

    How do I contact you? the link to your website doesn’t appear to be working – chandankumar.in

    Id be happy to work something out with you regarding any time you have to help me with this.

    Thanks

    Thread Starter Leytonstone

    (@leytonstone)

    Hi Chandan

    Thanks so much for offering to help.

    This is my themes ‘Single Post (single.ph)’ template. is this the right one?

    <?php
    /**
    * The template for displaying all single posts and attachments
    *
    * @package Cyanotype
    * @since Cyanotype 1.0
    */

    get_header(); ?>

    <div id=”primary” class=”content-area”>
    <main id=”main” class=”site-main” role=”main”>

    <?php
    // Start the loop.
    while ( have_posts() ) : the_post();

    get_template_part( ‘content’, ‘single’ );

    // If comments are open or we have at least one comment, load up the comment template.
    if ( comments_open() || get_comments_number() ) :
    comments_template();
    endif;

    // Previous/next post navigation.
    the_post_navigation( array(
    ‘next_text’ => ‘<span class=”meta-nav” aria-hidden=”true”>’ . __( ‘Next’, ‘cyanotype’ ) . ‘</span> ‘ .
    ‘<span class=”screen-reader-text”>’ . __( ‘Next post:’, ‘cyanotype’ ) . ‘</span> ‘ .
    ‘<span class=”post-title”>%title</span>’,
    ‘prev_text’ => ‘<span class=”meta-nav” aria-hidden=”true”>’ . __( ‘Previous’, ‘cyanotype’ ) . ‘</span> ‘ .
    ‘<span class=”screen-reader-text”>’ . __( ‘Previous post:’, ‘cyanotype’ ) . ‘</span> ‘ .
    ‘<span class=”post-title”>%title</span>’,
    ) );

    // End the loop.
    endwhile;
    ?>

    </main><!– .site-main –>
    </div><!– .content-area –>

    <?php get_footer(); ?>

    Thread Starter Leytonstone

    (@leytonstone)

    Hi Chandan

    Sorry, this means nothing to me.

    Im using your plug-in to post tweets to my home page.

    Where will I find the code that needs editing to include “$post->post_content” as you’re suggesting?

    Would it be just a matter of altering existing code? I wouldn’t know how to write anything new or where to place it.

    Thanks for your help

    Thread Starter Leytonstone

    (@leytonstone)

    Hi Chandan

    Many thanks for your advice, but I’m unsure what you’re suggesting. In practical terms, how do I go about “using post content for displaying tweet text with links.”?

    Many thanks

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