• I have recently made several changes to a wordpress theme called Architekt in the theme editor to try and remove a side bar. When I look at the update in wordpress it works fine however when I view the update online there’s no change. I have tried resetting the code to the original code supplied with the theme but it doesn’t show these changes either. I have also tried clearing the cache in my browser to see if that would work and it doesn’t.

    I need to get this page back online asap and I can’t until I resolve this… can anyone help me?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Where did you download this theme from?

    Thread Starter Taniaelkhoury

    (@taniaelkhoury)

    It’s the architekt theme from a design company called dessign.

    Thread Starter Taniaelkhoury

    (@taniaelkhoury)

    I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s vendors.

    Thread Starter Taniaelkhoury

    (@taniaelkhoury)

    But can I ask if there would be any issues in WordPress that might cause this problem? I have a feeling that this is not an issue caused by the theme but by something failing to update changes.

    something failing to update changes.

    it is usually human error by editing the wrong templates, or templates in the wrong folder, or by forgetting about a caching plugin.

    what exactly are you trying to achieve?
    where do you want to remove the sidebar?
    which template have you edited?
    which method did you use to edit the template?

    do you have a link to the post/page with the ‘failed’ update?

    are you working with the free version of architekt?

    Thread Starter Taniaelkhoury

    (@taniaelkhoury)

    It most likely is human error… I have no doubt.

    I was working with someone who was previously working on the site and had played around with using the sidebar in the blog template to display the portfolio page and then I subsequently asked for the sidebar to be removed from the blog page so that all that would show would be blog posts. This was done and for a while it worked.

    Since then I have started working on the site by myself but I have less knowledge of the coding etc. On updating the blog page (I want to use instead as a news page- no change in the way that I set up posts etc but just change in what it’s called) I added posts as usual – it looks fine in the cms part of the site but when I make it live it shifts the position of all the posts to 3 columns instead of one and keeps incorporating pages from the portfolio page. I have tried downloading the theme from dessign again and copying the code for the blog template and inserting into the template using the editor but it’s not registering any changes. I tried switching the code back and the page shows exactly the same no matter what changes I make. I should add here that the changes do appear when I preview the pages in the cms/ back end of the site, the changes just don’t appear at all when made live. It just shows the same page again and again.

    I have tried emptying the cache of my browser and trying different browsers and the problem is the same. I have also checked for any cache type plugins and I don’t have any at all. I am using the free download of the architekt theme so there’s no support provided from this side of things. I haven’t yet tried reinstalling the theme as I wasn’t sure how to go about it and I wouldnt want to lose any info or have to spend time correcting possible errors.

    The sidebar was on the right side of the blog page and it was coded to show links to the portfolio. The blog listing would feature on the page in one column. Now what’s showing instead is three columns across the page with a mix of blog posts and portfolio pages.

    I will try and get a link for you to see. Thanks for your help

    Thread Starter Taniaelkhoury

    (@taniaelkhoury)

    https://taniaelkhoury.com/?page_id=990&preview=true
    https://taniaelkhoury.com/category/blog/

    I don’t think that these links will actually work as the pages aren t live right now,
    This is the code in the current blog template:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. Your code will become much more readable. ]

    <?php
    /*
      Template Name: Blog
    */
    ?>
    
    <?php get_header(); ?>
    
        <div id="single_container">
    
          <div id="single_left">
    
            <?php
            $args = array(
                         'category_name' => 'blog',
                         'post_type' => 'post',
                         'posts_per_page' => 3,
                         'paged' => ( get_query_var('paged') ? get_query_var('paged') : 1),
                         );
            query_posts($args);
            while (have_posts()) : the_post(); ?>            
    
            <div class="blog_box">
              <h3><a>"><?php the_title(); ?></a></h3>
    		  <a>"><?php the_post_thumbnail('featured-blog-listing'); ?></a>
    
            <p><?php $temp_arr_content = explode(" ",substr(strip_tags(get_the_content()),0,430)); $temp_arr_content[count($temp_arr_content)-1] = ""; $display_arr_content = implode(" ",$temp_arr_content); echo $display_arr_content; ?><?php if(strlen(strip_tags(get_the_content())) > 430) echo "[.....]"; ?></p>
            </div>
    
    		<!--//blog_box-->
    
            <?php endwhile; ?>
    
            <div class="navigation">
              <div class="left"><?php previous_posts_link('? Previous') ?></div>
              <div class="right"><?php next_posts_link('Next ?') ?></div>
              <div class="clear"></div>
            </div><!--//nagivation-->
            <?php wp_reset_query(); ?>                  
    
          </div><!--//single_left-->
            <?php get_sidebar(); ?>
    
          <div class="clear"></div>
    
        </div><!--//single_container-->
    
    <?php get_footer(); ?>
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you wrap code using the (code) button above your forum post?

    Thread Starter Taniaelkhoury

    (@taniaelkhoury)

    <?php
    /*
      Template Name: Blog
    */
    ?>
    
    <?php get_header(); ?>
    
        <div id="single_container">
    
          <div id="single_left">
    
            <?php
            $args = array(
                         'category_name' => 'blog',
                         'post_type' => 'post',
                         'posts_per_page' => 3,
                         'paged' => ( get_query_var('paged') ? get_query_var('paged') : 1),
                         );
            query_posts($args);
            while (have_posts()) : the_post(); ?>            
    
            <div class="blog_box">
              <h3><a>"><?php the_title(); ?></a></h3>
    		  <a>"><?php the_post_thumbnail('featured-blog-listing'); ?></a>
    
            <p><?php $temp_arr_content = explode(" ",substr(strip_tags(get_the_content()),0,430)); $temp_arr_content[count($temp_arr_content)-1] = ""; $display_arr_content = implode(" ",$temp_arr_content); echo $display_arr_content; ?><?php if(strlen(strip_tags(get_the_content())) > 430) echo "[.....]"; ?></p>
            </div>
    
    		<!--//blog_box-->
    
            <?php endwhile; ?>
    
            <div class="navigation">
              <div class="left"><?php previous_posts_link('? Previous') ?></div>
              <div class="right"><?php next_posts_link('Next ?') ?></div>
              <div class="clear"></div>
            </div><!--//nagivation-->
            <?php wp_reset_query(); ?>                  
    
          </div><!--//single_left-->
            <?php get_sidebar(); ?>
    
          <div class="clear"></div>
    
        </div><!--//single_container-->
    
    <?php get_footer(); ?>
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Blog template not updating in wordpress’ is closed to new replies.