-
AuthorPosts
-
September 17, 2024 at 8:51 pm #1467232
Hi,
There is a ? on the Home Page under a photo on mobile view. I have no idea where it comes from.
Can somebody help me with that?Many greetings rixi
September 18, 2024 at 5:00 am #1467261Hey rixi,
Thank you for the inquiry.
We can’t find the question mark in the page. Would you mind providing a screenshot of it? You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot.
Best regards,
IsmaelSeptember 30, 2024 at 5:39 pm #1468119sadly the topic is closed: . https://kriesi.at/support/topic/search-function-with-link-list/
what i got so far:
https://enfold.webers-webdesign.de/pagesthis is only for pages ( if you like to have that for posts – just change the post-type )
i managed it by a custom shortcode – then place this as :[glossary]
on your pagefunction az_index($post_id) { $AZposts = get_posts(array( 'numberposts' => -1, 'post_type' => 'page', 'orderby' => 'title', 'order' => 'ASC', // 'category' => $cat )); $current = ""; $nav = ""; $postlist = ""; foreach($AZposts as $AZpost) { $postLink = get_permalink( $AZpost->ID ); $firstletter = strtoupper(substr($AZpost->post_title,0,1)); if($firstletter != $current) { $nav .= "<span class='firstletters'><a href='#$firstletter'> $firstletter </a></span> "; $postlist .= "<h3 class='firstletter' id='$firstletter'> $firstletter </h3>\n"; $current = $firstletter; } $postlist .= "<span><a class='postlink' href='".$postLink ."'>" . $AZpost->post_title. "</a></span><br>\n"; } print $nav . "<br><br>" . $postlist; } add_shortcode( 'glossary', 'az_index' );
and :
.firstletters { padding: 0 10px ; background: #900; margin-right: 5px; display: inline-block; } .firstletters a { color: #FFF; text-align: center !important; }
i tried to have unordered list after the h3 headings – but i couldn’t find a way to do that ( loop is hard to find the place to insert that tags ) – maybe a mod got a good idea
September 30, 2024 at 6:09 pm #1468120dear mods – can you please shift that post to the closed one and open again – i think i’m on a better way to do that.
-
AuthorPosts
- You must be logged in to reply to this topic.