Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter sirhank

    (@sirhank)

    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

    Thread Starter sirhank

    (@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

    Thread Starter sirhank

    (@sirhank)

    Thanks 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 …

    Thread Starter sirhank

    (@sirhank)

    Thanks 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 πŸ™

    Thread Starter sirhank

    (@sirhank)

    `<a href=”get_post_meta($post_id, linker, $single);”>

    Thread Starter sirhank

    (@sirhank)

    Sorry the bold part has not shown up properly … here is the bit of code I am having problems with:

    sirhank

    (@sirhank)

    All sorted now – thanks for the useful code πŸ™‚

    Thread Starter sirhank

    (@sirhank)

    All sorted now – thanks for your help πŸ™‚

    Thread Starter sirhank

    (@sirhank)

    I 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

    Thread Starter sirhank

    (@sirhank)

    Many thanks MichaelH this works great!

    your a star πŸ™‚

    sirhank

    (@sirhank)

    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 …

    Thread Starter sirhank

    (@sirhank)

    Many 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 14

    Line 14 is this one:
    query_posts($query_string&showposts=’1&paged=’ . $paged);

    Any ideas how to correct this please?

    Thanks for your help

Viewing 12 replies - 1 through 12 (of 12 total)