5 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
VitalSigns23 says

Hey guys, I’m new to WordPress and don’t understand coding. I’ve installed a theme “Cassiopeia” and customised it to suit our needs, all good.

BUT there’s some stray text on the home page and after many many attepts I just can’t seem to get rid of it, you can see it here

http://c-suite.com.au/wordpress/

it the “sorry no search matched your criterior” just under the slider. Can anyone tell me how to get rid of it?

Thanks so much

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

try finding it on your home.php file or index.php file.

It seems like that area is supposed to display posts or a single post.

5 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
VitalSigns23 says

Hey thanks DD, I found this code in the “index” in the editor. I tried deleting the culprit text but then that made the whole site disappear. I got i back though. Would you be able to tell me what part of the code I need to delete? Or is there another thing I need to do?

Thanks so much

<?php endwhile; else: ?>

<?php _e(‘Sorry, no posts matched your criteria’, ‘framework’) ?> .

<?php endif; ?>
<!-left-col-end->
438 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
Pixelous says
You need to delete this lines:
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria’, ‘framework’) ?>
2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

You need to delete this lines:
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria’, ‘framework’) ?>
Dont delete the endwhile or else your loop will have a PHP error.

Just delete this line:

<?php _e(‘Sorry, no posts matched your criteria’, ‘framework’) ?> .

5 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
VitalSigns23 says

Thanks DD

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

No worries bud

5 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
VitalSigns23 says

No worries bud

Oh Jedi knight of coding…

dude, can I push the friendship and ask for one more piece of your extremely valuable advice (your last advice totally sorted my problem, mucho thanx!).

OK, I borrowed some code off another WP site and when inserted into this theme it works fine except for one problem – the image is now clickable but leads to ‘nowhere’. Here’s the code -

How much does Video Production cost?

Q: what do I have to delete to remove the ‘linkability’ (shit, did I just invent a word? probs not). I’d love it just to be an image on my home page without a link to anything

Many many thanks for any assistance mate

158 posts I think about colours
  • Located in Greece
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+3 more
SkatDesign says

From the code you’ve inserted remove this:


<a href="/video-production-faqs/">

and the ending:

</a>


5 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
VitalSigns23 says

Gina, you are the ‘She Jedi” of coding! All sorted, thankyou sooo much!!

ps you guys seriously ROCK !!!!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by