feat: initial ACRIB WordPress deployment

- WordPress 6.9.4 (es_ES) with Kadence theme
- Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto
- Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold
- Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI)
- Plugins: Kadence Blocks, Polylang, Contact Form 7
- Custom CSS with full brand styling and responsive layout
- HTTPS enforced via wp-config.php proxy detection
This commit is contained in:
Malin
2026-05-19 19:25:59 +02:00
commit f3ff7b7186
6119 changed files with 1984255 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
/**
* Archive Forum Content Part
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<div id="bbpress-forums" class="bbpress-wrapper">
<?php //bbp_get_template_part( 'form', 'search' ); ?>
<?php bbp_breadcrumb(); ?>
<?php bbp_forum_subscription_link(); ?>
<?php do_action( 'bbp_template_before_forums_index' ); ?>
<?php if ( bbp_has_forums() ) : ?>
<?php bbp_get_template_part( 'loop', 'forums' ); ?>
<?php else : ?>
<?php bbp_get_template_part( 'feedback', 'no-forums' ); ?>
<?php endif; ?>
<?php do_action( 'bbp_template_after_forums_index' ); ?>
</div>

View File

@@ -0,0 +1,25 @@
<?php
/**
* Search
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
if ( bbp_allow_search() ) : ?>
<div class="bbp-search-form">
<form role="search" class="search-form" method="get" id="bbp-reply-search-form">
<label for="rs">
<span class="screen-reader-text"><?php esc_html_e( 'Search for:', 'kadence' ); ?></span>
<input type="search" value="<?php bbp_search_terms(); ?>" placeholder="<?php esc_attr_e( 'Search ...', 'kadence' ); ?>" name="rs" id="rs" class="search-field" />
</label>
<input class="search-submit" type="submit" value="<?php esc_attr_e( 'Search', 'kadence' ); ?>" />
<?php do_action( 'bbpress_end_form_search' ); ?>
</form>
</div>
<?php endif;

View File

@@ -0,0 +1,246 @@
<?php
/**
* New/Edit Reply
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
if ( bbp_is_reply_edit() ) : ?>
<div id="bbpress-forums" class="bbpress-wrapper">
<?php bbp_breadcrumb(); ?>
<?php endif; ?>
<?php if ( bbp_current_user_can_access_create_reply_form() ) : ?>
<div class="kt-bbpress-clearfix"></div>
<div class="forum-topic-bg">
<div id="new-reply-<?php bbp_topic_id(); ?>" class="bbp-reply-form">
<form id="new-post" name="new-post" method="post" action="<?php bbp_reply_permalink() ?>">
<div class="bbpress-reply-head clearfix">
<?php
echo '<div class="bbpress-reply-head-abovetitle">' . __( 'Reply To:', 'kadence' ) . '</div>';
echo '<h2 class="bbpress-reply-head-title">';
echo bbp_get_topic_title();
echo '</h2>';
?>
</div>
<?php do_action( 'bbp_theme_before_reply_form' ); ?>
<fieldset class="bbp-form">
<?php /* <legend><?php printf( esc_html__( 'Reply To: %s', 'kadence' ), ( bbp_get_form_reply_to() ) ? sprintf( esc_html__( 'Reply #%1$s in %2$s', 'kadence' ), bbp_get_form_reply_to(), bbp_get_topic_title() ) : bbp_get_topic_title() ); ?></legend> */ ?>
<?php do_action( 'bbp_theme_before_reply_form_notices' ); ?>
<?php if ( ! bbp_is_topic_open() && ! bbp_is_reply_edit() ) : ?>
<div class="bbp-template-notice">
<ul>
<li><?php esc_html_e( 'This topic is marked as closed to new replies, however your posting capabilities still allow you to reply.', 'kadence' ); ?></li>
</ul>
</div>
<?php endif; ?>
<?php if ( ! bbp_is_reply_edit() && bbp_is_forum_closed() ) : ?>
<div class="bbp-template-notice">
<ul>
<li><?php esc_html_e( 'This forum is closed to new content, however your posting capabilities still allow you to post.', 'kadence' ); ?></li>
</ul>
</div>
<?php endif; ?>
<?php if ( current_user_can( 'unfiltered_html' ) ) : ?>
<div class="bbp-template-notice">
<ul>
<li><?php esc_html_e( 'Your account has the ability to post unrestricted HTML content.', 'kadence' ); ?></li>
</ul>
</div>
<?php endif; ?>
<?php do_action( 'bbp_template_notices' ); ?>
<div>
<?php bbp_get_template_part( 'form', 'anonymous' ); ?>
<?php do_action( 'bbp_theme_before_reply_form_content' ); ?>
<?php bbp_the_content( array( 'context' => 'reply' ) ); ?>
<?php do_action( 'bbp_theme_after_reply_form_content' ); ?>
<?php if ( ! ( bbp_use_wp_editor() || current_user_can( 'unfiltered_html' ) ) ) : ?>
<p class="form-allowed-tags">
<label><?php esc_html_e( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:','kadence' ); ?></label><br />
<code><?php bbp_allowed_tags(); ?></code>
</p>
<?php endif; ?>
<?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>
<?php do_action( 'bbp_theme_before_reply_form_tags' ); ?>
<p>
<label for="bbp_topic_tags"><?php esc_html_e( 'Tags:', 'kadence' ); ?></label><br />
<input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
</p>
<?php do_action( 'bbp_theme_after_reply_form_tags' ); ?>
<?php endif; ?>
<?php if ( bbp_is_subscriptions_active() && ! bbp_is_anonymous() && ( ! bbp_is_reply_edit() || ( bbp_is_reply_edit() && ! bbp_is_reply_anonymous() ) ) ) : ?>
<?php do_action( 'bbp_theme_before_reply_form_subscription' ); ?>
<p>
<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> />
<?php if ( bbp_is_reply_edit() && ( bbp_get_reply_author_id() !== bbp_get_current_user_id() ) ) : ?>
<label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'kadence' ); ?></label>
<?php else : ?>
<label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'kadence' ); ?></label>
<?php endif; ?>
</p>
<?php do_action( 'bbp_theme_after_reply_form_subscription' ); ?>
<?php endif; ?>
<?php if ( bbp_is_reply_edit() ) : ?>
<?php if ( current_user_can( 'moderate', bbp_get_reply_id() ) ) : ?>
<?php do_action( 'bbp_theme_before_reply_form_reply_to' ); ?>
<p class="form-reply-to">
<label for="bbp_reply_to"><?php esc_html_e( 'Reply To:', 'kadence' ); ?></label><br />
<?php bbp_reply_to_dropdown(); ?>
</p>
<?php do_action( 'bbp_theme_after_reply_form_reply_to' ); ?>
<?php do_action( 'bbp_theme_before_reply_form_status' ); ?>
<p>
<label for="bbp_reply_status"><?php esc_html_e( 'Reply Status:', 'kadence' ); ?></label><br />
<?php bbp_form_reply_status_dropdown(); ?>
</p>
<?php do_action( 'bbp_theme_after_reply_form_status' ); ?>
<?php endif; ?>
<?php if ( bbp_allow_revisions() ) : ?>
<?php do_action( 'bbp_theme_before_reply_form_revisions' ); ?>
<fieldset class="bbp-form">
<legend>
<input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> />
<label for="bbp_log_reply_edit"><?php esc_html_e( 'Keep a log of this edit:', 'kadence' ); ?></label><br />
</legend>
<div>
<label for="bbp_reply_edit_reason"><?php printf( esc_html__( 'Optional reason for editing:', 'kadence' ), bbp_get_current_user_name() ); ?></label><br />
<input type="text" value="<?php bbp_form_reply_edit_reason(); ?>" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" />
</div>
</fieldset>
<?php do_action( 'bbp_theme_after_reply_form_revisions' ); ?>
<?php endif; ?>
<?php endif; ?>
<?php do_action( 'bbp_theme_before_reply_form_submit_wrapper' ); ?>
<div class="bbp-submit-wrapper">
<?php do_action( 'bbp_theme_before_reply_form_submit_button' ); ?>
<?php bbp_cancel_reply_to_link(); ?>
<button type="submit" id="bbp_reply_submit" name="bbp_reply_submit" class="button submit"><?php esc_html_e( 'Submit', 'kadence' ); ?></button>
<?php do_action( 'bbp_theme_after_reply_form_submit_button' ); ?>
</div>
<?php do_action( 'bbp_theme_after_reply_form_submit_wrapper' ); ?>
</div>
<?php bbp_reply_form_fields(); ?>
</fieldset>
<?php do_action( 'bbp_theme_after_reply_form' ); ?>
</form>
</div>
</div>
<?php elseif ( bbp_is_topic_closed() ) : ?>
<div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
<div class="bbp-template-notice">
<ul>
<li><?php printf( esc_html__( 'The topic &#8216;%s&#8217; is closed to new replies.', 'kadence' ), bbp_get_topic_title() ); ?></li>
</ul>
</div>
</div>
<?php elseif ( bbp_is_forum_closed( bbp_get_topic_forum_id() ) ) : ?>
<div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
<div class="bbp-template-notice">
<ul>
<li><?php printf( esc_html__( 'The forum &#8216;%s&#8217; is closed to new topics and replies.', 'kadence' ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></li>
</ul>
</div>
</div>
<?php else : ?>
<div id="no-reply-<?php bbp_topic_id(); ?>" class="bbp-no-reply">
<div class="bbp-template-notice">
<ul>
<li><?php is_user_logged_in()
? esc_html_e( 'You cannot reply to this topic.', 'kadence' )
: esc_html_e( 'You must be logged in to reply to this topic.', 'kadence' );
?></li>
</ul>
</div>
<?php if ( ! is_user_logged_in() ) : ?>
<?php bbp_get_template_part( 'form', 'user-login' ); ?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ( bbp_is_reply_edit() ) : ?>
</div>
<?php endif;

View File

@@ -0,0 +1,26 @@
<?php
/**
* Search
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
if ( bbp_allow_search() ) : ?>
<div class="bbp-search-form">
<form role="search" class="search-form" method="get">
<label for="bbp_search">
<span class="screen-reader-text"><?php esc_html_e( 'Search for:', 'kadence' ); ?></span>
<input type="search" value="<?php bbp_search_terms(); ?>" placeholder="<?php esc_attr_e( 'Search ...', 'kadence' ); ?>" name="bbp_search" class="search-field" />
</label>
<input type="hidden" name="action" value="bbp-search-request" />
<input class="search-submit" type="submit" value="<?php esc_attr_e( 'Search', 'kadence' ); ?>" />
<?php do_action( 'bbpress_end_form_search' ); ?>
</form>
</div>
<?php endif;

View File

@@ -0,0 +1,25 @@
<?php
/**
* Search
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
if ( bbp_allow_search() ) : ?>
<div class="bbp-search-form">
<form role="search" class="search-form" method="get" id="bbp-topic-search-form">
<label for="ts">
<span class="screen-reader-text"><?php esc_html_e( 'Search for:', 'kadence' ); ?></span>
<input type="search" value="<?php bbp_search_terms(); ?>" placeholder="<?php esc_attr_e( 'Search ...', 'kadence' ); ?>" name="ts" id="ts" class="search-field" />
</label>
<input class="search-submit" type="submit" value="<?php esc_attr_e( 'Search', 'kadence' ); ?>" />
<?php do_action( 'bbpress_end_form_search' ); ?>
</form>
</div>
<?php endif;

View File

@@ -0,0 +1,273 @@
<?php
/**
* New/Edit Topic
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
if ( ! bbp_is_single_forum() ) : ?>
<div id="bbpress-forums" class="bbpress-wrapper">
<?php bbp_breadcrumb(); ?>
<?php endif; ?>
<?php if ( bbp_is_topic_edit() ) : ?>
<?php bbp_topic_tag_list( bbp_get_topic_id() ); ?>
<?php bbp_single_topic_description( array( 'topic_id' => bbp_get_topic_id() ) ); ?>
<?php bbp_get_template_part( 'alert', 'topic-lock' ); ?>
<?php endif; ?>
<?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>
<div class="kt-bbpress-clearfix"></div>
<div class="forum-topic-bg">
<div id="new-topic-<?php bbp_topic_id(); ?>" class="bbp-topic-form">
<form id="new-post" name="new-post" method="post" action="<?php bbp_topic_permalink(); ?>">
<div class="bbpress-reply-head clearfix">
<?php
if ( bbp_is_topic_edit() ) :
echo '<h2 class="ktbb-reply-head-title">';
printf( __( 'Now Editing %s', 'kadence' ), '<strong>' . esc_html( bbp_get_topic_title() ) . '</strong>' );
echo '</h2>';
else :
if ( bbp_is_single_forum() && bbp_get_forum_title() ) {
echo '<div class="bbpress-reply-head-abovetitle">' . __( 'Create New Topic in:', 'kadence' ) . '</div>';
echo '<h2 class="bbpress-reply-head-title">';
echo esc_html( bbp_get_topic_title() );
echo '</h2>';
} else {
echo '<h2 class="bbpress-reply-head-title">';
echo __( 'Create New Topic', 'kadence' );
echo '</h2>';
}
endif;
?>
</div>
<?php do_action( 'bbp_theme_before_topic_form' ); ?>
<fieldset class="bbp-form">
<?php do_action( 'bbp_theme_before_topic_form_notices' ); ?>
<?php if ( ! bbp_is_topic_edit() && bbp_is_forum_closed() ) : ?>
<div class="bbp-template-notice">
<ul>
<li><?php esc_html_e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to create a topic.', 'kadence' ); ?></li>
</ul>
</div>
<?php endif; ?>
<?php if ( current_user_can( 'unfiltered_html' ) ) : ?>
<div class="bbp-template-notice">
<ul>
<li><?php esc_html_e( 'Your account has the ability to post unrestricted HTML content.', 'kadence' ); ?></li>
</ul>
</div>
<?php endif; ?>
<?php do_action( 'bbp_template_notices' ); ?>
<div>
<?php bbp_get_template_part( 'form', 'anonymous' ); ?>
<?php do_action( 'bbp_theme_before_topic_form_title' ); ?>
<p>
<label for="bbp_topic_title"><?php printf( esc_html__( 'Topic Title (Maximum Length: %d):', 'kadence' ), bbp_get_title_max_length() ); ?></label><br />
<input type="text" id="bbp_topic_title" value="<?php bbp_form_topic_title(); ?>" size="40" name="bbp_topic_title" maxlength="<?php bbp_title_max_length(); ?>" />
</p>
<?php do_action( 'bbp_theme_after_topic_form_title' ); ?>
<?php do_action( 'bbp_theme_before_topic_form_content' ); ?>
<?php bbp_the_content( array( 'context' => 'topic' ) ); ?>
<?php do_action( 'bbp_theme_after_topic_form_content' ); ?>
<?php if ( ! ( bbp_use_wp_editor() || current_user_can( 'unfiltered_html' ) ) ) : ?>
<p class="form-allowed-tags">
<label><?php printf( esc_html__( 'You may use these %s tags and attributes:', 'kadence' ), '<abbr title="HyperText Markup Language">HTML</abbr>' ); ?></label><br />
<code><?php bbp_allowed_tags(); ?></code>
</p>
<?php endif; ?>
<?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>
<?php do_action( 'bbp_theme_before_topic_form_tags' ); ?>
<p>
<label for="bbp_topic_tags"><?php esc_html_e( 'Topic Tags:', 'kadence' ); ?></label><br />
<input type="text" value="<?php bbp_form_topic_tags(); ?>" size="40" name="bbp_topic_tags" id="bbp_topic_tags" <?php disabled( bbp_is_topic_spam() ); ?> />
</p>
<?php do_action( 'bbp_theme_after_topic_form_tags' ); ?>
<?php endif; ?>
<?php if ( ! bbp_is_single_forum() ) : ?>
<?php do_action( 'bbp_theme_before_topic_form_forum' ); ?>
<p>
<label for="bbp_forum_id"><?php esc_html_e( 'Forum:', 'kadence' ); ?></label><br />
<?php
bbp_dropdown( array(
'show_none' => esc_html__( '&mdash; No forum &mdash;', 'kadence' ),
'selected' => bbp_get_form_topic_forum()
) );
?>
</p>
<?php do_action( 'bbp_theme_after_topic_form_forum' ); ?>
<?php endif; ?>
<?php if ( current_user_can( 'moderate', bbp_get_topic_id() ) ) : ?>
<?php do_action( 'bbp_theme_before_topic_form_type' ); ?>
<p>
<label for="bbp_stick_topic"><?php esc_html_e( 'Topic Type:', 'kadence' ); ?></label><br />
<?php bbp_form_topic_type_dropdown(); ?>
</p>
<?php do_action( 'bbp_theme_after_topic_form_type' ); ?>
<?php do_action( 'bbp_theme_before_topic_form_status' ); ?>
<p>
<label for="bbp_topic_status"><?php esc_html_e( 'Topic Status:', 'kadence' ); ?></label><br />
<?php bbp_form_topic_status_dropdown(); ?>
</p>
<?php do_action( 'bbp_theme_after_topic_form_status' ); ?>
<?php endif; ?>
<?php if ( bbp_is_subscriptions_active() && ! bbp_is_anonymous() && ( ! bbp_is_topic_edit() || ( bbp_is_topic_edit() && ! bbp_is_topic_anonymous() ) ) ) : ?>
<?php do_action( 'bbp_theme_before_topic_form_subscriptions' ); ?>
<p>
<input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> />
<?php if ( bbp_is_topic_edit() && ( bbp_get_topic_author_id() !== bbp_get_current_user_id() ) ) : ?>
<label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'kadence' ); ?></label>
<?php else : ?>
<label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'kadence' ); ?></label>
<?php endif; ?>
</p>
<?php do_action( 'bbp_theme_after_topic_form_subscriptions' ); ?>
<?php endif; ?>
<?php if ( bbp_allow_revisions() && bbp_is_topic_edit() ) : ?>
<?php do_action( 'bbp_theme_before_topic_form_revisions' ); ?>
<fieldset class="bbp-form">
<legend>
<input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" <?php bbp_form_topic_log_edit(); ?> />
<label for="bbp_log_topic_edit"><?php esc_html_e( 'Keep a log of this edit:', 'kadence' ); ?></label><br />
</legend>
<div>
<label for="bbp_topic_edit_reason"><?php printf( esc_html__( 'Optional reason for editing:', 'kadence' ), bbp_get_current_user_name() ); ?></label><br />
<input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" />
</div>
</fieldset>
<?php do_action( 'bbp_theme_after_topic_form_revisions' ); ?>
<?php endif; ?>
<?php do_action( 'bbp_theme_before_topic_form_submit_wrapper' ); ?>
<div class="bbp-submit-wrapper">
<?php do_action( 'bbp_theme_before_topic_form_submit_button' ); ?>
<button type="submit" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit"><?php esc_html_e( 'Submit', 'kadence' ); ?></button>
<?php do_action( 'bbp_theme_after_topic_form_submit_button' ); ?>
</div>
<?php do_action( 'bbp_theme_after_topic_form_submit_wrapper' ); ?>
</div>
<?php bbp_topic_form_fields(); ?>
</fieldset>
<?php do_action( 'bbp_theme_after_topic_form' ); ?>
</form>
</div>
</div>
<?php elseif ( bbp_is_forum_closed() ) : ?>
<div id="forum-closed-<?php bbp_forum_id(); ?>" class="bbp-forum-closed">
<div class="bbp-template-notice">
<ul>
<li><?php printf( esc_html__( 'The forum &#8216;%s&#8217; is closed to new topics and replies.', 'kadence' ), bbp_get_forum_title() ); ?></li>
</ul>
</div>
</div>
<?php else : ?>
<div id="no-topic-<?php bbp_forum_id(); ?>" class="bbp-no-topic">
<div class="bbp-template-notice">
<ul>
<li><?php is_user_logged_in()
? esc_html_e( 'You cannot create new topics.', 'kadence' )
: esc_html_e( 'You must be logged in to create new topics.', 'kadence' );
?></li>
</ul>
</div>
<?php if ( ! is_user_logged_in() ) : ?>
<?php bbp_get_template_part( 'form', 'user-login' ); ?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ( ! bbp_is_single_forum() ) : ?>
</div>
<?php endif;

View File

@@ -0,0 +1,58 @@
<?php
/**
* Search Loop - Single Reply
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<div class="bbp-reply-header bbp-search-item-header">
<div class="bbp-reply-sub-title">
<?php esc_html_e( 'In forum:', 'kadence' ); ?>
<a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id( bbp_get_reply_topic_id() ) ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id( bbp_get_reply_topic_id() ) ); ?></a>
</div><!-- .bbp-reply-title -->
<div class="bbp-reply-title">
<h3><?php esc_html_e( 'In reply to:', 'kadence' ); ?>
<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3>
</div><!-- .bbp-reply-title -->
</div><!-- .bbp-reply-header -->
<div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
<div class="bbp-reply-author">
<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
<?php bbp_reply_author_avatar( bbp_get_reply_id(), 60 ); ?>
<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
</div><!-- .bbp-reply-author -->
<div class="bbp-reply-content">
<div class="bbp-head-area">
<div class="reply-author-displayname"><?php bbp_reply_author_link( array( 'sep' => ' ', 'show_role' => false, 'type' => 'name' ) ); ?></div>
<div class="bbp-meta">
<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
<a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
</div><!-- .bbp-meta -->
</div>
<?php do_action( 'bbp_theme_before_reply_content' ); ?>
<?php bbp_reply_content(); ?>
<?php do_action( 'bbp_theme_after_reply_content' ); ?>
</div><!-- .bbp-reply-content -->
</div><!-- #post-<?php bbp_reply_id(); ?> -->

View File

@@ -0,0 +1,66 @@
<?php
/**
* Search Loop - Single Topic
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<div class="bbp-topic-header bbp-search-item-header">
<div class="bbp-topic-sub-title">
<?php if ( function_exists( 'bbp_is_forum_group_forum' ) && bbp_is_forum_group_forum( bbp_get_topic_forum_id() ) ) : ?>
<?php esc_html_e( 'In group forum:', 'kadence' ); ?>
<?php else : ?>
<?php esc_html_e( 'In forum:', 'kadence' ); ?>
<?php endif; ?>
<a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a>
</div><!-- .bbp-topic-sub-title -->
<div class="bbp-topic-title">
<h3><?php esc_html_e( 'Topic:', 'kadence' ); ?>
<a href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a></h3>
</div><!-- .bbp-topic-title -->
</div><!-- .bbp-topic-header -->
<div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
<div class="bbp-topic-author">
<?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
<?php bbp_topic_author_avatar( bbp_get_topic_id(), 60 ); ?>
<?php do_action( 'bbp_theme_after_topic_author_details' ); ?>
</div><!-- .bbp-topic-author -->
<div class="bbp-topic-content bbp-reply-content">
<div class="bbp-head-area">
<div class="reply-author-displayname"><?php bbp_topic_author_link( array( 'sep' => ' ', 'show_role' => false, 'type' => 'name' ) ); ?></div>
<div class="bbp-meta">
<span class="bbp-reply-post-date"><?php bbp_topic_post_date( bbp_get_topic_id() ); ?></span>
<a href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>" class="bbp-reply-permalink">#<?php bbp_topic_id(); ?></a>
</div><!-- .bbp-meta -->
</div>
<?php do_action( 'bbp_theme_before_topic_content' ); ?>
<?php bbp_topic_content(); ?>
<?php do_action( 'bbp_theme_after_topic_content' ); ?>
</div><!-- .bbp-topic-content -->
</div><!-- #post-<?php bbp_topic_id(); ?> -->

View File

@@ -0,0 +1,56 @@
<?php
/**
* Replies Loop - Single Reply
*
* @package bbPress
* @subpackage Theme
*/
/* Edited
Edit: "remove bbp-meta."
move around content: "remove bbp-footer."
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
<div class="bbp-reply-author">
<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
<?php bbp_reply_author_avatar( bbp_get_reply_id(), 60 ); ?>
<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
</div><!-- .bbp-reply-author -->
<div class="bbp-reply-content">
<?php do_action( 'bbp_theme_before_reply_content' ); ?>
<div class="bbp-head-area">
<div class="reply-author-displayname"><?php bbp_reply_author_link( array( 'sep' => ' ', 'show_role' => false, 'type' => 'name' ) ); ?></div>
<div class="bbp-meta">
<?php bbp_reply_post_date(bbp_get_reply_id()); ?>
<a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
</div><!-- .bbp-meta -->
</div>
<?php bbp_reply_content(); ?>
<?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
<?php bbp_reply_admin_links(); ?>
<?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
<?php do_action( 'bbp_theme_after_reply_content' ); ?>
</div><!-- .bbp-reply-content -->
</div><!-- .reply -->

View File

@@ -0,0 +1,114 @@
<?php
/**
* Topics Loop - Single
*
* @package bbPress
* @subpackage Theme
*/
/* Edited
Edit: "Move topic meta beside title."
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
?>
<ul id="bbp-topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
<li class="bbp-topic-title">
<?php if ( bbp_is_user_home() ) : ?>
<?php if ( bbp_is_favorites() ) : ?>
<span class="bbp-row-actions">
<?php do_action( 'bbp_theme_before_topic_favorites_action' ); ?>
<?php bbp_topic_favorite_link( array( 'before' => '', 'favorite' => '+', 'favorited' => '&times;' ) ); ?>
<?php do_action( 'bbp_theme_after_topic_favorites_action' ); ?>
</span>
<?php elseif ( bbp_is_subscriptions() ) : ?>
<span class="bbp-row-actions">
<?php do_action( 'bbp_theme_before_topic_subscription_action' ); ?>
<?php bbp_topic_subscription_link( array( 'before' => '', 'subscribe' => '+', 'unsubscribe' => '&times;' ) ); ?>
<?php do_action( 'bbp_theme_after_topic_subscription_action' ); ?>
</span>
<?php endif; ?>
<?php endif; ?>
<?php do_action( 'bbp_theme_before_topic_title' ); ?>
<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a>
<?php do_action( 'bbp_theme_after_topic_title' ); ?>
<?php bbp_topic_pagination(); ?>
<?php do_action( 'bbp_theme_before_topic_meta' ); ?>
<p class="bbp-topic-meta entry-meta">
<?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
<span class="bbp-topic-started-by"><?php printf( esc_html__( 'Started by: %1$s', 'kadence' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>
<?php do_action( 'bbp_theme_after_topic_started_by' ); ?>
<?php if ( ! bbp_is_single_forum() || ( bbp_get_topic_forum_id() !== bbp_get_forum_id() ) ) : ?>
<?php do_action( 'bbp_theme_before_topic_started_in' ); ?>
<span class="bbp-topic-started-in"><?php printf( esc_html__( 'in: %1$s', 'kadence' ), '<a href="' . bbp_get_forum_permalink( bbp_get_topic_forum_id() ) . '">' . bbp_get_forum_title( bbp_get_topic_forum_id() ) . '</a>' ); ?></span>
<?php do_action( 'bbp_theme_after_topic_started_in' ); ?>
<?php endif; ?>
<span class="bbpress-meta-replies">
<?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?>
<?php
bbp_show_lead_topic()
? esc_html_e( 'Replies', 'kadence' )
: esc_html_e( 'Posts', 'kadence' );
?>
</span>
</p>
<?php do_action( 'bbp_theme_after_topic_meta' ); ?>
<?php bbp_topic_row_actions(); ?>
</li>
<li class="bbp-topic-freshness">
<?php do_action( 'bbp_theme_before_topic_freshness_link' ); ?>
<?php bbp_topic_freshness_link(); ?>
<?php do_action( 'bbp_theme_after_topic_freshness_link' ); ?>
<p class="bbp-topic-meta">
<?php do_action( 'bbp_theme_before_topic_freshness_author' ); ?>
<span class="bbp-topic-freshness-author">by <?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span>
<?php do_action( 'bbp_theme_after_topic_freshness_author' ); ?>
</p>
</li>
</ul><!-- #bbp-topic-<?php bbp_topic_id(); ?> -->

View File

@@ -0,0 +1,42 @@
<?php
/**
* Topics Loop
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
do_action( 'bbp_template_before_topics_loop' ); ?>
<ul id="bbp-forum-<?php bbp_forum_id(); ?>" class="bbp-topics">
<li class="bbp-header">
<ul class="forum-titles">
<li class="bbp-topic-title"><?php esc_html_e( 'Topic', 'kadence' ); ?></li>
<li class="bbp-topic-freshness"><?php esc_html_e( 'Last Post', 'kadence' ); ?></li>
</ul>
</li>
<li class="bbp-body">
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
<?php endwhile; ?>
</li>
<li class="bbp-footer">
<div class="tr">
<p>
<span class="td colspan<?php echo ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ? '5' : '4'; ?>">&nbsp;</span>
</p>
</div><!-- .tr -->
</li>
</ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> -->
<?php do_action( 'bbp_template_after_topics_loop' );

View File

@@ -0,0 +1,23 @@
<?php
/**
* Pagination for pages of replies (when viewing a topic)
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
do_action( 'bbp_template_before_pagination_loop' );
if ( bbp_get_topic_pagination_links() ) {
?>
<div class="bbp-pagination">
<div class="bbp-pagination-count"><?php bbp_topic_pagination_count(); ?></div>
<div class="bbp-pagination-links"><?php bbp_topic_pagination_links(); ?></div>
</div>
<?php
}
do_action( 'bbp_template_after_pagination_loop' );

View File

@@ -0,0 +1,23 @@
<?php
/**
* Pagination for pages of replies (when viewing a topic)
*
* @package bbPress
* @subpackage Theme
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
do_action( 'bbp_template_before_pagination_loop' );
if ( bbp_get_forum_pagination_links() ) {
?>
<div class="bbp-pagination">
<div class="bbp-pagination-count"><?php bbp_forum_pagination_count(); ?></div>
<div class="bbp-pagination-links"><?php bbp_forum_pagination_links(); ?></div>
</div>
<?php
}
do_action( 'bbp_template_after_pagination_loop' );