Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter carolinereusen

    (@carolinereusen)

    Also – is there a way to align the top navigation menu items to the right of the screen instead of the left?

    Thread Starter carolinereusen

    (@carolinereusen)

    Thanks so much, it worked! And thank you for your kind words!
    I have to admit that they are not modified on child theme. I made all the modifications a while back and then downloaded a plugin that does not update the theme.
    Is there a way in which I can change to making modifications in child theme? I’ve been unsure of how I should handle that.

    Thread Starter carolinereusen

    (@carolinereusen)

    This is the copy of the content.php:

    <?php
    /**
    * @package aThemes
    */
    ?>

    <article id=”post-<?php the_ID(); ?>” <?php post_class( ‘clearfix’ ); ?>>
    <header class=”entry-header”>
    <h2 class=”entry-title”>” rel=”bookmark”><?php the_title(); ?></h2>

    <?php if ( ‘post’ == get_post_type() ) : ?>
    <div class=”entry-meta”>
    <?php athemes_posted_on(); ?>

    <?php if ( ! post_password_required() && ( comments_open() || ‘0’ != get_comments_number() ) ) : ?>
    <span class=”comments-link”> <?php comments_popup_link( __( ‘Leave a Comment’, ‘athemes’ ), __( ‘1 Comment’, ‘athemes’ ), __( ‘% Comments’, ‘athemes’ ) ); ?></span>
    <?php endif; ?>
    <!– .entry-meta –></div>
    <?php endif; ?>
    <!– .entry-header –></header>

    <?php if ( has_post_thumbnail() ) : ?>

    <div class=”entry-thumbnail”>
    ” title=”<?php the_title_attribute(); ?>” >
    <?php the_post_thumbnail( ‘thumb-featured’ ); ?>

    </div>
    <?php endif; ?>

    <?php if ( ( is_search() && get_theme_mod(‘athemes_search_excerpt’) ==” ) || ( is_home() && get_theme_mod(‘athemes_home_excerpt’) ==” ) || ( is_archive() && get_theme_mod(‘athemes_arch_excerpt’) ==” ) ) : ?>
    <div class=”entry-summary”>
    <?php the_excerpt(); ?>
    <!– .entry-summary –></div>
    <?php else : ?>
    <div class=”clearfix entry-content”>
    <?php the_content( __( ‘Continue Reading <span class=”meta-nav”>→</span>’, ‘athemes’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘athemes’ ), ‘after’ => ‘</div>’ ) ); ?>
    <!– .entry-content –></div>
    <?php endif; ?>

    <footer class=”entry-meta entry-footer”>
    <?php if ( ‘post’ == get_post_type() ) : ?>
    <?php
    $categories_list = get_the_category_list( __( ‘, ‘, ‘athemes’ ) );
    if ( $categories_list && athemes_categorized_blog() ) :
    ?>
    <span class=”cat-links”>
    <?php printf( __( ‘<i class=”ico-folder”></i> %1$s’, ‘athemes’ ), $categories_list ); ?>
    </span>
    <?php endif; ?>

    <?php
    $tags_list = get_the_tag_list( ”, __( ‘, ‘, ‘athemes’ ) );
    if ( $tags_list ) :
    ?>
    <span class=”tags-links”>
    <?php printf( __( ‘<i class=”ico-tags”></i> %1$s’, ‘athemes’ ), $tags_list ); ?>
    </span>
    <?php endif; ?>
    <?php endif; ?>
    <!– .entry-meta –></footer>
    <!– #post-<?php the_ID(); ?>–></article>

    Thread Starter carolinereusen

    (@carolinereusen)

    Yes I changed <?php if ( has_post_thumbnail() ) : ?> to <?php if ( has_post_thumbnail() && ! is_home() ) : ?> and then some syntax error showed up on the homepage after.

    Thread Starter carolinereusen

    (@carolinereusen)

    Hello,
    I don’t see that line 22, this is what I see instead:
    <?php if ( has_post_thumbnail() ) : ?>

    I tried changing it to what you said, but it did not work.

    Thread Starter carolinereusen

    (@carolinereusen)

    Hi there,
    Yes that is what I mean. So I would like the menu to be desktop version even on mobile.

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