Tunc Satiroglu
asked 10 years ago

I would like to use the area below sharing and tags on a single post for skyscraper ads (120×600 pixels). I believe it is possible if I can manage to create a widget area there. Can you help me with that please?

2 Answers
well wisher
answered 10 years ago
Tunc Satiroglu
replied 10 years ago

The document you suggested states “Find the location where you want to place the menu and add the following code to the header.php file”. I do not know where in the header.php the area below sharing and tags for a single post is located. Please tell me where I should insert the code mentioned in the header.php file. Kind regards

well wisher
replied 10 years ago

that code is to be added where ever you want to show the widget area in your case it should be added to single.php which you can find from dashboard>>appearance>>editor>>choose your theme and then slelect single.php and add the code after few divisions where ever you want that widget area to appear thanks

well wisher
replied 10 years ago

most probably somewhere near the end of the file you have to adjust the position yourself

Tunc Satiroglu
replied 10 years ago

I appreciate the effort but this is not helping. I am not a programmer and I don’t know where to insert the code in that file. I need something like “insert this code, after this line etc” Maybe a developer can help with that.

DominicStaff
answered 10 years ago

Hello Tunc !
To resolve this issue, please open up the functions.php file in themes/dw-focus folder, find the code below (around line 446):

    <?php endif; // End if $tags_list ?>

.. and change it into this:

    <?php endif; // End if $tags_list ?>
<div class="ads-action">
<a href="#"><img src="http://placehold.it/160x160"></a>
</div>

Hope this helps!

Tunc Satiroglu
replied 10 years ago

Thank you Dominic

Powered by DW Question & Answer Pro