gulliver
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WPQuiz] Quiz won't show upThanks.
If I add that ‘Out of {total}’ text to the ‘score text’ field then it correctly appears in the result.
And, one other issue: on the demo question, the ‘Thank you for creating with WordPress.’ is too high (in the question 3 field) on the page.
Forum: Plugins
In reply to: [Plugin: WPQuiz] Quiz won't show upI have two problems with the most recent update:
1 I can’t find any option for the ‘score marking system to show how many correct’ facility.
2 How should the ‘Score text:’ field be used?
Forum: Fixing WordPress
In reply to: Remove 'says' from comments.‘display:none’ of course removes it from visible display in most – but not all – cases… but it’s still there in the code it can, in certain instances, still appear on-page.
Forum: Fixing WordPress
In reply to: Parse Error with OPTION.PHP fileI have a similar issue – things were working fine, then overnight this problem arose.
A check shows that the server version of option.php is identical to the downloaded original.
Update: a further check suggests this is an issue with my server host – other sites of mine are showing messages of ‘Your server is running PHP version 4.4.9 but WordPress 3.3.2 requires at least 5.2.4.’ – so that suggests the cause of my problem is non-WP.
>Does anyone have it working on 3.4.?
Yes, it’s fine on mine.
Forum: Fixing WordPress
In reply to: Resize comment text field on threaded comments?Here’s a third-party theme which does that: http://wpexplorer.me/demo.php?theme=fresh-clean
Resize the comment-text field and the right edge soon ‘submarines’ out of view. The effect is greater on a page with more than a single column, and can get very bad on threaded posts. I wondered whether a css z-index would keep it on top, but haven’t been able to do that.
From memory, I believe Twenty-Eleven only expands downward – a better option if I knew how to do it.
Forum: Fixing WordPress
In reply to: Show month/year in archive titleThanks. I’ll look and adapt what I can.
The problem arose because I’d used conditional titles, and had incorrectly coded with the effect of removing the year/month on archives, and just couldn’t see how to re-add them.
Forum: Fixing WordPress
In reply to: // Hack. Set $post so that the_date() worksThanks.
Forum: Fixing WordPress
In reply to: Paginate archive listThanks.
However, unfortunately that’s too complex for me to understand.
But, having studied things more, I’ve since found a way which works and I understand.
In case it might help someone…
Instead of type+alpha, I used:
<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("orderby=title&order=asc&showposts=10&paged=$page"); ?> <?php while ( have_posts() ) : the_post() ?> <p><a href="<?php the_permalink(); ?>" title="read this entry"><?php the_title(); ?></a></p> <?php endwhile ?>Forum: Fixing WordPress
In reply to: Show all posts, alphabeticallyThanks, again.
Your code helped hugely.
I’d previously used a custom function to replace the next/previous links with ‘first 1 2 3 etc last’. It was so long ago that I can’t remember much about how it worked, and my brain is currently too shot to re-understand.
But, there’s a line of code which I’ve been using to paginate elsewhere:
<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("showposts=10&paged=$page"); ?>That, with yours, does what’s required – provided the integers for ‘showposts’ and ‘posts_per_page’ are identical.
Someday, I’ll have a re-read and try to understand this.
Forum: Fixing WordPress
In reply to: Show all posts, alphabeticallyThanks. That helped. Appreciated.
I initially tried:
<?php $all_posts = new WP_Query( array( 'posts_per_page' => -1, 'orderby' => 'title' , 'order' => 'ASC') ); while ( have_posts() ) : the_post(); ?> <p><?php the_title() ?></p> <?php endwhile; ?>But it didn’t work – although I can’t see why, and it may be my error as it seems to do the same as the code I subsequently used:
<?php $args = array( 'posts_per_page' => -1, 'orderby' => 'title' , 'order' => 'ASC'); $wp_query = new WP_Query($args); while ( have_posts() ) : the_post(); ?> <p><?php the_title() ?></p> <?php endwhile; ?>Now, as expected, I have to paginate that page – so I’m open to suggestions. ‘Please, thanks’, again.
Forum: Fixing WordPress
In reply to: Show grandparents in page titleThanks.
I looked there before posting, and although I can use that in a page I don’t understand enough to be able to include it in a conditional title.
Forum: Plugins
In reply to: [Plugin: WPQuiz] Quiz won't show upThanks.
Yes, it does.
I quite like the ease and simplicity of it, and there are some advantages over others I’ve tried.
It has a significant advantage to the one (JibuPro) I currently use; in JP the content provided by shortcode isn’t indexable by the Relevanssi search plugin and hence isn’t returned in results, whereas in WPQuiz it is. I think the admin is easier too.
I haven’t yet looked at the code to see how easily it might be adapted to include additional features, and wonder how keen you are to expand it?
The facility to show a ‘done… you correctly answered x of y questions’ message will be very useful.
Forum: Plugins
In reply to: [Plugin: WPQuiz] Quiz won't show upNo, as mentioned, I’m not able to create a new quiz.
To test, I’ll try again on a new Wp install. It may ‘simply’ be incompat with a plugin on the current install.
Forum: Plugins
In reply to: [Plugin: WPQuiz] Quiz won't show upI can’t get it to create a quiz, and don’t have the sample one that apparently should be there.
I’m running current WP and plugin versions, and the WpQuiz page is there but created quizzes aren’t added to it.
Very strange.