Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jackmarshall

    (@jackmarshall)

    I tried this solution and still nothing.

    I am confused, it I change themes on bueno listo all the images files still work because I have used relative URL’s

    Is there a function that calls get_template_directory or something that would apply to all files/images in the theme directory.

    I can’t figure out why it works on one site but not the other.

    Thread Starter jackmarshall

    (@jackmarshall)

    Can you explain how to use

    <?php get_template_directory() ?>

    Thread Starter jackmarshall

    (@jackmarshall)

    Yes that…I want to program the site images like this

    <img src="images/big_tim_circle.jpg" />

    But when I do that I get 404 error or redirected to the home page.

    I do not want to have to use absolute URL’s

    Does this makes sense?

    Thread Starter jackmarshall

    (@jackmarshall)

    I have reverted and the comments worked fine. The issue is I am using a custom theme and need to configure the comments template, along with the supporting function in functions file.

    I have tried following the Ian Stewart’s superior tutorial here: https://themeshaper.com/wordpress-themes-templates-tutorial/ for theme shaper.

    I have also tried using the comments/functions files from the twenyten them copied directly from the wordpress core trac.

    One of two things happen: (1) I get the current state whereby the leave comment form appears but not the comments. In this scenario it appears to function call back buenolist_comments is not being read by the comments.php file <?php wp_list_comments( array( 'callback' => 'buenolisto_comments' ) ); ?>

    The other scenario is when I remove certain files and it reverts back to the default comments.php file in the wp-includes/theme-compat folder. This produces comments but in a format that I am not able to manipulate the order of the information or properly style it.

    If any who is code-smart look into the links to the three files I’d posted and let me know where I’ve gone astray I’d be forever grateful.

    Thanks again for all the assistance.

    Thread Starter jackmarshall

    (@jackmarshall)

    Deactivated the two plug ins I had running but it did not have any effect. Thanks for the suggestions, please keep them coming.

    Thread Starter jackmarshall

    (@jackmarshall)

    I can see the comments from the “posts” section of the admin control panel. The admin approval is “unchecked”.

    The problem is the comments are not populating in the theme. When I load a “single” page, beneath the post, the comments do not appear, but the leave a comment form does.

    There is a code issue I think, which I have dissected and experimented with for days to no avail.

    I just can’t seem to figure out where I’ve gone wrong.

    Thanks…

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