Towfiq I.
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Custom Field Missing after 3.1 updateIs there any way to check this option on default via the theme functions.php ??
Forum: Themes and Templates
In reply to: AmphionLite Frequently Asked Questions [FAQ]Where is the Summary Field of the slider? Why don’t I see it?
In wordpress 3.1 the custom field option is disabled on default. To enable the custom field feature go to Posts > Add New . In the post editor page at the very top click on the “Screen Options” button. Now make sure “Custom Field” option is checked.
Check out this screenshot:
https://www.freeimagehosting.net/uploads/56c4da97be.pngIf you Like this theme Please Rate it!!
Forum: Plugins
In reply to: [Rate] Requires a comment to rate article?I Totally agree! Is there any kind of hack to achieve that?
Forum: Themes and Templates
In reply to: Cannot modify header information – headers already sent byyeah just figured that out few minutes ago. works without error now. thank you so much for your effort.
??
Forum: Themes and Templates
In reply to: Cannot modify header information – headers already sent bythank you for your reply. that triggered different error.
But, I think I narrowed down the problem. here is my latest functions.phpNow, when I save my theme option I get these errors:
Notice: Undefined index: ang_temp in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 147 Notice: Undefined index: ang_breadcrumbs in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 147 Notice: Undefined index: ang_hide_social in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 147 Notice: Undefined index: ang_hide_tw in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 147 Notice: Undefined index: ang_hide_fb in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 147 Notice: Undefined index: ang_hide_ms in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 147 Notice: Undefined index: ang_hide_rss in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 147 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php:147) in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 156
I tried to remove these two lines as you suggested:
foreach ($options as $value) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); }
It doesn’t trigger any error but then the theme settings doesn’t save.
BTW I am calling the theme options into my template files like this:
<?php //allows the theme to get info from the theme options page global $options; foreach ($options as $value) { if(isset($value['id'])){if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); }} } ?>
Forum: Themes and Templates
In reply to: Cannot modify header information – headers already sent bythank you so much for your reply.
I deleted the two lines(171 & 172) and gave every an id.
Now I am getting 3 lines of errors.
here is the edited functions.php
and
the new errors:Notice: Undefined index: id in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 180 Notice: Undefined index: id in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 183 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php:180) in C:\xampp\htdocs\wordpress\wp-content\themes\Angelia\functions.php on line 187
Forum: Themes and Templates
In reply to: Cannot modify header information – headers already sent byhere is my themes functions.php
https://pastebin.com/iPA5iDz0Forum: Themes and Templates
In reply to: Cannot modify header information – headers already sent byhere is my themes functions.php
https://pastebin.com/iPA5iDz0