TwoBeers / shiword

Shiword WordPress theme
http://www.twobeers.net/annunci/shiword
4 stars 3 forks source link

All Posts Issues and Links #29

Closed alanpae closed 11 years ago

alanpae commented 11 years ago

Hi there,

This just started after I upgraded to 4.01. On the Dashboard if you click on "Posts" and then All Posts I now see:

Verizon: BlackBerry Z10 Making a Difference for Small Businesses

Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/themes/shiword/lib/slider.php on line 33

Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/themes/shiword/lib/slider.php on line 47

Edit | Quick Edit | Trash | View | Add to Slider | Stats

Everything still works but it's annoying. I tried to disable all plugins and it made no difference.

Also if I click on a category on the right-hand sidebar none of the links in the post work as hyperlinks anymore. They used to.

Any ideas?

https://www.ilkda.com/wordpress/

Thanks, alan

jimo commented 11 years ago

Hi Alan, about the Warning, it's a known bug (definitely annoying, indeed). It's already fixed in version 4.02 (you can download it from here and manually install it, or wait for the official published one)

About the not-working hyperlinks, it's not a bug. It's the regular behaviour, if you browse your archives by category, tags, etc , the post will be shown using the excerpt (instead of the full content), which is a plain text. If you want to show the whole content even in archive/search results, you have to change some lines in the code: Open loop/post.php and find

            <?php if ( ( shiword_get_opt( 'shiword_xcont' ) == 1 ) || is_archive() || is_search() ) 
                the_excerpt();
            else
                the_content();
            ?>

and delete

 || is_archive() || is_search()

Hope it helps Jimo

alanpae commented 11 years ago

Correct as usual. :-)

I made the mod you suggested above and now categories shows the hyperlinks. Must have been my error that it was always that way. :-(

I couldn't find 4.02 so i guess I'll just wait for the official release. In the meantime I found the update to Shiword Reverse and once I get 4.02 then I'll have to try them out together.

Any my little list of mods - about 4 in total now.

As usual, thanks for the assist. This can be closed now.

alanpae commented 11 years ago

Upgraded to 4.02 from here and also Shiword Reverse to .3. All is well.

thanks, alan