Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#126 Re: Backlight Support » Implementing hreflang / xml-sitemap? » 2017-03-03 01:41:40

Hi Matt,

thank you for your reply!
As far as I figure out how it works I will post it here.

Other suggestions welcome.

Best regards,
Oliver

#127 Backlight Support » Implementing hreflang / xml-sitemap? » 2017-03-01 23:29:07

volvoxturbo
Replies: 2

Hello all,

I am building a dual language website. Englisch (root) German (subfolder) no subdomain.

1. Is it neccessary to implement the hreflang on each page? If yes, what is the best way to do that?

2. Is using a 2nd xml sitemap a better and easier choice?
Like this:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <url>
    <loc>http://www.example.com/</loc>
    <xhtml:link
                 rel="alternate"
                 hreflang="de"
                 href="http://www.example.com/de/"
                 />
    <xhtml:link
                 rel="alternate"
                 hreflang="en"
                 href="http://www.example.com/"
                 />
  </url>
 
  <url>
    <loc>http://www.example.com/de/</loc>
    <xhtml:link
                 rel="alternate"
                 hreflang="en"
                 href="http://www.example.com//"
                 />
     <xhtml:link
                 rel="alternate"
                 hreflang="de"
                 href="http://www.example.com/de/"
                 />
  </url>
 

Other ideas???

Thanks in advance,
Oliver

#128 Re: Backlight Support » Useful Wordpress plugins? » 2017-03-01 23:15:11

Thank you all for your suggestions :-)

Best bregards,
Oliver

#129 Backlight Support » Useful Wordpress plugins? » 2016-12-08 00:28:35

volvoxturbo
Replies: 5

Hi all,

what plugins for wordpress do you think are useful e.g SEO, connect to facebook, twitter, instagram..., caching and so on?

thx in advance.

Best regards,
Oliver

#130 Re: Backlight Support » Cannot login to wordpress - SOLVED » 2016-11-30 22:20:23

Thank you Ben,

you are right! I closed it with ?> and everything works fine :-)

Best regards,
Oliver

#131 Backlight Support » Cannot login to wordpress - SOLVED » 2016-11-30 18:29:40

volvoxturbo
Replies: 2

Hi all,

I added a script to the wordpress functions.php and cannot login anymore (script is working). I think I placed it wrong:

functions.php:

<?php

    if ( is_admin() ) {
        require get_template_directory() . '/inc/theme_admin.php';
    }

    require get_template_directory() . '/inc/theme_setup.php';

    require get_template_directory() . '/inc/theme_enqueue.php';

    require get_template_directory() . '/inc/theme_options.php';

    require get_template_directory() . '/inc/theme_media.php';

    require get_template_directory() . '/inc/theme_menus.php';

    require get_template_directory() . '/inc/theme_widgets.php';

    require get_template_directory() . '/inc/theme_posts.php';

    require get_template_directory() . '/inc/cleaner_gallery.php';
   
        function enqueue_custom_script() {
        if( wp_script_is('jquery','done') ){ ?>

<script>
(function($) {

    $("ul.menu a[href='" + window.location.pathname + "']").addClass("selected").parents('li').children().addClass('selected');

})( jQuery );
</script>

<?php }}
    add_action('wp_footer', 'enqueue_custom_script', 22);

?>

Please help :-)

Best regards,
Oliver

SOLVED by deleting the last ?>

#132 Backlight Support » TTG Support... » 2016-11-29 07:17:11

volvoxturbo
Replies: 5

BEST EVER!!!!!

Thank you so much Matt, Rod, Ben and others for your great product, troubleshooting, ideas, advice and and and - since the first day!

Keep it up! :-)

Best regards,
Oliver

#134 Re: Backlight Support » Inserting more than one Album Set » 2016-11-28 08:13:10

It is still a test page ;-) and if you come out with a suggestion I would be glad to test it out :-)
Best regards,
Oliver

#135 Re: Backlight Support » Inserting more than one Album Set » 2016-11-28 07:56:30

Hi Daniel,

I am with other things right now, so the projects site will be untouched until i have a solution for the hover thing ;-)

Best regards,
Oliver

#136 Re: Backlight Support » Inserting more than one Album Set » 2016-11-28 01:37:46

Hi Rod,

thank you for your reply!
I played with filters before but I dont like them.
I like to mouse over the album (thumbnail OR description) and just like to change the albums description color from white background/black description to black background/white description.

Thanks again :-)

best regards,
Oliver

#137 Re: Backlight Support » Inserting more than one Album Set » 2016-11-28 00:54:38

Hi Daniel,

thank you very much but unfortunately your css doesn't work for me, the whole album frame gets black and the color of the album description is not changing.

Best regards,
Oliver

#138 Re: Backlight Support » Inserting more than one Album Set » 2016-11-27 19:27:06

Hi Rod,

following works for me if mouse over the album description:

.the__albumSet figure a :hover {
    background-color: rgba(0, 0, 0, 1);
    color: #ffffff;
}

Do you have any idea how to css, that mouse over the thumbnail changes the bkg color and font color of album description?

I didnt find a solution for now.

Best regards,
Oliver

#139 Re: Backlight Support » Inserting more than one Album Set » 2016-11-27 07:19:27

Rod,
I do custom css but can not solve the problem.
Changing bkgcolor on hover

