• Resolved Yro

    (@nocliq)


    Hi all.

    I need some help here.

    Im working on a blog: https://www.intheup.net/blog and I want to add some content next to the “posted in “categories” | “comment”.

    I made my own social share and I need to know how to add it to this place.

    I want to add it in the front page only, like it:

    Post topic
    Post date
    Post content + continue reading
    Post in categories | comment **************** My social share icons

    The **** is space, I want the share icons to be placed in the same line that the post categories ans comment are, and I want to arrange these icons to the right side of this line.

    Can anybody help me with it?

    My social share has the css codes in my child style.css and I have the divs for the social share icons here, but I need to know in what file I need to add the codes from div and where to place it so I can have it like I explain before.

    Sorry about my english guys..

Viewing 13 replies - 1 through 13 (of 13 total)
  • Open you index.php and there you will find Post Meta. Well, your site isn’t opening here so that I can give you perfect solution. In index.php , you will find loop for your front page/home page. Find some thing like <?php wp_list_categoires(); ?> and add the code below that. It would look perfectly since you have added the CSS too.

    Thread Starter Yro

    (@nocliq)

    My blog is on and working.

    There is no <?php wp_list_categoires(); ?> in index.php.

    Im working on twenty eleven with child theme.

    you seemed to have the coding in place.

    however, I would:
    in the coding of the social links,
    – try to change the divs to spans,
    – the css ids to css classes,
    – and edit the styles – no float, change to inline-block, adapt the margins; etc.

    for more detailed suggestions, you can paste the full code of the ‘entry-meta’ section into a pastebin and post the link to it here – HOW-TO

    Thread Starter Yro

    (@nocliq)

    Here are the PHP codes: https://pastebin.com/e1UxATAc

    And the CSS codes: https://pastebin.com/gU1KQJFe

    I removed it from the blog so I can work on it. When its ok Ill publish it in my child theme.

    I added the php in content.php, at the end of “<footer class=”entry-meta”>”

    Please help me.

    Thread Starter Yro

    (@nocliq)

    sorry, not php codes, but the divs with its codes

    suggested changes to the ‘social’ codes:
    https://pastebin.com/0fEYqQ0n

    corresponding suggested changes to the css:
    https://pastebin.com/z2v5JAXA

    might need adaptation of margins…

    Thread Starter Yro

    (@nocliq)

    Ill take a look now!

    Youre the best dude. thanks so much.. be back soon to post my results…

    Thread Starter Yro

    (@nocliq)

    ow… something is wrong..
    take a look at the blog now. only 2 twiter share links and one under the other..

    any suggestions?

    Thread Starter Yro

    (@nocliq)

    oh.. ok… the code lines where duplicated. Now its fine..

    I have a question yet.

    How to push the share things to the right at the same line?

    How to push the share things to the right at the same line?

    try these styles:
    https://pastebin.com/0NWmF6cM

    for further tweaking, try to work with Firebug to see what needs to be changed, and check https://www.w3schools.com/css/

    Thread Starter Yro

    (@nocliq)

    Thank You so much.

    Its perfect.

    Im reading some css tutorials here, trying to learn it.

    Thank You again dude. You’re the best.

    Thread Starter Yro

    (@nocliq)

    Hey, I have another question..

    What file do I edit to have the same “social share icons”, and in the same way (next to categories and permalinks) but now in the single post pages?

    Thread Starter Yro

    (@nocliq)

    Nevermind.. The file to be edited is the “content-single.php”, not the “single.php”.

    Problem solved.

    Thank You for the help with “spans” and “css”.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Twenty Eleven add content next to posts tags’ is closed to new replies.