Tagged: x
-
AuthorPosts
-
July 24, 2016 at 7:11 pm #1101085
MarleenVParticipantHi,
Where can I change:
<h2 class=”entry-title”></h2>
for blog entry titles on HOME PAGE ONLY to SPAN codes.I’d like to change it, and add a text area.
Looking forward to your response.
Kind regards,
MarleenJuly 24, 2016 at 9:11 pm #1101221
Rue NelModeratorHello Marleen,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL and we would like to know what stack you are using. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thank you in advance.
July 25, 2016 at 4:36 am #1101586
MarleenVParticipantThis reply has been marked as private.July 25, 2016 at 6:04 am #1101637
ChristopherModeratorHi there,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Copy _content-post-header.php from framework/views/renew and put it in the same path inside child theme, replace existing code with following :
<?php // ============================================================================= // VIEWS/RENEW/_CONTENT-POST-HEADER.PHP // ----------------------------------------------------------------------------- // Standard <header> output for various posts. // ============================================================================= ?> <header class="entry-header"> <?php if ( is_single() ) : ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php else : ?> <span class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a> </span> <?php endif; ?> <?php x_renew_entry_meta(); ?> </header>Hope it helps.
July 25, 2016 at 6:32 am #1101667
MarleenVParticipantThank you very much!
July 25, 2016 at 6:40 am #1101682
ThaiModeratorYou’re most welcome 🙂
If you need anything else please let us know.
July 25, 2016 at 10:24 pm #1102867
MarleenVParticipantHi Thai,
Sorry it’s not exactly the right thing just yet.
I’m looking for the code for the BLOG ENTRY titles on the HOME page. I need this code:
<h2 class=”entry-title”></h2>And I need to add codes to the homepage to add a text area, so I cant just paste the code to the functions page.
Where can I fined the all code page, so I can get all the codes?
Hope this makes sense.
Thank you!
Cheers,
MarleenJuly 26, 2016 at 2:42 am #1103068
ChristopherModeratorThanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
July 28, 2016 at 7:50 am #1107007
MarleenVParticipantThis reply has been marked as private.July 28, 2016 at 11:00 am #1107281
RupokMemberHi Marleen,
Sorry but it’s still a bit confusion. However you can play with the code and update as needed if you need more customization. Without understanding properly we can’t give you any code that you can just copy and paste. I believe it won’t be complex if you just play with the code as you are building a website.
Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1101085 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
