Editing default post layout

Posted in: Newspaper
Post count: 62

I would like to have one area on every post that would be right above the authors box and would contain two ad boxes 300×250. I’m using default post layout, so is there any way to edit it?

Thank you.

Post count: 23312

Hello dharma3d,

Unfortunately, our theme does not have any such an option for it, sorry! You should edit the theme core file corresponding to post template used by you. For example, if you are using the post template default, you should use the do_shortcode method and place the Ad (you can use the Custom Ad 1) as you want. The required code which has to be added is here -> <?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?> As a suggestion, you can see here -> https://www.screencast.com/t/O6TEOdIy
If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for the message!

Post count: 62

Thank you, that works great.

Would it be too much to ask if you can tell me how to put 2 ads, one next to each other (in two columns).
for example Custom Ad 1 & Custom Ad 2 (two boxes 300×250)?

Thanks

Post count: 20687

Hi,

Like my colleague said above, you need to edit the file loop-single.php found in the theme folder – https://www.screencast.com/t/03wlQqibXwsV if you are using the default post template and add the code or codes provided above containing the custom ads in which you have added the ad code – https://www.screencast.com/t/SabRwdEK above the author box – https://www.screencast.com/t/iy5hBPUhx The result should look like this – https://www.screencast.com/t/3orYq4Nnhnl so you need to enter this following code in Theme panel->Custom Css to display the side by side

.single .post .td-a-rec-id-custom_ad_1,
.single .post .td-a-rec-id-custom_ad_2 {
display: inline-block;
}

If you are not using custom ad 1 or 2 fields you need to change the code accordingly
Result – https://www.screencast.com/t/ZFWW2yq8k

Thanks

Post count: 48

Which of the PHP files will you edit if you are using post template style 1

Post count: 20687

Hi,

If you are using post template style 1 – https://www.screencast.com/t/sNh8M81O4 then you must edit the file loop-single-1.phphttps://www.screencast.com/t/n4lEvjaa3

Thanks

Post count: 9

This is pretty much what I am doing as well, but I am adding customer reviews into a single post template.
How do I add a custom template to the list of available post templates?

I’ve made a copy of a loop-single, and saved it into the theme root as loop-single14.php and single-template14.php. But I can’t see where to add them into the list of available templates in a post.

Where do I add my custom post templates? 🙂

Post count: 9

Never mind, I found the td_config.php and added the new template into the loop. Excelent stuff you guys made! Love it!

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.