jason_333
Forum Replies Created
-
Thanks Clayton. I didn’t know about editing the index.php file and moving a copy of it to the root. Now it works although I might decide to dump all the files at the root since now my site is accessible at mysite.com as well as mysite.com/wordpress which I fear may cause duplicate content issues.
Forum: Fixing WordPress
In reply to: How to have two different comment templatesThanks zeally, but I had to use this to call it:
<?php include (TEMPLATEPATH . ‘/comments2.php’); ?>
Forum: Fixing WordPress
In reply to: How to get Post Title outside the loopThanks guys, esmi: <?php single_post_title(); ?> did the trick. Thanks.
Forum: Fixing WordPress
In reply to: Directly accessing theme folder shows fatal errorsamboll thanks, I never knew errors could be suppressed using wp-config. I added the bit of code from the codex and it did suppress errors, not for directly accessed files but still very helpful.
Forum: Fixing WordPress
In reply to: Directly accessing theme folder shows fatal errorWow this does actually work:
<?php @ini_set('display_errors','Off'); ?>
I wonder why it only works if I put it in template files and not when I just put it in header.php. After all, all my template files have a call to the header in them. Buy yeah, putting it in each file is a bit too much.
Forum: Fixing WordPress
In reply to: Directly accessing theme folder shows fatal errorGodaddy, right now I’m just on a economic plan until I finish building my site. I will soon be getting a dedicated server. I’m sure I will have control over the php.ini file then, if not I will ask them to turn off display errors for me. I saw some PHP snippets posted on the web that are supposed to prevent error messages but I could mever get them to work and I’m pretty sure it can’t be done with htaccess. So I’ll just have to do it the php.ini way I guess. Thanks.
Forum: Fixing WordPress
In reply to: Directly accessing theme folder shows fatal errorI was reading about the php.ini file this morning but unfortunately my economic hosting plan doesn’t allow me access to it. I was hoping there was some other way of suppressing errors but perhaps there isn’t ??
Forum: Fixing WordPress
In reply to: Directly accessing theme folder shows fatal errorYou’re right jceresini, that is the error I see. I’m not trying to accomplish anything, I just don’t want the error because in Godaddy hosting one’s account username appears in the error path like so.
Fatal error: Call to undefined function query_posts() in /home/content/a/b/c/USERNAME/html/wp-content/themes/theme_name/index.php on line 1
This may not be that big of a security threat but it still does reveal one’s account username. So it would be nice if I could prevent this error message from showing and possibly all other error messages as well.
Forum: Fixing WordPress
In reply to: I know I’m being a real hair splitter about this but…Another correction:
Why is the ending
</li>
on the next line instead of being right next to the</a>
?Forum: Fixing WordPress
In reply to: I know I’m being a real hair splitter about this but…Okay code got stripped, here we go again:
<li class="cat-item cat-item-339"><a href="https://www.poshder.com/music-videos/miscellaneous/" title="Miscellaneous Music Videos"><span>Miscellaneous</span></a> </li>
Forum: Fixing WordPress
In reply to: How to get rid of the excerpt from rss feedsI’m using wordpress 2.8.4 and those files don’t exit in the wp-includes folder or anywhere else for that matter.
I just answered my own question. I didn’t see the option in the plugin settings under Location of your Site map File. I changed the names there and of the file itself and so far it seems to be working. Keeping my fingers crossed. The only question is will Google and other Search Engines still recognize the uniquely named file as a site map?
Forum: Fixing WordPress
In reply to: How to make this link show only on posts and not on pages?Okay third times the charm:
<span class="linkx"><a href="#">Link Text</a></span>
Forum: Fixing WordPress
In reply to: How to make this link show only on posts and not on pages?Sorry here is the link again:
<span class=”linkx”>Link Text</span>