Skip to content

General Discussion

5.0k Topics 21.7k Posts

A place to talk about anything Lay Theme related

  • 0 Votes
    4 Posts
    920 Views
    S
    And last question resolved again. Here the code: function createPostListSubCatWork() { global $post; $categories = wp_get_object_terms( $post->ID, 'category', [ 'parent' => 1, 'number' => 99 ] ); $categoryOutput = []; if (!empty($categories)) { array_push($categoryOutput, '<ul class="_Default">'); foreach($categories as $category) { array_push($categoryOutput, '<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </br> '); } array_push($categoryOutput, '</ul>'); } return implode('', $categoryOutput); } add_shortcode('work_cats_pg', 'createPostListSubCatWork'); List categories for the current post: [work_cats_pg] The categories should be children of category 1. No more than 99 positions should be displayed. Source which kinde resolved it for me: https://wordpress.stackexchange.com/questions/330128/display-a-list-of-subcategories-from-specific-category-a-post-belongs-to Best regards, Amadezs
  • Homepage is not showing changes

    2
    0 Votes
    2 Posts
    122 Views
    RichardR
    Dear Florian @Florian_43 Please confirm the Following when testing: Wordpress, Lay Theme & Laytheme's Addons are all up to date ?
 Any custom CSS or JS that may interfere is temporarily removed.
 Any third-party plugins are de-activated to see if this resolves the issue. What happens when viewing in an incognito window? Talk soon & best wishes 🌝 Richard
  • Show project thumbnail in thumbnail grid but lock it

    4
    0 Votes
    4 Posts
    403 Views
    RichardR
    Dear @Antoine-dvc This may help - need to test 🌝 https://stackoverflow.com/questions/970388/jquery-disable-a-link jQuery(".thumb").removeAttr('href'); https://laytheme.com/documentation/custom-javascript.html Best wishes Richard
  • Text locked while images scrolls

    4
    1 Votes
    4 Posts
    524 Views
    RichardR
    Great, best wishes @dmncn ! πŸ–
  • Media Upload organization

    3
    0 Votes
    3 Posts
    632 Views
    Hayo GebauerH
    @alasdair17 works great, thanks!
  • Full screen carrousel captions in white border

    4
    1
    0 Votes
    4 Posts
    546 Views
    T
    Update - I've managed to get the captions 'steady' underneath the pictures. How I did it - in the fixed height panel of the carousel I've added (instead of only 100vh) "100vh - 65px" which shrinks the carousel 65 pixels, but it still keeps the full screen ratio without losing the captions under the browser screen. Fjiew, happy that this already works :-)
  • USDZ files

    1
    1 Votes
    1 Posts
    146 Views
    No one has replied
  • Laytheme working on WP 5.9 version?

    2
    0 Votes
    2 Posts
    207 Views
    RichardR
    Dear @asalvan All seems to be working fine on WP 5.9 Here i made an example shop: https://www.asaworld.online/ & i don't think anything is broken after the update 🌝 Best wishes Richard
  • Tag filter

    3
    0 Votes
    3 Posts
    167 Views
    RichardR
    Dear Marc @Marc-Sowell Hope this helps :) https://laytheme.com/documentation/tags.html Best wishes Richard
  • MenΓΌ rotated 90 Grad

    4
    1
    0 Votes
    4 Posts
    530 Views
    RichardR
    Thanks @Rogue have a wonderful day & thanks for supporting Lay Theme! 🌻
  • Blog integration?

    blog
    18
    -1 Votes
    18 Posts
    7k Views
    W
    Is the blogfunction available now? We Need Thom very urgent. Thanx 4 a quick answer.
  • carousel images flicker in Safari

    17
    0 Votes
    17 Posts
    3k Views
    arminunruhA
    well the carousels have loop activated, so it will flicker on safari unfortunately that is a bug with the carousel library that i use in the background "swiper" itself, i cantΒ do much here. you can use the fading carousel instead, that one doesnt flicker
  • "Read more"-Button

    7
    0 Votes
    7 Posts
    3k Views
    D
    @Remco-van-Dun THX!!! worked perfect for me, just had to change "panel.style.maxHeight" into more than 200px :D
  • This topic is deleted!

    3
    1
    0 Votes
    3 Posts
    7 Views
  • Change colour of sitetitle/menu on Carousel if a slide is a video

    7
    0 Votes
    7 Posts
    1k Views
    T
    @Richard Ok I'm gonna try to find a solution for this. Thanks again for your help!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    16 Views
    No one has replied
  • Problem with anchor scroll

    4
    0 Votes
    4 Posts
    588 Views
    RichardR
    Dear @Kfjimmedy Lay Theme has built in Anchor scrolling if you wish. Given any row or element an id: [image: Screen Shot 2020-11-13 at 9.07.33 AM.png] The in > Appearance > Menu's you can create a "custom Link" with the a # followed by your ID : [image: Screen Shot 2022-01-27 at 9.14.13 AM.png] You can also set spaces for your Anchorscroll in > Lay Options > [image: Screen Shot 2022-01-27 at 9.15.42 AM.png] Hope this helps & best wishes Richard
  • MOBILE version Home page

    2
    0 Votes
    2 Posts
    128 Views
    RichardR
    Dear @G1234 I don't quite understand sorry 🌝 "(I have a coded homepage for desktop), but the sizes are messed up" A Coded homepage? Custom CSS or JS? Are you able to post a link to your website or any relevant screenshots can help πŸ” Talk soon & best wishes @G1234 Richard
  • Vimeo's Iframe and custom CSS

    2
    0 Votes
    2 Posts
    1k Views
    RichardR
    Dear Pierre @Pierre-Fave The following code: iframe { border-radius: 25px; } Gave me the result: [image: Screen Shot 2022-01-27 at 8.49.54 AM.png] https://www.w3schools.com/cssref/css3_pr_border-radius.asp Hope this helps & best wishes 🌝 Richard
  • Cover effect on a specific row

    1
    0 Votes
    1 Posts
    181 Views
    No one has replied
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com