bang
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Running PHP in a post URL?I paid a PHP guru look at it and he came up with this solution. Here’s How you do it:
1. Install and activate the PHPExec plugin: https://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/
2. Using PHP echo the entire
<a>
, and enclose that<a>
in the PHPExec tags (<phpcode>
,</phpcode>
)So for example, if I wanted to make a link to
site.com?x=<?php echo $_GET['x']; ?>&pg=1
using the link textLink Text
then I would put this in my post:<phpcode><? echo "<a href=site.com?x={$_GET['x']}&pg=1>Link Text</a>" ?></phpcode>
I could also use regular HTML for the link, as well as an
<img>
as long as there are no quotes. Use single quotes. For example, to link to that same page using the imagepic.jpg
I would put this in my post:<phpcode><? echo "<a href=site.com?x={$_GET['x']}&pg=1><img src=pic.jpg></a>" ?></phpcode>
Hopefully this helps those of you that were having a hard time with this as well. Cheers.
Forum: Fixing WordPress
In reply to: Sticky problem (pun intended)Open up your Main template.
At the top you wil see code sort of like this:<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>!!!
<div align=center id="post-<?php the_ID(); ?>"><div id=title><a class="title" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
Without the “!!!”. Take those out and replace it with your code for the sticky text and it will be at the top of the page and it won’t go anywhere.
Forum: Fixing WordPress
In reply to: Running PHP in a post URL?I have tried both. They both work in regular post text but neither seem to work inside hrefs.
Forum: Fixing WordPress
In reply to: Green Marinee help pleaseI’ll do it for you.
I have to take a break from trying to fix my problem anyway. ??AIM: xdolla
ICQ: 312744199
E: [email protected]Forum: Fixing WordPress
In reply to: How to only allow users to post to one category…Ah thanks.
I did search but I didn’t find that thread.Forum: Fixing WordPress
In reply to: New users not getting an email…Thanks, but I still can’t find a solution to this.
Forum: Fixing WordPress
In reply to: Is it safe to get rid of “/category/” in permalinks?Ok, i’ll give it a try again. Thanks.
Forum: Fixing WordPress
In reply to: I will pay you $$ to fix whatever is wrong with my blog…Oh. Geez, I didn’t even know I did that.
Sorry everyone.David, I just replied to your email. Thanks.
Yeah, I hope I don’t have to do a Nightly again.Forum: Fixing WordPress
In reply to: I will pay you $$ to fix whatever is wrong with my blog…Okay, here’s an update.
I got it fixed. Someone recommended that I upgrade with the latest nightly build (which I never even heard of – bookmarked now) and it worked. Everything works fine now.
That was odd.Thanks for the attempt at helping, guys.
BTW…why is my post moderated? Did I mess up and put a url in there? Sorry about that.
Forum: Fixing WordPress
In reply to: Blank page error.. eeps..Did you reach your bandwidth/space quota? ??
Forum: Fixing WordPress
In reply to: Big rewrite problem…I just did that. Still no go.
Thanks though.Forum: Fixing WordPress
In reply to: Different template for a single page?Worked. Thanks!
Forum: Fixing WordPress
In reply to: Big rewrite problem…Yes, mod_rewrite is ON.
Forum: Fixing WordPress
In reply to: Big rewrite problem…Kafkaesqui,
I just did that and when I click on the post title it again sends me to the WP 404. Does that mean mod_rewrite is off? Everything else works fine, and it used to work…
Let me ask my host.
Thanks.Forum: Fixing WordPress
In reply to: Big rewrite problem…Thanks, but all that does is add the ending slash that I would rather do without.
It still does not work.
I appreciate the attempt though.