New Landing How can we help? Themeforest Theme Support Joyn Editing Blog Posts for 'blog-masonry-full-width'

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Joyn
  • #205067
    orchidjersey
    Member
    Post count: 8

    Hi Guys

    I wonder if you can point me in the right direction of the .php file that I would need to edit to add a custom line of text that will appear above each of the blog posts (above the displayed image/video/content) within the blog-masonry-full-width template.

    I have been looking in > themes > joyn > swift-framework and not sure which file it would be.

    Cheers
    Orchid

    #205069
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Orchid,

    Please take a look at swift-framework/content/sf-blog.php.

    Thanks,
    David.

    #205265
    orchidjersey
    Member
    Post count: 8
    This reply has been marked as private.
    #205411
    David Martin – Support
    Moderator
    Post count: 20834

    Glad you got it sorted.

    Do you mean the single post? If so single.php is the file you will want to look at.

    – David.

    #205547
    orchidjersey
    Member
    Post count: 8

    Sorry, its is not sorted….

    No not on single posts but on the blog-masonry-full-width page….

    The graphic above is what I want is to look like – but I cannot find where in the code (within swift-framework/content/sf-blog.php) I am supposed to add my custom php code to get these desired results…

    If you can point me in the right direction or what line number I should be adding my code that would be a huge help!

    Cheers
    Orchid

    #205717
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Orchid,

    This file (1) contains the options and structure for output blog layout /swift-framework/content/sf-blog.php/.

    This file (2) /swift-framework/content/sf-post-formats.php/ controls the content within the output structure above (1) with the use of the function sf_get_post_item(). If you locate that function with the file(2) you will see how the blog output is built.

    Knowing this, you can either:

    1) Add your modifications to file (1) on line 251 after the <li>.

    2) Add your modifications to file (2) before line 412 if ( $item_figure != "" ) {.

    This would require some PHP knowledge, so make backups and try it on your local dev version if possible.

    Thanks,
    David.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register