Copernicus
Forum Replies Created
-
Forum: Plugins
In reply to: homepage post slide showI am seeking a similar solution but have, as of yet, not found anything.
You might try reading the post from UpsideDownCity:
WordPress Featured Post Slideshow/. It seems to work fairly well, but has some problems (the author notes if the post count of your “featured” category is not divisible by 3, the system will crash).Also: take a look at the Hybrid News theme which does exactly what you want (but might be a bit difficult to translate to another design).
Good luck! Please post any successful discoveries here to help those in the WP community that have a similar interest.
That worked perfectly! Thank you MichaelH.
The only thing I had to change to get it working was the addition of a “;” before the “echo.”So, now, the entire snippet reads:
<p>{php:$datestring=jdtojewish(gregoriantojd({date:n,j,Y})); echo substr($datestring, -4);}</p>Thanks again, this was a huge help!
Forum: Fixing WordPress
In reply to: Showing Category Descriptions in category listI believe this thread will give you the proper code for displaying a category list along with each category’s description:
http://wordpress.org/support/topic/151935?replies=4#post-832204Follow-up (posted for the benefit of anyone else that might seek a similar solution):
I’m embarrassed to say that, after all of that work, the code snippet I had did not accurately transliterate the years (for example 12/15/2006 became 5766 instead of 5767).
Thus, I found another way utilizing a combination of what I learned from MichaelH (above) and Rob Marsh’s “Recent Posts” plugin.
Now, I employ the following code:
<?php if (function_exists('recent_posts')) recent_posts('included_cats=1&limit=10&output_template=<p><a href="{url}">{php:echo(jdtojewish(gregoriantojd({date:n,j,Y})));}</a></p>'); ?>and it displays the posts (in the sample above, the category of interest has the category ID of “1”) with the proper Hebrew date as a link.
Unfortunately, it displays the FULL date (MM/DD/YYYY) instead of just the year (which is what I require in my specific project)… but at least it works. As a note, the jdtojewish PHP function needs the full date in MM,DD,YYYY format to transliterate properly into a Hebrew year.
If I had better chops, I could probably figure out how to use the above code AND make it only display the year. For now, I do not have those chops.
Thanks again to MichaelH for the help.
Thanks again, Michael, for all your help!
It turns out, for whatever reason, I needed to have the code$gregorianMonth = mysql2date("n", $post->post_date); $gregorianDay = mysql2date("j", $post->post_date); $gregorianYear = mysql2date("Y", $post->post_date); $jdDate = gregoriantojd($gregorianMonth,$gregorianDay,$gregorianYear); $hebrewMonthName = jdmonthname($jdDate,4); $hebrewDate = jdtojewish($jdDate); list($hebrewMonth, $hebrewDay, $hebrewYear) = split('/',$hebrewDate);in BOTH loops.
Adding the code to both has it now working!
There’s probably a more efficient way to do this, but at this point, I’m just happy that it works.
Thank you!
Oh, man, Michael, thank you for the great start.
I’m definitely getting closer, but can’t get it to work just yet.
So far, I have:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $gregorianMonth = mysql2date("n", $post->post_date); $gregorianDay = mysql2date("j", $post->post_date); $gregorianYear = mysql2date("Y", $post->post_date); $jdDate = gregoriantojd($gregorianMonth,$gregorianDay,$gregorianYear); $hebrewMonthName = jdmonthname($jdDate,4); $hebrewDate = jdtojewish($jdDate); list($hebrewMonth, $hebrewDay, $hebrewYear) = split('/',$hebrewDate); ?>Then, in calling the posts, I am using either:
<?php global $post; $myposts = get_posts('numberposts=99&category=40'); foreach($myposts as $post) : ?> <a href="<?php the_permalink(); ?>"><?php the_time(Y); ?></a> <?php endforeach; ?>or
<?php global $post; $myposts = get_posts('numberposts=99&category=40'); foreach($myposts as $post) : ?> <a href="<?php the_permalink(); ?>"><?php the_time($hebrewYear); ?></a> <?php endforeach; ?>The first bit of code accurately displays the Gregorian year of each post (for example 2006 & 2009 for two sample posts). The second bit of code displays the Hebrew year – BUT it’s only the current Hebrew year, not the Hebrew year of the post (both of them showing up as 5769 rather than 5767 and 5769).
Does anything in the above set-up jump out as responsible for that problem?
Thanks again for the help!
Forum: Alpha/Beta/RC
In reply to: FAQ-Tastic Lite Not Working in 2.7??Hello bibflasso & artistwantab–
Bibflasso: I wish I could tell you what’s up with IE. I’ve found that certain things run smoothly in one browser or the other (it’s not always just an IE issue). As a general troubleshooting response, I ask users to try a different browser first. Regarding this plugin, though, it could possibly be an issue with the call to one of the AJAX scripts within the admin area or in the way that IE is handling those scripts. I wish I could help more; but I’d have to be looking at your particular installation since I haven’t experienced that issue myself.
artistwantab: it sounds like you haven’t yet made the updates to the plugin as described in this post. The problem you are describing is what we were all experiencing before making the changes I’ve listed earlier in this thread. Normally, I’d be happy to just post an updated version of the file for everyone to download, but the plugin author has a registration process that protects the plugin from open downloading & I want to respect his wishes. Hopefully, the instructions I’ve provided are clear enough until the author posts a version for WP 2.7.
That being said: if the author of FAQ-Tastic wants my help making the a 2.7-compatible version; I’m happy to offer it. I don’t have the time to get into plugin development; but I’d be happy to help get a working version posted so that everyone can continue creating the beloved FAQ lists! 🙂
Forum: Alpha/Beta/RC
In reply to: FAQ-Tastic Lite Not Working in 2.7??Hello reganfrank & bibflasso!
regarfrank: did you switch into the HTML view of the WP editor to enter the tag/text “[faq summary ImnewFAQ]”?
If so, try changing the name of your FAQ group to NOT use capital letters (opting for ‘imnewfaq’ instead of ‘ImnewFAQ’)bibflasso: Yes, you should be able to “drag & drop” the questions to reorder them. To do so, you simply visit the list of questions within a question group (WPAdmin>Tools>FAQ-Tastic>Questions for ‘YourGroupName’) then click on a question title and drag it up or down within the list of questions. If you’re able to view the question list but this functionality is not working, try visiting this part of the administration area in a different browser than the one you are using. It could have something to do with:
- the settings of your browser
- blocked or unavailable javascript (which is required for the drag & drop fun)
- or your installation of FAQ-Tastic not properly calling the required javascript
Good luck!
Forum: Alpha/Beta/RC
In reply to: FAQ-Tastic Lite Not Working in 2.7??Hello reganfrank-
I’ve run into both issues in the past.
The first problem (in which the text [faq summmary…] shows up) can be solved by switching over to the HTML view of the editor once you want to input the code for your FAQ Summary. From the HTML editor view, type in “[faq summary ImnewFAQ]” (without the quotes) and then you can safely return to the Visual editor view and continue your page work.
The second problem is most likely a scenario of the wording within the FAQ-tastic plugin being a bit confusing. You may have specified a page to which your FAQ group should be attached. If so, like the instructions with the plugin read, “If you specify a page then sub-pages will be created for every question.“
OR- it could be that you’ve used the “Publish a Simple FAQ” and the system is treating your FAQ with the same sub-page-for-each-question presentation that it does when you attach the FAQ group to a page.To get the FAQs to display in the manner that (I believe) is most commonly desired, simply
- Create a Question Group with “No Page” selected as the “Attached Page”
- Add questions & answers as you desire
- Separately, create (or edit) the page on which you wish the FAQ to display and enter the [faq summary…] code as referenced above
- All should be well.
Keeping the page creation & FAQ group creation separate seems to work best for most of us. The FAQ-tastic plugin offers some higher-end functionality that works well within the world of FAQs, but for most of us it seems to prove a bit confusing and/or non-intuitive.
Hope this helps!
Forum: Alpha/Beta/RC
In reply to: FAQ-Tastic Lite Not Working in 2.7??Hello datysdal- I wish I had a solid answer for you; but (for me) it’s difficult to tell exactly what might be plaguing your set-up.
The same type of issue has happened to me in the past and I’ve found that the group will appear if I navigate to another part of the WP admin area and then return to the FAQ system (after having received the successful “Your group has been created” message, of course).
I know that this isn’t much help, but it may work for you.
If not, it could be that one of the edits made to the plug-in included an erroneous character (or some other typo) that is causing an error when attempting to process the creation of the new group.
If you’re still experiencing the problem, take a look at the URL displayed in the same window that has the “Your group has been completed message.” and see if anything looks strange with it.
You can, of course, paste a copy of that URL as a response in this thread & I’ll take a look next time I’m around (you might wish to edit out your specific domain, using something like http://www.domainname.com instead, if you want to maintain a level of privacy).
Good luck!
Forum: Alpha/Beta/RC
In reply to: FAQ-Tastic Lite Not Working in 2.7??Hey tracyberna- I think I understand your problem and, if I’m right, the fix is quite easy.
Basically, it goes like this: to get both a “jump links” list and the collection of FAQ answers you need to use both the tags of
[faq summary name]
and
[faq list name]
within the page on which you want to display your FAQs(where “name” within each tag represents the name of your FAQ group name)
The “summary” is the linked list of FAQ questions.
The “list” is the collection of FAQ Questions & Answers (fortunately, with the anchor tags already embedded so that the links within the above “summary” will jump the user to the Q&A combination that he/she has clicked on).Hope this helps!
Forum: Alpha/Beta/RC
In reply to: FAQ-Tastic Lite Not Working in 2.7??Hello, everyone!
Thanks for the kind words; I’m glad my solution worked for you — and that I have the on-going opportunity to “pay forward” the assistance of many WordPress users that have helped (and continue to help) me.Wishing you all the best!
Forum: Alpha/Beta/RC
In reply to: FAQ-Tastic Lite Not Working in 2.7??Hi everyone. It seems this topic is fairly well covered; but I thought I’d add my experience in getting FAQ-tastic to work with WP 2.7.
For me, it was a simple matter that the latest official version of FAQ-tastic is referencing edit.php in various links within its admin interface — however, under WP 2.7, plugins are now organized under tools.php in admin area.
The FAQ-tastic files of concern (within the FAQ-tastic plugin folder) are as follows:
- Main FAQ-tastic folder
- faq-tastic.php
- “admin” sub-folder (within the FAQ-tastic plugin folder:
- admin_email.php,
- group_item.php,
- help.php and
- pending.php
In each of those files, the instances of references to “edit.php” need simply be changed to “tools.php”
Then, of course, those files should be saved and uploaded over the plugin’s files on your site (making certain that the files from the “admin” sub-folder get posted to that same sub-folder and not to the main “FAQ-tastic” folder).
Then, FAQ-tastic should work with WP 2.7!
Hope this helps!
Forum: Fixing WordPress
In reply to: Add pages to categories?Yes, try this plugin http://www.stuff.yellowswordfish.com/page-category-plus/
Forum: Plugins
In reply to: Page Categories?It’s a little unclear what you’re trying to do; but is it a matter that you wish to associate certain categories (usually reserved for posts) to pages?
If so, try the following plugin: http://www.stuff.yellowswordfish.com/page-category-plus/