digiman999
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Category Specific Custom Field DisplayIt works! Many thanks.
Forum: Fixing WordPress
In reply to: Category Specific Custom Field DisplayDoesn’t work I’m afraid, gives:
Parse error: parse error, unexpected ‘{‘ in /home/edhowell/public_html/wp-content/themes/Defne/index.php on line 30
Forum: Fixing WordPress
In reply to: is_category for Custom FieldJust found a solution, thanks all the same.
Forum: Fixing WordPress
In reply to: <?php get_post_custom_values($key);?> Not Quite WorkingMy complete code so far has been this below, but no joy. Does this look right to you all?:
<?php get_post_custom_values($Feedback);
$mykey_values = get_post_custom_values(‘Feedback’);
foreach ( $mykey_values as $key => $value ) {
echo “$key => $value (‘Feedback’)
“;
}
?>Forum: Fixing WordPress
In reply to: <?php get_post_custom_values($key);?> Not Quite WorkingThe custom field is labelled Feedback under admin.
I just tried several routes, all giving Invalid Argument errors, such as
<?php $mykey_values = get_post_custom_values('Feedback'); foreach ( $mykey_values as $key => $value ) { echo "$key => $value ('Feedback')<br />"; } ?>
I also tried it with
<?php get_post_custom_values($Feedback); ?>
beforehand. I just don’t understand enough about PHP to logically figure it out. What’s the base code to put in, and have the Key’s been entered correctly in my example above?Regards
Forum: Fixing WordPress
In reply to: Permalink Structure Not Working for Brand New InstallResolved. Here’s what I did for those that don’t know, and many thanks to those that do!
Changed Apache Config (via webmin)
Changed
FollowSymLinks to FollowSymLinks <Location |https://www.wonderworldaudio.com> … </Location>
Changed
AllowOverride None to AllowOverride AllCreated .htaccess.txt, with
# BEGIN WordPress<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
uploaded to wordpress root, renamed to .htaccess, set permissions to 1646 (WR by Others)