bcastillo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Improve Post PreviewI 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
In reply to: Improve Post PreviewIt’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
In reply to: Custom Template with absolutely no inheritance<?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
In reply to: Display recent post's featured imageThank you Tapan!
Forum: Fixing WordPress
In reply to: Custom 500 error pageoh right. Thanks for the heads up!
Cheers!
Forum: Fixing WordPress
In reply to: Custom 500 error pageThanks 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
In reply to: Completely new/reset formattingMany thanks Matt Knowles!
I’ll try these options
Forum: Fixing WordPress
In reply to: Triple clicking causes 500 Internal Server ErrorHi 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 :pI’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
In reply to: Can't install child themeAh 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
In reply to: Edit other css filesThe 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
In reply to: How to find the real index.php?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
In reply to: How to find the real index.php?The website is https://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.