Title: bcastillo's Replies | WordPress.org

---

# bcastillo

  [  ](https://wordpress.org/support/users/bcastillo/)

 *   [Profile](https://wordpress.org/support/users/bcastillo/)
 *   [Topics Started](https://wordpress.org/support/users/bcastillo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bcastillo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bcastillo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bcastillo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bcastillo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bcastillo/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Improve Post Preview](https://wordpress.org/support/topic/improve-post-preview/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/improve-post-preview/#post-6274018)
 * I solved it:
 * I went to content.php
    I looked for the “the_content(); and replaced it with:
 * `<?php /*the_content();*/the_excerpt_max_words(30,$post); ?>`
 * 30 is the number of words to be displayed.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Improve Post Preview](https://wordpress.org/support/topic/improve-post-preview/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/improve-post-preview/#post-6274009)
 * It’s tech gostore. It’s not listed in themes.
 * I understand that I need to use ‘the_excerpt()’ and include it in the template
   but how do I use it?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Template with absolutely no inheritance](https://wordpress.org/support/topic/custom-template-with-absolutely-no-inheritance/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/custom-template-with-absolutely-no-inheritance/#post-6153092)
 *     ```
       <?php
       /**
        *	Template Name: Very Custom Template
        */
        ?>
   
        <?php
       							/* Run the loop to output the posts.
       							 * If you want to overload this in a child theme then include a file
       							 * called loop-index.php and that will be used instead.
       							 */
       								if(have_posts()) : while(have_posts()) : the_post();
       								?>
       									<div class="page-item">
   
       										<div><?php the_content(); ?></div>
       									</div>
       								<?php
       								endwhile;
       								endif;
       							?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display recent post's featured image](https://wordpress.org/support/topic/display-recent-posts-featured-image/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/display-recent-posts-featured-image/#post-6152964)
 * Thank you Tapan!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom 500 error page](https://wordpress.org/support/topic/customer-500-error-page/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customer-500-error-page/#post-5881621)
 * oh right. Thanks for the heads up!
 * Cheers!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom 500 error page](https://wordpress.org/support/topic/customer-500-error-page/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/customer-500-error-page/#post-5881616)
 * Thanks for the insight cubecolour-senpai
 * But can you please elaborate on how I can do that? I have access to the root 
   through cPanel. I guess I might have to change/add something to the .htaccess
   docs(?)
 * I’m quite a greenhorn in this area.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Completely new/reset formatting](https://wordpress.org/support/topic/completely-newreset-formatting/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/completely-newreset-formatting/#post-5877833)
 * Many thanks Matt Knowles!
 * I’ll try these options
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Triple clicking causes 500 Internal Server Error](https://wordpress.org/support/topic/triple-clicking-causes-500-internal-server-error/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/triple-clicking-causes-500-internal-server-error/#post-5798911)
 * Hi Tara, thanks for the response.
 * Can you please elaborate on the flushing cache part? I’m discombobulated on what
   it is or how I can do it.
 * There’s a plugin called wordfence and it has an option to clear the cache, and
   a basic caching option which I enabled but nothings seems changed.
 * Also, if I changed the theme to twenty-fourteen, will it have any differences
   or effect when I put it back on the original theme?
    I’m scared that I’ll mess
   up this already messed-up website :p
 * I’ve tried the others but sadly, it didn’t work out.
    Apologies for a lot of 
   questions and sorry for my english Any help would be appreciated!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Can't install child theme](https://wordpress.org/support/topic/theme-wd-techgostore-cant-install-child-theme/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/theme-wd-techgostore-cant-install-child-theme/#post-5794746)
 * Ah yes, thank you.
    I’ve now changed the Template to wp_techgostore-theme-package
   So now it’s activated.
 * But another problem is that it has a messed up formatting when I try to preview
   the child-theme.
 * I think it’s coming from my functions.php since I have three .css styles but 
   I only enqueue one as in my code below:
 *     ```
       add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
       function theme_enqueue_styles() {
       wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
       ```
   
 * Don’t really know how to enqueue the other two.
    Any insights would be appreciated
   🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Edit other css files](https://wordpress.org/support/topic/edit-other-css-files/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/edit-other-css-files/#post-5764241)
 * The other css files cannot be edited/viewed in the WordPress dashboard.
 * So, I modified it in the cPanel and found out it would take a few minutes before
   the changes will be applied.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to find the real index.php?](https://wordpress.org/support/topic/how-to-find-the-real-indexphp/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/how-to-find-the-real-indexphp/#post-5633983)
 * Alright, so what you’re saying is that the contents of the website’s front page
   is divided into different files like **header.php** and **footer.php**
 * That really cleared things up, thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to find the real index.php?](https://wordpress.org/support/topic/how-to-find-the-real-indexphp/)
 *  Thread Starter [bcastillo](https://wordpress.org/support/users/bcastillo/)
 * (@bcastillo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/how-to-find-the-real-indexphp/#post-5633976)
 * The website is [http://www.enigmabeauty.net](http://www.enigmabeauty.net)
    There
   are 4 themes in the wp-content folder. I have no idea which one is being used.
   Also, please tell me what file in that theme folder I should edit; I checked 
   most of them, can’t really find it. I’m lost.
 * Thanks.

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