Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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

    #1467261

    Hey 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,
    Ismael

    #1468119

    sadly the topic is closed: . https://kriesi.at/support/topic/search-function-with-link-list/

    what i got so far:
    https://enfold.webers-webdesign.de/pages

    this 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 page

    function 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

    #1468120

    dear 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.