-
Author
-
September 5, 2016 at 20:48 #135040randrcomputersParticipant
I added icons to forum index which I love!
here is code:
add_post_type_support('forum', array('thumbnail')); function ks_forum_icons() { if ( 'forum' == get_post_type() ) { global $post; if ( has_post_thumbnail($post->ID) ) echo get_the_post_thumbnail($post->ID,'thumbnail',array('class' => 'alignleft forum-icon')); } } add_action('bbp_theme_before_forum_title','ks_forum_icons');
But problem is it also adds to header when you open topic. How can I remove from header and still leave as icon for forum description?
September 5, 2016 at 20:51 #135042randrcomputersParticipantI don’t want to disable media on all single pages in theme options just the forum ones
September 6, 2016 at 02:53 #135059randrcomputersParticipantI think this is what I need to turn off:
September 6, 2016 at 02:54 #135060randrcomputersParticipanthmm that posted link. try this
img width=”50″ height=”30″ class=”attachment-kleo-full-width size-kleo-full-width wp-post-image” alt=”Untitled-1″ src=”http://vpinball.com/wp-content/uploads/2015/08/Untitled-1-1.pngSeptember 6, 2016 at 18:23 #135145RaduModeratorHi,
I don’t understand where exactly that appears , can you please provide a screenshot ? and what you want to remove? provide screenshots with marrks and live url links please
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 6, 2016 at 21:20 #135171randrcomputersParticipantsure. here is link to photos
https://www.dropbox.com/sh/c9rc097j54wkplh/AAAP00VaKHOzyLGNnyZ2Wq3va?dl=0The issue is the featured image is used to add icons to left of forum description on index but then you open that forum and it takes that featured image and puts it as header. I do use feature image for other post/pages but do not want to use them in forum
September 7, 2016 at 15:37 #135264randrcomputersParticipantSo I guess I’m asking how to disable the featured image on the forum page at the top when I assign one as icon in index
September 8, 2016 at 15:59 #135445RaduModeratorUse this css
COPY CODEbody.bbpress.single.single-forum .template-page article .article-media { display: none !important; }
the css will be added to wp-admin -> theme options -> general settings -> quick css
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionSeptember 8, 2016 at 16:39 #135452randrcomputersParticipantThat looks to have fixed issue! When I pay for support to kleo does it go to you? it should if not let me know.
thanks again Radu!September 8, 2016 at 19:43 #135491RaduModeratorHi,
Great
Depends on, who’s available
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.