Forum Replies Created

Viewing 5 replies - 31 through 35 (of 35 total)
  • I’m not sure if you can stop this, as the media manager requires a ‘title’ for photos in order to keep track of them.

    However, if you’ve created the html yourself to insert the photos in pages/posts, you can set ‘title’ and ‘alt’ to show nothing, as follows:

    <img src=”[url of image]” alt=”” title=”” />

    Browsers differ what shows as a ‘hint’; if you kill ‘alt’ and ‘title’, you shouldn’t get a ‘hint’.

    Check the ‘head’ section of the ‘header.php’ file for your theme. It may be that you have a ‘meta refresh tag’ in there, something like:

    <meta http-equiv=”refresh” content=”[value of delay in secs];url=[url of your blog]” />

    Or, the equivalent via javascript:

    <script language=”javascript”><!–
    location.replace(“[url of your blog]”)
    //–>
    </script>

    After backing up ‘header.php'(! – just in case) delete such lines, and see what happens.

    Thread Starter itproxy

    (@itproxy)

    Actually, the following code is better:

    <?php if ( is_home() || is_front_page() ) {echo ‘<meta http-equiv=”refresh” content=”10;url=[your_url]/?page_id=[nnn]” />’;} ?>

    Doesn’t put a half-formed ‘meta refresh tag’ on unaffected pages.

    Thread Starter itproxy

    (@itproxy)

    Hi Dalton,
    Thanks for responding. However, I can’t get it to work; whatever I do to the .php file (changing ‘order’, and/or ‘order by’) it’s either ascending or descending order, never random.
    I just don’t understand php well enough to sort this out; perhaps I’m missing the point entirely.
    I could pseudo-randomise PHPSlideShow by simply renaming files from time to time; that is a harder option if files are given a database ID.

    Thread Starter itproxy

    (@itproxy)

    I’ve solved the problem. Just adding a php-powered ‘meta refresh tag’ to the ‘header.php’ file for my theme did the trick (10 second delay):

    <meta http-equiv=”refresh” content=”<?php if ( is_home() || is_front_page() ) {echo ’10;url=[relative or absolute url]/?page_id=[nnn]’;} ?>”

    Substitute text in [ ] for relevant values. Only the home/front page redirects in this scenario.

Viewing 5 replies - 31 through 35 (of 35 total)