AphelionZ
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] CF7 SendgridI figured it out!
I was sending my emails to sendgrid like so:
Firstname Lastname <[email protected]>
and sendgrid needs it to just be the raw email:
As soon as I fixed that the problem went away.
Thanks!
Forum: Fixing WordPress
In reply to: Cannot Modify Headers – wp-includes/query.php:390I got it running now with no warnings, but it still doesn’t redirect for some reason – and its not calling any errors! Here’s the code in question:
add_action('init', 'search_egg_redirect', 0); function search_egg_redirect() { global $wpdb; $query = $wpdb->prepare($_GET['s']); if(!empty($query)) { $term_row = $wpdb->get_row('SELECT term,page_id FROM pshock_searcheggs WHERE TERM="' . $query . '" LIMIT 1'); if($term_row->term) { wp_redirect('https://google.com'); } } }
Forum: Fixing WordPress
In reply to: Cannot Modify Headers – wp-includes/query.php:390Yeah, it’s all notices and warnings based on some other plugins BUT that warning is one of them.
Forum: Fixing WordPress
In reply to: What’s Going on With Custom Fields?Has this bug been put into trac yet? And can anyone offer any other solutions/workarounds?
Forum: Plugins
In reply to: Have an idea for a plugin?How possible would it be to create a plugin that “demotes” wordpress blog posts to bbpress forum posts? Does something like this exist? I posted this same question on the bbPress forums as a thread, here:
Forum: Themes and Templates
In reply to: Modifying WP To Suit My Wesite DesignAll of your template files are kept in the folder:
wp-content/themes/default (if its a fresh install)
copy it to a new folder like wp-content/themes/yourtheme
and start editing the html – the files in there are just like your website code but with two important differences
1. they’re split up into different files like header.php, index.php, footer.php and
2. they’re littered with PHP template tags like the_title(); (which shows the title of the post.I’m sure there’s a page that details this somewhere.
Forum: Fixing WordPress
In reply to: the_date questiongot it.
<?php the_date("M j",'<div class="date">','</div>',true); ?>
Forum: Fixing WordPress
In reply to: the_date questionI just tried this little bit of code
<?php if(the_date('','','',false) != "") { ?> <div class="date"><?php the_date("M j",'','',true); ?></div> <? } ?>
and i got boxes every time, but I didn’t get the date.
It’s like if the_date gets called once, it doesn’t get called again…
Forum: Fixing WordPress
In reply to: Need a better way to hide categories from the index loopThanks!
Forum: Fixing WordPress
In reply to: Need a better way to hide categories from the index loopany ideas?
Even if its another thing using php syntax, i dont necessarily mind right now
Forum: Fixing WordPress
In reply to: Different number of displayed posts in cat view vs front pagePerfect, exactly what I needed. Thank you!
Forum: Fixing WordPress
In reply to: Different number of displayed posts in cat view vs front pageSorry, just to clarify – I know how to manipulate the template tags to show and hide what i dont want but my main question is how to show ~10 posts in the archive views and still have only one on the main page
Forum: Plugins
In reply to: WordPress/PHPBB/Gallery/MediaWiki IntegrationMy site it outletzine.org/newindex.php. It’s a blog based publication out of Lowell, MA. We have a (much more ‘artsy’) print copy of our zine and we host a weekly event. We’re looking to get a wider demographic interested, and also become somewhat of a content provider.