-
Author
-
January 17, 2018 at 21:11 #186106
WinDroidAnswers
ParticipantHi there,
we just want to set the forum page as the default homepage of our community site, may you help us?
we do not find a solution
January 18, 2018 at 03:44 #186139Laura
ModeratorHello, please try by adding this to functions.php of child theme
COPY CODEfunction redirect_homepage() { if( ! is_home() && ! is_front_page() ) return; wp_redirect( 'http://yourwebsite.com/forums', 301 ); exit; } add_action( 'template_redirect', 'redirect_homepage' );Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 18, 2018 at 15:47 #186169WinDroidAnswers
Participantnope, an error tells us we cannot do this,
I’ve seen probably our hosting automatically update WordPress to 4.9.2 and this may cause a problem, do you have already planned a new update compatibility for latest WordPress version?so instead we have created a new page, paste inside the shortcode ([bbp-forum-index]), but the search field is completely wrong!
please check this screenshots:
1. our new homepage http://prntscr.com/i26ooq
2. forum page http://prntscr.com/i26pedwe just want to set a new page like the forum page with some notes on top and other stuff in the bottom. if we can’t do this. if this is not possible, what do you suggest?
January 19, 2018 at 01:12 #186245Laura
ModeratorHello, please share admin access so i can see it 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 21, 2018 at 11:35 #186422WinDroidAnswers
Participanthi Laura, I’m sorry for the delay, a bad flu.
this is my personal ADM access, if you want give me a email of yours, so i can create a profile just for you.r3ziel ADM
vogliopartireedandareLontanoconte1000volteJanuary 22, 2018 at 11:06 #186564Laura
ModeratorHello, please try by adding this to style.css of child theme
COPY CODE#bbpress-forums .bbp-search-form { top: -120% !important; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 26, 2018 at 17:21 #186914WinDroidAnswers
Participantnow it works perfectly,
thanks a lot!
but we have another problem, we can’t see what we’re typing.
How to solve this?
http://prntscr.com/i5ybelJanuary 26, 2018 at 17:27 #186915WinDroidAnswers
Participantso now this page is the new homepage with the forum inside and some other things we decide to add via Visual Composer,
am I right?
http://www.windroidanswers.com/January 28, 2018 at 17:16 #187113Laura
ModeratorHello, it works for me, is it resolved?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 3, 2018 at 19:47 #187651WinDroidAnswers
Participantmmm, i don’t think so.
we already can’t change the forum layout.
but we have talked about another ticket yet, so we wait for the answer,
but by the way, what the first code is for?
the one you suggest to add in functions.php?February 5, 2018 at 06:44 #187803Laura
ModeratorHello, the code was to move the search form as the screenshot you sent me 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 5, 2018 at 11:50 #187819WinDroidAnswers
Participantnope, i mean this:
COPY CODEfunction redirect_homepage() { if( ! is_home() && ! is_front_page() ) return; wp_redirect( 'http://yourwebsite.com/forums', 301 ); exit; } add_action( 'template_redirect', 'redirect_homepage' );Is it for the community and homepage forum layout?
we solve this and answer in this ticket: https://archived.seventhqueen.com/forums/topic/start-a-new-topic-buttonthanks a lot for your precious help.
have a wonderful dayFebruary 6, 2018 at 09:48 #187926Laura
ModeratorHello, that code redirects from home to forum but you need to change the url “yourwebsite.com”
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 15, 2018 at 15:31 #188768WinDroidAnswers
Participantthanks a lot, we think this code is no use anymore.
we write it down in a note, just in further case.
thanks for your help, we really appreciate it!February 15, 2018 at 22:18 #188819Laura
ModeratorNo problem 🙂 I’m here if you need me
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.