".the__albumSet figure a:hover {
    background-color: rgba(0, 0, 0, 0.08);
}"

is no problem, but changing the color of the album title/description doesnt work:

".the__albumSet figure a:hover {
    background-color: rgba(0, 0, 0, 0.08);
        color: #ffffff;
}"

Best regards,
Oliver

#140 Re: Backlight Support » Inserting more than one Album Set » 2016-11-27 05:27:15

Hi Rod,

thanks for trying it out on your device! :-)

And in general thumbs up and thank you all for your outstanding advice and support!!!

Next question ;-) :
I cannot find out how to change the album info color (title/description) by a:hover.
seems to be blocked by the color value in resurce.php

.the__albumSet figcaption {
    background-color: rgba(0, 0, 0, 0);
    color: #000000;
    padding: 0.5rem 12px;
    text-align: left;
}

If I delete "color: #000000;" in Firefox development thing it works but I dont know where to find the css file in the backlight folder

Any suggestions?

Best regards,
Oliver

#141 Re: Backlight Support » Inserting more than one Album Set » 2016-11-26 21:37:40

works :-) -> http://oliverblum.com/projects/

Matt, thank you very much for now!!!

Best regards,
Oliver

#142 Re: Backlight Support » Inserting more than one Album Set » 2016-11-26 19:54:25

Hi Matt,

thank you so much!!! Works great for me now with following :-)

CSS:
.album-breaker {
    box-sizing: border-box;
    clear: both;
    display: block;
    padding: 0 12px;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.the__albumSet figure:nth-child(1n+1) {
    clear: none;
}

.the__albumSet figure {
    display: inline-block;
    float: left;
}

.the__albumSet .albums {
    text-align: left;
}


Is it possible to assign the haiku class to the h2, and if, how???

Best regards,
Oliver

#143 Re: Backlight Support » Inserting more than one Album Set » 2016-11-25 22:37:47

Hi Rod,

both is working perfect :-)

Thank you very much!

Best regards,
Oliver

The only question left (for now):

Matt's script is working perfect in the classic and descriptive layout!
In the iconic layout - which I prefer to use - it results in a "damaged" layout like if you change Centering Method in the classic layout to Javascript.
Is it possible to run the script with the iconic layout?

#144 Re: Backlight Support » Inserting more than one Album Set » 2016-11-25 21:33:35

Thank you Matt for your quick response.

Your script is working perfect in the classic and descriptive layout!
In the iconic layout - which I prefer to use - it results in a "damaged" layout like if you change Centering Method in the classic layout to Javascript.
Is it possible to run your script with the iconic layout?


And by the way: How can I combine

function ttg_scripts( $style, $path ) {
    echo '
<script>

    var albumBreaker = function( place, heading ) {
        var place  = $(".albums").find("figure:nth-child(" + place + ")");
        var markup = $("<h2/>").attr({
            class: "album-breaker"
        });
        markup.html(heading);
        place.before(markup);
    }
   
    albumBreaker( 1, "LIGHTING DESIGN");
    albumBreaker( 10, "ARCHITECTURE");
    albumBreaker( 15, "CITY");
    albumBreaker( 19, "TRAVEL");

</script>
    ';
    return false;
} // END

with

function ttg_scripts( $style, $path ) {
   
echo <<<SCRIPT
<script>
    $(function() {
        $("ul.menu a[href='" + window.location.pathname + "']").addClass("selected").parents('li').children().addClass('selected');
    });
</script>
SCRIPT;

} // END

???

Best regards and thx again!
Oliver

#145 Re: Backlight Support » Inserting more than one Album Set » 2016-11-25 18:21:47

Hi Matt,

wow, thank you, looks very interesting :-)


I did copy/paste the css and php. Without editing anything it results in:

Unexpected error: Cannot redeclare ttg_scripts() (previously declared in /mnt/webi/b1/57/51715457/htdocs/backlightoliverblumcom/backlight/custom/phplugins/phplugins.php:144) in phplugins.php on line 175

... you may need to change the markup or place in the function to match the source code." ??????

What do I have to edit, that it will work?

Best regards,
Oliver

#146 Re: Backlight Support » Inserting more than one Album Set » 2016-11-25 01:40:34

Thanks again Rod,

I'll try the hard coding first ;-)

Best regards,
Oliver

#147 Backlight Support » Inserting more than one Album Set » 2016-11-25 00:11:46

volvoxturbo
Replies: 31

Hello all,

is it possible to insert more than one Album Set on a page? And if, how?

or

is it possible to insert titles?

For example:

TITLE
5 Albums

TITLE
next 5 Albums

and so on...

thx in advance.
Oliver

#149 Re: Backlight Support » Question Photoswipe Large Image Presentation » 2016-10-19 18:06:16

Hi Matt,

the masthead/navigation should not be in the slideshow. If the slideshow operates on a layer it might possibly work to position it behind or maybe below the masthead/navigation :-/???

Best regards,
Oliver

#150 Backlight Support » Question Photoswipe Large Image Presentation » 2016-10-19 07:22:30

volvoxturbo
Replies: 4

Hi all,

is it possible to always have the Masthead/Navigation above the Photoswipe Large Image Presentation, and if, how to do that?

Thx in advance,
Oliver

Board footer

Powered by FluxBB