Forum Replies Created
PS:After having this child functions.php I started getting the warning below everytime I change graphene options.
Warning: Cannot modify header information – headers already sent by (my child functions.php) in my pluggable.php line xxx where I have
header(“Location: $location”, true, $status);
have read your thread;
made sure there were no space in my child functions.php.
have found this;
then removed the closing tag ?> from my child functions.php and then the warning disappeared.
I have no idea the logic behind 🙂 but it worked so pls allow me putting this here in case someone encounters same issue.
Thanks Syahir for prompt reply.
I followed your instruction but I guess my child functions.php is not working properly.
Now if I access my site, a text contents of functions.php briefly appears (for a sec or less) and then it goes to my site with the functions.php text appearing on top of my top page (above the header).
This is snippet of my index.php from graphene theme
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
And (since I did not have funtions.php file in my child theme folder) I created it and copied and pasted what you instructed.
I left this part as is for the purpose of test.
$cats = array(1); // The IDs of categories to be excluded
(category ID 1 is for ‘uncategorized’ category so it should have hidden that category…but no luck)
Sorry for being novice, but am I missing anything? how can I make my child’s functions.php work?
Thanks mate! it works!
Yeah, Syahir I knew you would visit my site so I left message there to make sure you understand my query. 🙂
Thanks Kim, yes I may put it back as Welcome/info in the future.
For now, my question has been answered perfectly and so promptly.
This is great tips and is working really well.
Thanks for this.
One quick question I have is that, you know the slider contents come from post articles, meaning I have to have articles used for the slider images purpose only, which appears in the blog posts as well (of course), which is not cool…
Can we somehow hide those articles (ie, slider image purpose only articles) from blog thread?
Viewing 5 posts - 1 through 5 (of 5 total)