badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

pentalogia

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • in reply to: Change quantity of post #82047
    pentalogia
    Participant

    Go into the setting panel and adjust the amount of text displayed per page in the 5th line.

    Setting > Reading >

    in reply to: How can I set/make content-extension.php in the Child-Theme? #80733
    pentalogia
    Participant

    too difficult.
    Actually, I want to change/add a line in content-extension.php.
    <br><span id='view_count' class="highlight">&nbsp;<?php echo do_shortcode( '[jp_post_view]' ); ?> &nbsp;</span>test<br>

    But If I use an Unhook-Function in Fucntion.php, All the original function lines will be changed?
    I need to insert only that line into 299 line.
    299 line is included the function ‘interface_theloop_for_single’.
    When I applied the following code in Function.php it didn’t work and crushed.

    // Unhook default Thematic functions
    function unhook_thematic_functions() {
        // Don't forget the position number if the original function has one
    remove_action( 'interface_theloop_for_single');
    }
    add_action('init','unhook_thematic_functions'); // removes the header content by using hook interface_header
    add_action( 'interface_theloop_for_single', 'interface_child_theloop_for_single');
    
    function interface_child_theloop_for_single() {
    	global $post;	
    	global $options, $array_of_default_settings;
     $options = wp_parse_args( get_option( 'interface_theme_options', array() ), interface_get_option_defaults());
    
    	if( have_posts() ) {
    		while( have_posts() ) {
    			the_post();
    
    			do_action( 'interface_before_post' );
    ?>
    <section id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      <article>
        <?php
    				if( has_post_thumbnail() ) {
    					$image = '';        			
    		     		$title_attribute = apply_filters( 'the_title', get_the_title( $post->ID ) );
    		     		$image .= '<figure class="post-featured-image">';
    		  			$image .= '<a href="' . get_permalink() . '" title="'.the_title( '', '', false ).'">';
    		  			$image .= get_the_post_thumbnail( $post->ID, 'featured', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ) ) ).'</a>';
    					$image .='<span class="arrow"></span>';
    		  			$image .= '</figure>';
    
    		  			echo $image;
    		  		}
    	  			?>
        <header class="entry-header">
        	<?php if(get_the_time( get_option( 'date_format' ) )) { ?>
    		<!-- .post view count -->
    		<br><span id='view_count' class="highlight">&nbsp;<?php echo do_shortcode( '[jp_post_view]' ); ?> &nbsp;</span>test-line<br>
    		<!-- .post view count end -->
          <div class="entry-meta"> <span class="cat-links">
            <?php the_category(', '); ?>
            </span><!-- .cat-links --> 
          </div>
          <!-- .entry-meta -->
          <h2 class="entry-title">
            <?php the_title();?>
          </h2>
          <!-- .entry-title -->
          <div class="entry-meta clearfix">
            <div class="by-author vcard author"><span class="fn"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"  title="<?php  esc_attr(the_author()); ?>">
              <?php the_author(); ?>
              </a></span></div>
            <div class="date updated"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>">
              <?php the_time( get_option( 'date_format' ) ); ?>
              </a></div>
            <?php if ( comments_open() ) { ?>
            <div class="comments">
              <?php comments_popup_link( __( 'No Comments', 'interface' ), __( '1 Comment', 'interface' ), __( '% Comments', 'interface' ), '', __( 'Comments Off', 'interface' ) ); ?>
            </div>
            <?php } ?>
          </div>
          <!-- .entry-meta --> 
        </header>
        <!-- .entry-header -->
        	<?php } ?>
        <div class="entry-content clearfix">
          <?php the_content();
        		
                   wp_link_pages( array( 
    						'before'            => '<div style="clear: both;"></div><div class="pagination clearfix">'.__( 'Pages:', 'interface' ),
    						'after'             => '</div>',
    						'link_before'       => '<span>',
    						'link_after'        => '</span>',
    						'pagelink'          => '%',
    						'echo'              => 1 
                   ) );
                   ?>
        </div>
        <?php if(get_the_time( get_option( 'date_format' ) )) { ?>
      </header>
      <?php } ?>
        <!-- entry content clearfix -->
        
        <?php if( is_single() ) {
    					    $tag_list = get_the_tag_list( '', __( ' ', 'interface' ) );
    
    						if( !empty( $tag_list ) ) { ?>
        <footer class="entry-meta clearfix"> <span class="tag-links">
          <?php
    								echo $tag_list;?>
          </span><!-- .tag-links --> 
        </footer>
        <!-- .entry-meta -->
        <?php  }
        do_action( 'interface_after_post_content' );
    
              }
    
        do_action( 'interface_before_comments_template' ); 
    
        comments_template();
    
        do_action ( 'interface_after_comments_template' );
    
        ?>
      </article>
    </section>
    <!-- .post -->
    <?php
    			do_action( 'interface_after_post' );
    
    		}
    	}
    	else {
    		?>
    <h2 class="entry-title">
      <?php _e( 'No Posts Found.', 'interface' ); ?>
    </h2>
    <?php
       }
    }
    
    in reply to: Revolution Slider 4.6.5 #78927
    pentalogia
    Participant

    Resolved myself thanks.
    still Good theme THEME HORSE to me.

    pentalogia
    Participant

    I solved it myself.
    It was a matter of order of the code for each performance. Theme Horse yet is a great theme for me. I have been satisfied for many years.
    Thanks.

    in reply to: I can’t control Css code through Design option> Custom CSS. #74071
    pentalogia
    Participant

    I solved it myself.
    It was a matter of order of the code for each performance. Theme Horse yet is a great theme for me. I have been satisfied for many years.
    Thanks.

    in reply to: I can’t control Css code through Design option> Custom CSS. #74070
    pentalogia
    Participant

    The above replay is mistake…

    pentalogia
    Participant

    I moved this question to Premium Forum.

    in reply to: I can’t control Css code through Design option> Custom CSS. #74068
    pentalogia
    Participant

    I moved this question to Premium Forum.

    pentalogia
    Participant

    It’s the best setting for my situation if we no were find the way that removed only posting subject.

    .breadcrumb {
        max-width: 220px;
      //  display: inline-block; // ---except for mobile view
        padding: 0;
        margin-top: -3px;
        vertical-align: middle;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    pentalogia
    Participant

    Thank you for your suggestion.
    That code is helpful.
    But Plz allow one more question about this.

    I have any suggestion from mtekk.com.

    .breadcrumbs span[property="name"] {
        max-width: 320px;
        display: inline-block;
        padding: 0;
        margin-top: -3px;
        vertical-align: middle;
        max-width: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    It may be control in ‘posting subject’.
    Because span[property=”name”] is a tag for the subject of each posting on Breadcrumb NavXT.
    But that code(mtekk’s) has no effect anything in this theme.
    So I changed as follows:

    .breadcrumb {
        max-width: 320px;
        display: inline-block;
        padding: 0;
        margin-top: -3px;
        vertical-align: middle;
        max-width: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    I could get the effect that is same of your suggestion.
    Can I however get an effect for span[property=”name”] ?
    Finally, I want to remove ‘posting subject’ in breadcrumb menu-line by that code.

    in reply to: Blanked preview image on Facebook OG meta-tag #54462
    pentalogia
    Participant

    Thank you for your answer.
    I solved the issue by ALL in One SEO. In case of me All in One SEO was effective more than Yoast SEO.
    And I had had to know about the algorithm of FACEBOOK.
    Thank you.

    pentalogia
    Participant

    I GOT SOLVED MY OWN PROBLEM!
    It was my mistake!
    I’ve to add the following code in Style.css.
    —-

    @import url(https://fonts.googleapis.com/earlyaccess/nanumgothic.css);
    body { font-size: 17px; font-family: ‘Nanum Gothic’ !important;}

    —-
    So the font-size was controlled in all the font-size by Style.css though the new coding was put for entry-content in custom css.
    I removed that tag in in Style.css.
    —-

    @import url(https://fonts.googleapis.com/earlyaccess/nanumgothic.css);
    body { font-family: ‘Nanum Gothic’ !important;}

    —-
    And GET SOLVED IT!

    Thank you!

    pentalogia
    Participant

    And no problem also in FACEBOOK PAGE MANAGER app.
    That problem is just occurring in FACEBOOK app (external linked view).
    Can you suggest me another css code for entry-content?

    pentalogia
    Participant

    [urgency] That problem in mobile view is only happened in situation of external view of FACEBOOK (understand? It means the linked posting in FACEBOOK).
    While I access through whith common browsing(not facebook), no problem.
    The alteration of font size is well applied in mobile view according to your suggestion.

    pentalogia
    Participant

    Thank you.
    I could get what I want according to your suggestion.
    But the results could be completely applied only in Desktop view. (not Mobile)
    In case of Mobile view, the alteration of font size was changed not only in entry-content but also with any parts’ text(Date, Auth name,..and any footer).
    See http://mimoonchurch.com/?p=4136 in Mobile.

    Again summary.
    1. I could get the satisfactory results only in Desktop view. (not Mobile)
    2. In mobile, while entry-content text size was changed, any part text was also changed.
    3. I want the same performance in mobile view too, like in Desktop view.

    Thank you.

Viewing 15 posts - 1 through 15 (of 22 total)