Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter andreflash

    (@andreflash)

    Hi, Alexander. You’re a genius. After reading your note, it made me go back and re-examine what I might have done wrong in implementing your code. Surely enough, I missed putting that period in front of the word “main-inner.” When I did that, it was magically fixed! Again, thanks a million for the help.

    If you ever want to advertise or something on my site, I’ll give you a free plug. We get over 200,000 pageviews a month. So, maybe I can help you out in return since the theme and support was free. Just a thought. Thanks again….Andre

    Thread Starter andreflash

    (@andreflash)

    Hi, Alexander. Thanks for your quick response. I tried your suggestion, but unfortunately, it didn’t work. Do you have any other suggestions?

    Just another thing to note. I’m running the older version 1.2.1 typcore theme with the 5.7.8 WordPress version and php version 7.1.33. Do you think upgrading to the latest theme version would help? I try not to upgrade very often because I’m afraid something might go wrong. Also, I’m not familiar with working with child themes. So, I would have to re-add everything when upgrading the theme.

    Anyways, any other suggestions would be greatly appreciated. Thanks again….Andre

    Thread Starter andreflash

    (@andreflash)

    Hi Alexander,

    Thanks for the response. I actually had tried that, but it didn’t work. It might work with a child theme as you suggest, but I don’t have much experience working with those.

    Anyways, it’s ok though. I figured out that the problem is that I always wrote custom excerpts, and your theme only carries out the number of words if the custom except is left blank. When it ‘s left blank, it works fine. I was able to find an excerpt plugin that will ignore my previous custom excerpts and just put the number of words that I specify.

    But ultimately, I just decided to disable the excerpts in your theme, and just have it display the headlines on the archive pages, and that’s been working great. I still ranks the same in Google. So, everything’s good.

    Again, I applaud you for your great Typecore theme. I love it, especially on the mobile phones. It loads up fast and everything. It truly is a premium theme for free. I actually would have paid for this theme if I had to. I also like how I can just change the colors to bright with a click of a button. It’s running on my main site ontheflix.com . You can check it out if you want.

    Also, I don’t know if you can do this, but in the future, can you make it to where the excerpt will show the amount of words regardless of custom excerpts like the plugin does? I’m just curious because I like to avoid using extra plugins if I can. Thanks again….Andre

    Oh, I almost forgot. I meant to ask you about the sidebars. I was curious is there a way to switch the main sidebar to show up on the right and have the secondary sidebar show up on the left on all pages and posts? Thanks

    • This reply was modified 5 years, 1 month ago by andreflash.
    Thread Starter andreflash

    (@andreflash)

    Hi Alexander, I figured out what was wrong. Is there any way I can get your theme to pull from the full content instead of the excerpt?

    Whenever themes pull from the full content, it doesn’t ignore my <!–more–> tag and only displays the content before the <!–more–> tag on the archive pages. Thanks and sorry for all the confusion…..Andre Braddox

    Thread Starter andreflash

    (@andreflash)

    Hi, Alexander. I tried to post some code of what my old theme files looked like, but WordPress held it for moderation for some reason. Hopefully, they will approve it soon.

    Thread Starter andreflash

    (@andreflash)

    Here was the archive code that my old theme used:

    <?php get_header(); ?>
    <div class=”outer” id=”contentwrap”>
    <?php get_sidebars(‘left’); ?>
    <div class=”postcont”>
    <div id=”content”>

    <?php if (have_posts()) : ?>

    <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    <?php /* If this is a category archive */ if (is_category()) { ?>
    <h2 class=”pagetitle”>Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
    <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    <h2 class=”pagetitle”>Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    <h2 class=”pagetitle”>Archive for <?php the_time(‘F jS, Y’); ?></h2>
    <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    <h2 class=”pagetitle”>Archive for <?php the_time(‘F, Y’); ?></h2>
    <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    <h2 class=”pagetitle”>Archive for <?php the_time(‘Y’); ?></h2>
    <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    <h2 class=”pagetitle”>Author Archive</h2>
    <?php /* If this is a paged archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
    <h2 class=”pagetitle”>Blog Archives</h2>
    <?php } ?>

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

    <h2 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>

    <p><div <?php post_class() ?>>
    <div class=”postdate”>/images/date.png” />

    Posted by <?php the_author_posts_link() ?> on <?php the_time(‘F jS, Y’) ?> /images/folder.png” /> <?php the_category(‘, ‘) ?> /images/comments.png” /> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?> <?php if (current_user_can(‘edit_post’, $post->ID)) { ?> /images/edit.png” /> <?php edit_post_link(‘Edit’, ”, ”); } ?></div></p>

    <font color=”black”> <div class=”entry”>
    <?php the_content(‘Read more »’); ?>
    </div></font>
    </div>

    <?php endwhile; ?>

    <div class=”navigation”>
    <?php if (function_exists(“pagination”)) {
    pagination($additional_loop->max_num_pages);
    } ?>

    </div>
    <?php else :

    if ( is_category() ) { // If this is a category archive
    printf(“<h2 class=’pagetitle’>Sorry, but there aren’t any posts in the %s category yet.</h2>”, single_cat_title(”,false));
    } else if ( is_date() ) { // If this is a date archive
    echo(“<h2 class=’pagetitle’>Sorry, but there aren’t any posts with this date.</h2>”);
    } else if ( is_author() ) { // If this is a category archive
    $userdata = get_userdatabylogin(get_query_var(‘author_name’));
    printf(“<h2 class=’pagetitle’>Sorry, but there aren’t any posts by %s yet.</h2>”, $userdata->display_name);
    } else {
    echo(“<h2 class=’pagetitle’>No posts found.</h2>”);
    }
    get_search_form();

    endif;
    ?>

    </div>
    </div>

    <?php get_sidebars(‘right’); ?>
    </div>
    <?php get_footer(); ?>

    Here is the Index.php file it used:

    <?php get_header(); ?>
    <div class=”outer” id=”contentwrap”>
    <?php get_sidebars(‘left’); ?>
    <div class=”postcont”>
    <div id=”content”>
    <?php if(is_home()) { include (TEMPLATEPATH . ‘/featured.php’); } ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <h2 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>

    <p><div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
    <div class=”postdate”>/images/date.png” />

    Posted by <?php the_author_posts_link() ?> on <?php the_time(‘Y-m-d g:iA’) ?> /images/folder.png” /> <?php the_category(‘, ‘) ?> /images/comments.png” /> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?> </div></p>

    <font color=”black”> <div class=”entry”>
    <?php the_content(‘Read more »’); ?>
    </div></font>
    </div><!–/post-<?php the_ID(); ?>–>

    <?php endwhile; ?>
    <div class=”navigation”>
    <?php if (function_exists(“pagination”)) {
    pagination($additional_loop->max_num_pages);
    } ?>
    </div>
    <?php else : ?>
    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php get_search_form(); ?>

    <?php endif; ?>
    </div>
    </div>

    <?php get_sidebars(‘right’); ?>
    </div>
    <?php get_footer(); ?>

    Thread Starter andreflash

    (@andreflash)

    Hi, sorry , no. The theme that’s on my newzhot site is using your Typecore theme, and I just learned that the content.php is what pulls the excerpt with your theme. My old them didn’t have a content.php file.

    I remember going into the archives.php file, and I believe the index.php file in my old theme and being able to stop it from pulling the feature image, and it just naturally only included the text that came before my <!–more–> from within the wp post editor despite how many words I put in the excerpt box.

    It would do that for the home page, the archive pages for each category. However, it was an older theme that was made in 2012 or 2013, and it wasn’t mobile friendly.

    I guess the themes are coded differently these days because your theme isn’t the only one that pulls my entire excerpt and ignores my <!–more-> from inside the wp post editor.

    I kind of have to put all my entire post in the excerpt, or at least most of it because it’s a news source for IMDB, and I also do the Facebook instant articles which I believe pulls from the excerpt in the rss feed. I could be wrong about that though. I’m not entirely sure because I’ve always just included my entire articles in the excerpt box.

    Anyways, if you have any ideas how it could be set up for me to still put my entire article in the excerpt box and have it just pull part of it, it would be greatly appreciated.

    I was able to get the Jetblog plugin with elementor pro to do it, but it will only pull the same list for all the archive pages. Not the actual category posts for the archives. For instance, I could only use it on a “custom” homepage and no where else. It will only pull the latest posts. Not the actual category posts.

    Again, thanks for any help you could provide. I might have to find someone local to dig into the code and see what they can do, or just fall back to my old theme.

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