idealists
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Adding custom rewrite rule to my blogThanks, I’ve tried add the following:
RewriteRule ^card/(.*)/$ /index.php?page_id=215&card=$1 [L]
To my htaccess and it breaks the site.
Htaccess below:<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^card/(.*)/$ /index.php?page_id=215&card=$1 [L] RewriteRule . /index.php [L] </IfModule>I just want to rewrite mysite.com/card/card-one/ etc, to my specific WordPress page (#215).
Hope that makes sense.
Forum: Fixing WordPress
In reply to: Custom content in templates headerWorks a charm, thanks much.
I changed to <?php the_content(); ?> as I wanted the actual post content.Forum: Fixing WordPress
In reply to: Custom content in templates headerThanks, I’ll give it a try.
Forum: Fixing WordPress
In reply to: Custom content in templates headerHi doc
Thanks for that
Can the “Hello World, This is the Home Page” text come from a custom page (like the About page)?
So then if one needs to update the content they could do it from within the WP admin environment.
Forum: Everything else WordPress
In reply to: Problem with wp_schedule_single_eventwhere post_date_gmt = gmdate(“Y-m-d H:i:s”,$some_timestmp);
and $ID is the id past to the function by xmlrpc_publish_post actionForum: Fixing WordPress
In reply to: Accessing post title in content_save_pre🙁 ANYONE?
Forum: Fixing WordPress
In reply to: Accessing post title in content_save_preAnyone?
Is this not the right place to post such a question?
Forum: Fixing WordPress
In reply to: Accessing post title in content_save_preSo, is this possible?
For example, if I wanted to write a plugin that parses the content before saving, for any mention of the title in the content, and then highlite it (wrap it in strong tags, etc). This isn’t what I need to do, but just an easy example to explain.
Forum: Fixing WordPress
In reply to: wp-cron issueResolved thx