已創建論壇回覆
-
作者帖子
-
你好,請附上詳細截圖看下,僅憑以上信息不能確定具體原因。
如果是在主站點上的話,應該不會出現這種情況,如果是子站點的話可能是用户信息未同步過去導致。
添加了分享功能,同時為自適應,手機等設備訪問會自動適應。
已修改 bbPress 論壇標籤前綴顯示效果:
新帖子的話兩個小時內有提醒是新帖,這樣也方便我們分辨進行回覆。
代碼如下:
//bbPress 添加置頂標籤 function rk_sticky_topics() { if ( bbp_is_topic_sticky() && !bbp_is_topic_closed() ) echo '<span class="sticky">[Sticky]</span>'; } add_action( 'bbp_theme_before_topic_title', 'rk_sticky_topics' ); //bbPress 添加關閉標籤 function rk_closed_topics() { if ( bbp_is_topic_closed() && !bbp_is_topic_sticky() ) echo '<span class="closed">[Closed]</span>'; } add_action( 'bbp_theme_before_topic_title', 'rk_closed_topics' ); //bbPress 回覆超過 25 個為顯示熱帖 function rk_hot_topics() { $reply_count = bbp_get_topic_reply_count(); if ( $reply_count > 25 ) echo '<span class="hot">[Hot]</span>'; } add_action( 'bbp_theme_before_topic_title', 'rk_hot_topics' );
測試添加了新的標籤效果,感覺還行,調整了樣式為統一風格,客户站點也可直接使用。
正在進行站點的轉移工作,稍後上線。。。
以下我們作品集頁面代碼,新建一個頁面,然後複製進去即可。
[fusion_builder_container background_color="#ffffff" background_image="" background_parallax="none" enable_mobile="no" parallax_speed="0.3" background_repeat="no-repeat" background_position="left top" video_url="" video_aspect_ratio="16:9" video_webm="" video_mp4="" video_ogv="" video_preview_image="" overlay_color="" video_mute="yes" video_loop="yes" fade="no" border_size="0px" border_color="" border_style="solid" padding_top="40" padding_bottom="40" padding_left="20px" padding_right="20px" hundred_percent="yes" equal_height_columns="no" hide_on_mobile="no" menu_anchor="" class="" id=""][fusion_builder_row][fusion_builder_column type="1_1" layout="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding_top="" padding_right="" padding_bottom="" padding_left="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none" last="no" hover_type="none" link="" border_position="all"][fusion_text] <h2 style="text-align: center;"> 簡約卻並不簡單,實用且無需華麗</h2> [/fusion_text][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container][fusion_builder_container hundred_percent="yes" overflow="visible" padding_right="20px" padding_left="20px"][fusion_builder_row][fusion_builder_column type="1_1" layout="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding_top="" padding_right="" padding_bottom="" padding_left="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none" last="no" hover_type="none" link="" border_position="all"][fusion_section_separator divider_candy="bottom" icon="fa-trophy" icon_color="#333333" bordersize="1px" bordercolor="#ffffff" backgroundcolor="#ffffff" class="" id="" /][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container][fusion_builder_container background_color="yes" background_image="" background_parallax="none" enable_mobile="no" parallax_speed="0.3" background_repeat="no-repeat" background_position="left top" video_url="" video_aspect_ratio="16:9" video_webm="" video_mp4="" video_ogv="" video_preview_image="" overlay_color="" video_mute="yes" video_loop="yes" fade="no" border_size="0px" border_color="" border_style="solid" padding_top="0px" padding_bottom="0px" padding_left="" padding_right="" hundred_percent="no" equal_height_columns="no" hide_on_mobile="no" menu_anchor="" class="" id=""][fusion_builder_row][fusion_builder_column type="1_1" layout="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding_top="" padding_right="" padding_bottom="" padding_left="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none" last="no" hover_type="none" link="" border_position="all"][fusion_separator style_type="none" top_margin="40" bottom_margin="40" sep_color="" border_size="" icon="" icon_circle="" icon_circle_color="" width="" alignment="center" class="" id="" /][/fusion_builder_column][fusion_builder_column type="1_1" layout="1_1" last="yes" spacing="yes" center_content="no" hide_on_mobile="no" background_color="" background_image="" background_repeat="no-repeat" background_position="left top" hover_type="none" link="" border_position="all" border_size="0px" border_color="" border_style="" padding_top="" padding_right="" padding_bottom="" padding_left="" margin_top="" margin_bottom="" animation_type="" animation_direction="" animation_speed="0.1" animation_offset="" class="" id="" min_height=""][fusion_portfolio layout="grid" picture_size="auto" text_layout="boxed" grid_box_color="" grid_element_color="" grid_separator_style_type="" grid_separator_color="" columns="4" one_column_text_position="below" column_spacing="25" equal_heights="no" number_posts="18" portfolio_title_display="all" portfolio_text_alignment="default" padding_top="" padding_right="" padding_bottom="" padding_left="" filters="yes" pull_by="category" cat_slug="" exclude_cats="original" tag_slug="" exclude_tags="" pagination_type="infinite" hide_url_params="off" offset="" orderby="date" order="DESC" content_length="excerpt" excerpt_length="0" strip_html="yes" carousel_layout="title_on_rollover" scroll_items="3" autoplay="no" show_nav="yes" mouse_scroll="no" hide_on_mobile="small-visibility,medium-visibility,large-visibility" animation_type="" animation_direction="down" animation_speed="0.1" animation_offset="" class="" id="" /][/fusion_builder_column][fusion_builder_column type="1_1" layout="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding_top="" padding_right="" padding_bottom="" padding_left="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none" last="no" hover_type="none" link="" border_position="all"][fusion_separator style_type="none" top_margin="20" bottom_margin="20" sep_color="" border_size="" icon="" icon_circle="" icon_circle_color="" width="" alignment="center" class="" id="" /][fusion_text] <p style="text-align: center;"><em><span style="color: #999999; font-family: Georgia;">Powered by Weixiaoduo.com</span></em></p> [/fusion_text][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]
你好,作品集的頁面是通過內置模塊實現的,[fusion_code] 不用編輯,後台頁面如果是代碼的話就點擊融合編輯器按鈕即可。
自己手動修改代碼容易導致加載錯誤。
回覆至: 如何修改 bbpress 論壇的樣式 #24269搜索框的話可以在後台的主題設置裏面調整表單寬度
背景白色的話需要自己寫下 css 樣式。
-
作者帖子