• I have created a child theme based upon TwentyTwelve for my webpage.

    When you use this plugin a list of FB-posts is elaborated. When you click on an FB-post, the post is viewed in the WP-theme as defined in single.php (or single-fb_group_post.php for individual modification).

    But, how do I modify the my theme for the list of FB-posts?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Mikael Boldt

    (@boldt)

    The complete solution is to create 3 files for the theme:
    single-fb_group_post.php
    archive-fb_group_post.php
    content-fb_group_post.php

    The three files are simply made by copying single.php, archive.php and content.php and then correcting to the desired look. (It’s easier to copy and correct, than to write brand new files – otherwise I could have done with the first 2 files only.)

    In my theme, a TwentyTwelve child, I also had to make a new function by copying an existing function and delete some content.

    • This reply was modified 7 years, 3 months ago by Mikael Boldt.
Viewing 1 replies (of 1 total)
  • The topic ‘how is the list with FB-entries generated?’ is closed to new replies.