laxstar2
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Hide post from everyone except author and adminThanks for the fast response! This works well to force the login. Thank you.
I still would like to limit the visibility and access of each post to the author of the post and the teacher/admin.
any ideas?
thanks again
Forum: Fixing WordPress
In reply to: Single Post Homepages in 1.3adoes this work in WP2???
Forum: Fixing WordPress
In reply to: Search from outside pagesorry i put it in the wrong section and didnt know how to delete it from installation section
Forum: Themes and Templates
In reply to: Inserting WP Templates in External PHP Pagei get this error:
Warning: Invalid argument supplied for foreach() in /home/northwe5/public_html/wp-includes/template-functions-category.php on line 393
i have code included to only show the archive when in category 2, i think this is the cause of the problem, but i dont know how to fix it
Forum: Fixing WordPress
In reply to: archive by categorymore on this:
ok so i found get_archive in wp-includes/template-functions-general.php
i found that if i change line 304 from this:$url = get_month_link($arcresult->year, $arcresult->month);
to this
$url = get_month_link($arcresult->year, $arcresult->month).’&cat=2′;
i get what i want (except that it yields months when other categories had posted and the desired one did not ). but i find this method kinda inelegant. I would rather use a plugin, maybe that adds a new function ‘get_archiveBYcat’ or something but once again i dont know really how to write that, any ideas?? thanks