sirhank
Forum Replies Created
-
Hi Becky
I checked the server settings and all is well apart from the PHP version which is PHP Version 7.0.31 … would that be enough to cause the problem?
I have disabled each plugin and they have not made any difference
I also notice that it does not save the slideshow style eg fade, slide up / down etc
Any other suggestions I can try please?
Thanks
sirhank
Hi Josh
Thanks for your reply
Tried changing to the TwentySixteen theme and I get this error:
Oops! That page canβt be found.It looks like nothing was found at this location. Maybe try a search?
I tried looking at the Browser Console for errors and it is showing an error for Kaspersky Internet Security but does not show any other errors
I have tried temporarily disabling Kaspersky but that does not make any difference at all
A few months ago I use to use GoCodes and that worked fine …
I will contact Studiopress support (who make the theme I am using to see if they have heard of any conflicts with your plugin ….
Regards
Hank
Forum: Fixing WordPress
In reply to: Displaying Specific PostsThanks for the link tasty.donuts
Had a quick try with it and, as expected, it doesnt pick up the star ratings …
This plugin would be even better if after I have set the widget options I could see the code … I often have problems getting the syntax right for the code as, as you will know, just one ‘,’ in the wrong place or left out will cause the code not to run ….
Will keep trying with both the query-posts and the get_posts …
Forum: Fixing WordPress
In reply to: Displaying Specific PostsThanks for your reply esmi
I am actually using the GD Stars plugin and the code I have for the Silver Ranking box (text in a widget) is:
<?php wp_gdsr_render_rating_results(array('template_id' => 51, 'rows' => 1, 'select' => 'post', 'offset' => 2, 'category' => 5, 'hide_empty' => false, 'min_votes' => 0, 'min_count' => 0, 'excerpt_words' => 25, 'image_from' => 'content', 'rating_stars' => 'crystal', 'rating_size' => '24', 'review_size' => '24', 'rating_thumb_size' => '24')); ?>As you can see I have added:
'offset' => 2,but it has not made any difference π
Forum: Fixing WordPress
In reply to: Getting URL from Custom Fields`<a href=”get_post_meta($post_id, linker, $single);”>
Forum: Fixing WordPress
In reply to: Getting URL from Custom FieldsAll sorted now – thanks for the useful code π
Forum: Fixing WordPress
In reply to: wp_list_categories to show only 1 postAll sorted now – thanks for your help π
Forum: Fixing WordPress
In reply to: wp_list_categories to show only 1 postI have now made this code ‘live’ on my website (I was testing it on my local server first before I made it live) and I have noticed 1 annoying thing …
If you go to This page you will see a “Next Page >” link … is there any way I can stop this coming up? It only happens when there are more than 1 post in the corresponding category and clicking it does not show the next post …
Thanks for your help
Forum: Fixing WordPress
In reply to: wp_list_categories to show only 1 postMany thanks MichaelH this works great!
your a star π
Hi
I have tried using your code on my website and I have a problem …
I am using this code in my sidebar to list all the categories as a menu
<ul id=”leftnav”>
<?php wp_list_categories(‘orderby=name&title_li=&exclude=1,25’); ?>which works great … I put your code into another sidebar so when I click on a link on the menu on the front page it displays the posts and the sidebar menu changes to show the post titles for the current category (using your code)
The problem I am having is when I first click on the menu bar it is displaying all the posts and the left menu bar shows duplicate post titles … if I then click on 1 of the links in the sidebar the duplicated post titles disappear and it works as it should …How can I stop the duplicating of the post titles please?
Thanks for your help
PS hope you can understand the problem …Forum: Fixing WordPress
In reply to: wp_list_categories to show only 1 postMany thanks for your prompt reply
I think I have put your code in the right place:
<?php
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts($query_string&showposts=’1&paged=’ . $paged);
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1>” rel=”bookmark”><?php the_title(); ?></h1>Unfortunately I get this error message:
Parse error: syntax error, unexpected ‘=’ in ******\archive.php on line 14Line 14 is this one:
query_posts($query_string&showposts=’1&paged=’ . $paged);Any ideas how to correct this please?
Thanks for your help