galiulinr (@galiulinr)

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

  • galiulinr
    Participant

    @galiulinr

    Make subdomain forum.protikhon.com or use child themes

    In reply to: Featured slider

    galiulinr
    Participant

    @galiulinr

    The question is outdated, but I also needed a slider. Today I use “Yet Another Related Posts Plugin” + “Related Posts Slider“. It works for me.I added a shortcode in a page template forum. Maybe it will help someone.


    galiulinr
    Participant

    @galiulinr

    With the CSS does not suit me, do not double content I need to cut in one place. I found the file loop-single-forum.php <div class=”bbp-forum-content”><?php bbp_forum_content(); ?></div> if it would be replaced by the_excerpt, the decision to come to me. I want to see short description


    galiulinr
    Participant

    @galiulinr

    Here’s the code works for me:

    <?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?>
    <!-- The Loop -->
        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
            <l i>
                <a hr ef="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
                <?php the_title(); ?></ a>,
                <?php the_time('d M Y'); ?> in <?php the_category('&');?>
            </l i>
        <?php endwhile; else: ?>
            < p><?php _e('No posts by this author.'); ?></ p>
        <?php endif; ?>
    <!-- End Loop --> 

    galiulinr
    Participant

    @galiulinr

    @jesmin13, Ask your question in another topic.


    galiulinr
    Participant

    @galiulinr

    No, I was on the page of this forum you need a great description. A short description must be on the category page forum


    galiulinr
    Participant

    @galiulinr

    Thank you Robin!
    This code works for me.

    function bbp_single_replies_show($args) {
    if(is_singular( 'download' )) {
    $args['posts_per_page'] = 3 ;
    $args['max_num_pages'] = 1;
    }
    return $args;
    }
    add_filter('bbp_before_has_replies_parse_args','bbp_single_replies_show');

    Now I have a custom page type post comments remove, and set the theme forum with the number of responses 3. Thank you very much.


    galiulinr
    Participant

    @galiulinr

    Unfortunately I learn php 10 months, and did not know too much. I add this code:

    function bbp_single_replies_show($args) {
    $args['posts_per_page'] = 3 ;
    return $args;
    }
    add_filter('bbp_before_has_replies_parse_args','bbp_single_replies_show');

    it does not work for me. I looked at your plugin, but highlight the desired fragment, I could not. I thought it would be easy, you can help me?


    galiulinr
    Participant

    @galiulinr

    Oh great, Robin. It works for me. Thank you very much!

    <?php
    $idbbp = get_post_meta($post->ID, 'idbbp', true);
    $forum_id = bbpress()->current_forum_id = $idbbp;
    $x='[bbp-single-topic id ="'.$forum_id.'"]';
    echo do_shortcode($x);
    ?>


    galiulinr
    Participant

    @galiulinr

    I installed the plugin Easy digital downloads that creates custom record types post_type = download. I edited single.php file removed <? Php comments_template ();?> And I want to insert the code to show the theme of the forum bbpress renamed to the new file single-download.php
    In the custom field on the product page I insert ID Forum.


    galiulinr
    Participant

    @galiulinr

    Hi, Robin!
    I want to replace on the page comment form on the relevant topic in the forum. To do this, on each page I create a custom field in which prescribe ID created threads.
    echo do_shortcode( ‘[bbp-single-forum id forum id =”custom_field”]‘ );
    does not work.

Viewing 11 replies - 1 through 11 (of 11 total)