Support » Theme: Customizr » Live test site at last

Viewing 15 replies - 1 through 15 (of 30 total)
  • Chappie!!!!!
    This site is huge, and beautiful! Refined in detail.
    Really like it, my compliments.

    @d4z_c0nf – you’re very kind but I’m sure you can recognise your DNA all over it.

    Mostly, it looks the same as it does on my localhost – but I’m seeing some issues in my older version of Safari (v5.0.6 running in Mac Os 10.5.8).

    My custom page title image (small logo instead of the default pencil icons looks fine in Safari v6.0.2 (and current versions of Chrome and Firefox)but is a no-show in v5.0.6 (and also no-shows in a similarly aged Chrome v21.0.1180.90).

    And the keyboard-entered green checkmark symbols at the top of my Price List page also don’t show in Safari v5.0.6 or in any version of Chrome (but do appear in current Firefox).

    Is this the price of progress or can I fix it? TIA.

    You have this in the style.css:

    background-image: url("http://localhost:8888/sitename/wp-content/uploads/2013/11/bslogo40x40_on_grey.png");

    you need to change it to the new url?

    Duh! Well spotted, d4z_c0nf – that cured it. (Scratching my head over the fact that the broken URL didn’t stop new browsers displaying it – or could they have been fetching the image from cache?)

    I guess I can fix my green checkmark keyboard character by linking to some external clipart instead.

    I’ve also found an outdated URL in my functions.php – but it doesn’t appear to be hurting the function:

    add_filter('tc_slide_link_url' , 'my_slide_custom_link', 10, 2);
    function my_slide_custom_link( $slide_link , $image_id ) {
    
        $image_links = array(
            '2837' => '?page_id=171/#reviewform',
            '2996' => '?page_id=19/#bourneend',
            '2997' => '?page_id=19/#kilngreen'
        );
    
        //does nothing if the requested image_id is not a key of the array
        if ( ! array_key_exists( $image_id, $image_links ) )
            return $slide_link;
    
        //else returns the custom link
        return 'http://localhost:8888/sitename/' . $image_links[$image_id];
    }

    In php, can I replace 'http://localhost:8888/sitename/' with just '/'?

    what about using get_the_permalink() ?
    You’ll have:

    $image_links = array(
            '2837' => get_the_permalink(171).'/#reviewform',
            '2996' => get_the_permalink(19).'/#bourneend',
            '2997' => get_the_permalink(19).'/#kilngreen'
        );

    And

    //else returns the custom link
        return $image_links[$image_id];

    does this work?

    Thanks d4z_c0nf – that seems to work fine…although I don’t know how to tell whether the //else bit is working or not.

    Would it continue to work if I were to change my permalink setting, eg to “post name”?

    Sorry totally missed the part of the keyboard-entered green checkmark symbol . What is? and where?
    The one before “NEED a little pampering AND a discount? See our Treats.” for example? What is?

    Yes it will work.
    Don’t get this part:

    although I don’t know how to tell whether the //else bit is working or not`

    Just a thing, those anchors are supposed to be in the same page of the slide?

    keyboard-entered green checkmark symbol . What is?

    I found it in my Mac Os Character Viewer which displays every possible symbol in a font set using various keyboard combinations. This particular one is described as:

    “WHITE HEAVY CHECK MARK
    Unicode: U+2705, UTF-8: E2 9C 85″

    …which seems fine by modern Safari and Firefox but Chrome and old Safari don’t want to know.

    Just a thing, those anchors are supposed to be in the same page of the slide?

    Yes they are.

    Don’t get this part:

    although I don’t know how to tell whether the //else bit is working or not`

    Well, I don’t know what the php means — and it anyway seemed to be working fine when the URL was set to my localhost but I didn’t know what to look for when testing.

    Yes they are.

    😀
    So you don’t need the get_the_permalink() part, and also you’ll see the page scroll down to the anchor without reload itself.

    $image_links = array(
            '2837' => '#reviewform',
            '2996' => '#bourneend',
            '2997' => '#kilngreen'
        );

    “WHITE HEAVY CHECK MARK
    Unicode: U+2705, UTF-8: E2 9C 85″

    …which seems fine by modern Safari and Firefox but Chrome and old Safari don’t want to know.

    Cannot see it neither here in linux (chrome, ff, seamonkey, opera), but I can see this other checkmark:
    http://www.fileformat.info/info/unicode/char/2714/index.htm

    So you don’t need the get_the_permalink() part

    I didn’t! Works much better now, thanks.

    Unicode

    Thanks for this. I’m out of my depth with unicode stuff so will probably just link to a graphic, which I’ll upload.

    Sorry didn’t get chappie, are you using this array now?

    $image_links = array(
            '2837' => '#reviewform',
            '2996' => '#bourneend',
            '2997' => '#kilngreen'
        );

    are you using this array now?

    Yes. Works fine for localhost too.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Live test site at last’ is closed to new replies.