smallina
Forum Replies Created
-
Forum: Plugins
In reply to: mTouch Quiz Not WorkingHello – I might be having the same problem as shootingparrots. I’m hoping I’m just missing something obvious. Here’s my link: http://bit.ly/snV8mL
I had it working… then it stopped working. Then I fiddled with the lines for enqueue script, and it started working again. But now, after a week of not looking at it, it is again not working. And by “not working” I mean that the questions do not appear.
I thought is was my fancy custom theme… but even switching to the default twenty11 theme has the same issue.
Forum: Fixing WordPress
In reply to: Previous/Next Post in Category?henkholland and iconico:
Take a look at this:
http://codex.ww.wp.xz.cn/Theme_Development#Query-based_TemplatesYou would turn your single.php into a conditional splitter that assigned all your posts to your custom single pages by category. So your single.php file would only contain:
<?php $post = $wp_query->post; if ( in_category('31') ) {include(TEMPLATEPATH . '/single-custom1.php');} elseif ( in_category('19') ) {include(TEMPLATEPATH . '/single-custom2.php');} elseif ( in_category('172') ) {include(TEMPLATEPATH . '/single-custom3.php');} else {include(TEMPLATEPATH . '/single1.php');} ?>and then single-custom1.php (name it whatever you want of course) would call in posts from just that category so you could modify your previous/next code as you wish.
The last bit, else {include…} single1.php means that any post that didn’t have a specific category would get the default single post template, here named single1.php but the name could be anything.
Hope that helps!
Forum: Fixing WordPress
In reply to: Can’t SAVE or PUBLISH a post or page!?!Forum: Fixing WordPress
In reply to: Can’t SAVE or PUBLISH a post or page!?!I think I had the same problem as you, munfaridon. Could edit/save my posts/pages a week ago but then today got the blank screen and nothing saved when I went to save/publish. I upgraded to 2.5 (from 2.1! A very long time coming… serves me right I suppose…) and now all is OK. You may have figured this out already but let me know if this works for you!