Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter RussiaCristiana

    (@russiacristiana)

    you are right, it does work.
    Thank you very much!

    Thread Starter RussiaCristiana

    (@russiacristiana)

    Sure – You are so kind!
    Here is the code content/content.php:

    <?php
    
    /**
    
     * The default template for displaying content
    
     *
    
     * @package Verbosa
    
     */
    
    $verbosas = cryout_get_option( array('verbosa_excerptarchive', 'verbosa_excerptsticky', 'verbosa_excerpthome') );
    
    ?><?php cryout_before_article_hook(); ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); cryout_schema_microdata('blogpost'); ?>>
    
    <?php cryout_featured_hook(); ?>
    
    <header class="entry-header">
    
    <?php cryout_post_title_hook(); ?>
    
    <?php cryout_meta_format_hook(); ?>
    
    <?php if ( is_sticky() ) { ?> <span class="entry-format"><i class="icon-sticky"></i></span> <?php } ?>
    
    <?php the_title( sprintf( '<h2 class="entry-title"' . cryout_schema_microdata( 'entry-title', 0 )  . '>
    
    <a href="%s" ' . cryout_schema_microdata( 'mainEntityOfPage', 0 ) . ' rel="bookmark">',
    
    esc_url( get_permalink() ) ),
    
    '</a></h2>' );
    
    ?>
    
    <div class="entry-meta">
    
    <?php cryout_post_meta_hook(); ?>
    
    </div><!-- .entry-meta -->
    
    </header><!-- .entry-header -->
    
    <?php cryout_before_inner_hook();
    
    $verbosa_excerpt_mode = 'excerpt'; // default
    
    if ( $verbosas['verbosa_excerptarchive'] == "full" ) { $verbosa_excerpt_mode = 'content'; }
    
    if ( is_sticky() && $verbosas['verbosa_excerptsticky'] == "full" ) { $verbosa_excerpt_mode = 'content'; }
    
    if ( $verbosas['verbosa_excerpthome'] == "full" && ! is_archive() && ! is_search() ) { $verbosa_excerpt_mode = 'content'; }
    
    if ( false != get_post_format() ) { $verbosa_excerpt_mode = 'content'; }
    
    switch ( $verbosa_excerpt_mode ) {
    
    case 'content': ?>
    
    <div class="entry-content" <?php cryout_schema_microdata( 'entry-content' ); ?>>
    
    <?php the_content(); ?>
    
    <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'verbosa' ), 'after' => '</div>' ) ); ?>
    
    </div><!-- .entry-content -->
    
    <?php break;
    
    case 'excerpt':
    
    default: ?>
    
    <div class="entry-summary" <?php cryout_schema_microdata( 'entry-summary' ); ?>>
    
    <?php the_excerpt(); ?>
    
    </div><!-- .entry-summary -->
    
    <footer class="post-continue-container">
    
    <?php cryout_post_excerpt_hook(); ?>
    
    </footer>
    
    <?php break;
    
    }; ?>
    
    <?php cryout_after_inner_hook();  ?>
    
    </article><!-- #post-<?php the_ID(); ?> -->
    
    <?php cryout_after_article_hook(); ?>


    Thread Starter RussiaCristiana

    (@russiacristiana)

    Thank you but if I add “relevanssi_” to “the_title” in /content.php, it crashes the results (= no results).
    We’d “only” like to highlight the word(s) in search results.
    Any suggestions?

    Thread Starter RussiaCristiana

    (@russiacristiana)

    thank you, we’ll try!

    Thread Starter RussiaCristiana

    (@russiacristiana)

    hello, Adam, thank you for your answers. We updated php, re-installed WP, – no results… BUT: due to other problems with plug-ins, we found somewhere a ticket about “having older plugins that rely on jquery-migrate” – please don’t ask me if this has any sense, I’m not an engineer! Anyhow, after a check we deactivated an old plug-in and now all seems to be ok, WDF too!

    Thread Starter RussiaCristiana

    (@russiacristiana)

    thank you, it was impossibile to export the settings, clicking on the button didn’t work. We reinstalled the WDplug-in, but now we can’t “resume installation”, after adding mail and checked the terms of service, the button doesn’t work. What a mess! Please help!

    Thread Starter RussiaCristiana

    (@russiacristiana)

    Unfortunately not. What if we disintall & install WF-plugin again?

    Thread Starter RussiaCristiana

    (@russiacristiana)

    OK, WE CHANGED THE THEME.
    thank you anyway ??

    Thread Starter RussiaCristiana

    (@russiacristiana)

    I fear it does not have “next” and “previous” page. I post here the code, if you’ll be so kind to give a glance at it:

    CODE in search.php ——————–
    <?php
    /**
    * The main template file.
    *
    * @package Yume Tan
    */
    get_header(); ?>
    <div id=”content”>
    <div class=”center”>
    <div class=”columnwrapp <?php do_action( ‘yume_display_ps’ ); ?>”>
    <div class=”clear”></div>
    <div class=”pagecontent”>
    <div class=”fullwidth”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <div class=”topbarpost”>
    <div class=”fleft”><i><?php _e( ‘in’, ‘yume-tan’ ); ?></i> <?php the_category(‘, ‘); ?></div>
    <div class=”fright”><span class=”postdate”><?php the_time( get_option( ‘date_format’ ) ); ?></span></div>
    </div>
    <div class=”postcontent”>
    <?php if( has_post_thumbnail() ) { ?>
    <div class=”thumb thumbleft”>
    “><?php echo get_the_post_thumbnail( $post->ID, ‘thumbnail’); ?>
    </div>
    <?php } ?>
    <h2>“><?php if(get_the_title($post->ID)) { the_title(); } else { the_time( get_option( ‘date_format’ ) ); } ?></h2>
    <p><?php the_excerpt(); ?></p>
    </div>
    <div class=”postfooter”>
    <div class=”fleft”>
    <span class=”commentcount”><?php comments_popup_link(‘<span class=”icon comments”></span> No Comments’, ‘<span class=”icon comments”></span> 1 Comment’, ‘<span class=”icon comments”></span> % Comments’, ‘comment-link’); ?></span>
    </div>
    <div class=”fright”>“><?php _e( ‘Scheda &#187’, ‘yume-tan’ ); ?></div>
    </div>
    </div>
    <?php endwhile; ?>
    <p class=”pagination”>
    <span class=”prev”><?php next_posts_link(__(‘Previous Posts’, ‘yume-tan’)) ?></span>
    <span class=”next”><?php previous_posts_link(__(‘Next posts’, ‘yume-tan’)) ?></span>
    </p>
    <?php else : ?>
    <h2 class=”center”><?php _e( ‘Nessun risultato’, ‘yume-tan’ ); ?></h2>
    <p class=”center”><?php _e( ‘La ricerca non ha ottenuto risultati. Controlla la digitazione.’, ‘yume-tan’ ); ?></p>
    <?php endif; ?>
    </div>
    </div>
    <?php echo ‘Relevanssi found ‘ . $wp_query->found_posts . ‘ hits’; ?>
    <?php get_sidebar(); ?>
    </div>
    </div>
    </div>
    <?php get_footer(); ?>

    —————————-

    Had some similar bad bug: we linked some text into the message but it did NOT open the right link we typed, even if the test-mail sent internally to us worked once.
    Let’s the developer explain what happened to 300 people who received our newsletter and got a useless link.

Viewing 10 replies - 1 through 10 (of 10 total)