Search Results for 'codes'
-
Search Results
-
Hey!
Iâve been trying several codes but I canât get what I want.
I just simply need a rss URL that shows recent topics in all forums but not their replies. Is that possible?
Thanks
Hey everyone,
I am currently setting up a new bbPress Forum and I made a custom template page which works fine but I can’t figure out why the forum injects in the wrong place (or if it works like this at all).
I have the tagdiv Newspaper Theme installed and I usually layout my pages with the tagdiv composer.
For the custom page template I took the code from the page.php from the tagdiv Composer directory adjusted it for my needs and then saved it to plugin-bbpress.php inside the Template root directory.I also created a page with tagdiv Composer with a layout with three columns, bbPress is supposed to be in the middle one. When I do a static page and add the bbCode shortcode [bbp-forum-index] it works fine and as expected. I have three colums with different content to the left and right and the bbPress forum in the middle.
What I tried now is to use the same shortcodes from the tagdiv composer to create a custom template for the whole bbPress forum (in. So my code in the plugin-bbpress.php file looks like this:
if (have_posts()) { ?>
<?php while ( have_posts() ) : the_post(); ?><div class="td-main-content-wrap td-main-page-wrap td-container-wrap">
<div class="<?php if (!td_util::tdc_is_installed()) { echo 'td-container '; } ?>tdc-content-wrap">
<?php echo do_shortcode('[tdc_zone type="tdc_content"][vc_row full_width="stretch_row_1400 td-stretch-content"][vc_column][vc_row_inner][vc_column_inner width="1/3"][td_block_list_menu menu_id="14949"][/vc_column_inner][vc_column_inner width="2/3"][vc_column_text]'.the_content().'
[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][/tdc_zone]'); ?>
</div></div> <!-- /.td-main-content-wrap -->
<?php endwhile; ?>
<?php
}
On the frontend the shortcodes are renderd fine by the tagdiv Composer but bbPress injects over or before the columns and not in the middle one as I want it to (and where the the_content() function should place it).
Any ideas how I can get this to work or any other ideas how to achieve this?
Thanks!
Newspaper Version 10.1
bbPress Version 2.6.4Here’s the link to the static page: https://prime-surfing.de/profile-copy/
And here’s one with the custom page template: https://prime-surfing.de/prime-surfing-forum/forum/prime-surfing/P.S.: Please don’t mind the mess with the other pages, still under consutruction.
Hi,
My issue is that when I add the forum root at the forum settings, the page displays the following error in the header and the footer of the page:
Notice: Undefined property: WP_Post_Type::$post_type in /home1/smilingsun/public_html/vanlifemagazine.co/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php on line 415
The page is at:
The theme I’m currently using is Newspaper by TagDiv.
Many thanks,
FrancescoTopic: 404 after update
When recently updating to 2.6.2 version of bbPress, I am getting 404s when new user arrives on homepage of forums. 404s are visible to user and showing in logs. When page is hard refreshed, forums show up.
But strange, if, if user goes to link within forums (topic, etc.), no 404s occur.
I am using bbp-forum-index shortcode on homepage of forums. I did a test and issue doesn’t occur when shortcodes aren’t used (no 404), but of course, no forums are available.
With shortcodes, even through 404s occur, the sidebar displays and shows the user’s logged-in info (avatar, etc).
Issue seems to only occur when user is logged in and visits forums. I have forums on their own WordPress installation within a directory of main site.
I thought it might have been cache, but issue still occurs when cache is disabled.
Here is link to site:
https://www.lifeleap.org/community/
Any suggestions on what might be occurring or what I do to troubleshoot issue? Thanks for any help