christos

problem with text

Hello, I create this script " <script> jQuery("._searchresultsblock h4").after('<p> <mark style="background-color:LightCoral;"> ΟΣΕΣ ΑΓΓΕΛΙΕΣ ΣΤΟ ΛΟΓΑΡΙΑΣΜΟ ΣΑΣ ΕΜΦΑΝΙΖΟΝΤΑΙ ΜΕ ΚΟΚΚΙΝΟ ΕΧΟΥΝ ΛΗΞΕΙ</mark></p>') </script> " Τhe problem is that this script appears to the search results page and the personal classifieds of any user. I want this text to appear only on personal classifieds each user and not on the page with search results. Could someone help me;

Created: October 11, 2015 at 10:20 am
  • In: Classifieds Theme
  • Started by: christoschristos
  • 2 members left 3 comments
  • Last reply from: christoschristos


  • Josh
    October 11, 2015 at 11:46 am

    Hello christos,
    Your question is not very you mean you only want the text to be displayed to members?If so then try the below code:
    [code title=””]
    <script>
    jQuery(“.logged-in ._searchresultsblock h4″).after(‘<p> <mark style=”background-color:LightCoral;”> ΟΣΕΣ ΑΓΓΕΛΙΕΣ ΣΤΟ ΛΟΓΑΡΙΑΣΜΟ ΣΑΣ ΕΜΦΑΝΙΖΟΝΤΑΙ ΜΕ ΚΟΚΚΙΝΟ ΕΧΟΥΝ ΛΗΞΕΙ</mark></p>’)
    </script>
    [/code]

  • christos
    christos
    October 11, 2015 at 10:57 pm

    No i want this script to appear only in my listings. For example if I have upload 10 classifieds when I go my account/ my listings, only there appear this script.

    Sorry but my english is not very good 🙂

    Attachments:
    You must be logged in to view attached files.
  • christos
    christos
    October 31, 2015 at 5:56 pm

    anyone?


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