Forum Replies Created
-
AuthorPosts
-
pentalogiaParticipant
Go into the setting panel and adjust the amount of text displayed per page in the 5th line.
Setting > Reading >
September 3, 2020 at 9:49 am in reply to: How can I set/make content-extension.php in the Child-Theme? #80733pentalogiaParticipanttoo difficult.
Actually, I want to change/add a line in content-extension.php.
<br><span id='view_count' class="highlight"> <?php echo do_shortcode( '[jp_post_view]' ); ?> </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"> <?php echo do_shortcode( '[jp_post_view]' ); ?> </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 } }
pentalogiaParticipantResolved myself thanks.
still Good theme THEME HORSE to me.January 20, 2020 at 12:34 am in reply to: I can’t control ‘display:none’ of Comments Status in Css. #74072pentalogiaParticipantI 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.January 20, 2020 at 12:34 am in reply to: I can’t control Css code through Design option> Custom CSS. #74071pentalogiaParticipantI 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.January 19, 2020 at 11:36 pm in reply to: I can’t control Css code through Design option> Custom CSS. #74070pentalogiaParticipantThe above replay is mistake…
January 19, 2020 at 11:34 pm in reply to: I can’t control ‘display:none’ of Comments Status in Css. #74069pentalogiaParticipantI moved this question to Premium Forum.
January 19, 2020 at 11:11 pm in reply to: I can’t control Css code through Design option> Custom CSS. #74068pentalogiaParticipantI moved this question to Premium Forum.
December 28, 2017 at 12:10 am in reply to: Too long breadcrumb menu when I have to make a long name of post's subject. #54631pentalogiaParticipantIt’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; }
December 27, 2017 at 8:18 am in reply to: Too long breadcrumb menu when I have to make a long name of post's subject. #54618pentalogiaParticipantThank 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.pentalogiaParticipantThank 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.November 24, 2017 at 1:22 pm in reply to: How can I change Font-size(or type or line-height) for content part? #54179pentalogiaParticipantI 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!
November 23, 2017 at 9:10 pm in reply to: How can I change Font-size(or type or line-height) for content part? #54160pentalogiaParticipantAnd 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?November 23, 2017 at 7:49 pm in reply to: How can I change Font-size(or type or line-height) for content part? #54159pentalogiaParticipant[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.November 23, 2017 at 2:12 pm in reply to: How can I change Font-size(or type or line-height) for content part? #54150pentalogiaParticipantThank 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.
-
AuthorPosts