jralston (@jralston)

Forum Replies Created

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

  • jralston
    Participant

    @jralston

    Yes. I am trying to use the full template – not template part – so I copied the files into the root of my theme as it says to do here:
    The “extras” directory contains optional root level page templates, to make life a little easier when customizing; copy any you want to use or modify into the root of your theme. eg. /wp-content/themes/%your-theme%/

    I did not rename the files.


    jralston
    Participant

    @jralston

    Yes – I’ve seen this page you recommended and was very excited to get started… but when I copy over those templates into my theme folder they do not take effect. I make changes to those newly copied templates and those changes are not reflected on the bbpress pages.
    As I understand it:
    -content-archive-forum.php will be seen instead of archive-forum.php
    -content-single-forum.php will be seen instead of single-forum.php

    But it’s not. Help? Where am I going wrong?

    In reply to: breadcrumbs missing

    jralston
    Participant

    @jralston

    My functions file doesn’t have any breadcrumb functions in it. Is the function supposed to be added there automatically? What I am trying to figure is what is the actual breadcrumb function and where should it be located?

    In reply to: breadcrumbs missing

    jralston
    Participant

    @jralston

    I have found the template tag: `/**
    * Output a breadcrumb
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    * @uses bbp_get_breadcrumb() To get the breadcrumb
    */
    function bbp_breadcrumb( $args = array() ) {
    echo bbp_get_breadcrumb( $args );
    }
    /**
    * Return a breadcrumb ( forum -> topic -> reply )
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    *
    * @uses get_post() To get the post
    * @uses bbp_get_forum_permalink() To get the forum link
    * @uses bbp_get_topic_permalink() To get the topic link
    * @uses bbp_get_reply_permalink() To get the reply link
    * @uses get_permalink() To get the permalink
    * @uses bbp_get_forum_post_type() To get the forum post type
    * @uses bbp_get_topic_post_type() To get the topic post type
    * @uses bbp_get_reply_post_type() To get the reply post type
    * @uses bbp_get_forum_title() To get the forum title
    * @uses bbp_get_topic_title() To get the topic title
    * @uses bbp_get_reply_title() To get the reply title
    * @uses get_the_title() To get the title
    * @uses apply_filters() Calls ‘bbp_get_breadcrumb’ with the crumbs
    * @return string Breadcrumbs
    */
    function bbp_get_breadcrumb( $args = array() ) {`

    But I haven’t any idea how to use it. I know I need to add the function into functions file but I need the actual function. Then I need to call that function in the template file. Suggestions?


    jralston
    Participant

    @jralston

    Solved. I changed the IP address. Rackspace apparently uses 2 different IPs – one for DB management. Sorry for the false alarm.

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