Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #986076

    I tried following instructions here but I cannot understand the way Victoria suggested to insert an html widget into the socket. Via Shortcode a widget area?

    I solved my problem inserting 2 div, the first with copyright aligned to the left and the 2nd with the tag img src=. You can see here
    But I’m interested to discover Victoria’s solution.

    #986371

    Hey Nicola,

    Where did you put your divs? In the files directly? Can you explain a bit more if you want my input?

    Anyways, glad you got it working for you! :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #986378

    I put the div into the Copyright area of Footer panel (Enfold child theme).
    This code:
    <div align="left">Wedding Planners in Tuscany by Luccaorganizza Viale Agostino Marti, 415 - 55100, Lucca. Email: <a href="mailto: (Email address hidden if logged out) "> (Email address hidden if logged out) </a> <br />Phone +39 0583 952440 Mobile +39 328 2930862 - P.IVA 01616520464.</div><div class="rmw" align="right"><img src="https://www.weddingplannersintuscany.com/wp-content/uploads/2018/07/rmw-thelist-official-supplier.png" height="120" width="120"></div>

    Then I create a CSS class “rmw” in quick css to assign margin top negative.

    What I need was was your suggestion to add an image in the Socket area with a widget. Can you explain me more?

    • This reply was modified 6 years, 5 months ago by niguli.
    #986388

    by the way – you can style a text-block as you like it and insert that shortcode to that copyright input field like:

    [av_textblock]<img class="alignright size-full" src="https://www.weddingplannersintuscany.com/wp-content/uploads/2018/07/rmw-thelist-official-supplier.png" width="120" height="120" />Wedding Planners in Tuscany by Luccaorganizza Viale Agostino Marti,
    415 - 55100, Lucca. Email:  (Email address hidden if logged out) 
    Phone +39 0583 952440 • Mobile +39 328 2930862 • P.IVA 01616520464.[/av_textblock]
    #986391

    Hi Guenni007, I did this way yesterday: I created a shorcode for a widget area (instead of a textblock) and added it to the copywright input field, but i did not show anything …. don’t know why….

    #986404

    did you try that code above by copy / paste ?

    the advantage is that the image floats to the text.

    #986457

    it worked, thank you very much for your help.
    Probably I had wp super cached the website and could not see any modifications.

    I’m still interested in Victoria’s solution.

    #986920

    Hi niguli,

    Widgets will not go in that area, so another solution is editing the files. So great that it is working for you that simple :)

    Best regards,
    Victoria

    #988251

    editing the files means having a child-theme footer.php and maybe insert your own hook

    f.e. after the <?php on line 162 of footer.php
    do_action( 'ava_in_socket' );

    #988287

    Hi,

    Thanks for sharing that @guenni007, did you try that solution @niguli?

    Best regards,
    Rikard

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