how to edit a code on all my posts Wordpress

Discussion in 'HTML & JavaScript' started by chkomze, Apr 16, 2018.

  1. chkomze

    chkomze Junior Member

    Joined:
    Apr 4, 2016
    Messages:
    150
    Likes Received:
    14
    Gender:
    Female
    Occupation:
    Business
    Location:
    France
    Hi,

    Please I want edit a code on all my posts Wordpress and i can't do that manually please help me,

    give me a method that exists.
     
  2. rednada

    rednada Registered Member

    Joined:
    Jul 23, 2015
    Messages:
    88
    Likes Received:
    23
    What part of code? You need to be more specific. Is it header, footer, widgets or post text area? Depending on your needs there are a lot of free Wordpress plugins that can serve your purpose (without the knowledge of coding).
     
  3. cheva

    cheva Regular Member

    Joined:
    Aug 22, 2009
    Messages:
    369
    Likes Received:
    441
    Location:
    Aiur
    what code are you wanting to add? If you want to show it on single post view, its usually single.php . If you want to edit the archive layout you can edit index.php or archive.php . You need to know what youre doing dont mess up your code if you dont know what is what.
     
  4. SpoonFeeder

    SpoonFeeder Jr. VIP Jr. VIP

    Joined:
    Mar 19, 2017
    Messages:
    1,308
    Likes Received:
    1,301
    Gender:
    Male
    Occupation:
    SpoonFeeding & Babysitting the Noobs.
    Location:
    Click the link below if you're new to BHW!
    Home Page:
    Install this plugin : https://wordpress.org/plugins/search-and-replace/

    Make use of the "Dry Run" option in the plugin to test if it works for you without actually replacing the code.

    Warning : Make sure to backup your database before making any changes to the site structure.
     
    • Thanks Thanks x 1
  5. UF0piloot

    UF0piloot BANNED BANNED

    Joined:
    Mar 7, 2018
    Messages:
    26
    Likes Received:
    7
    Gender:
    Female
    go to appearance > editor
     
  6. chkomze

    chkomze Junior Member

    Joined:
    Apr 4, 2016
    Messages:
    150
    Likes Received:
    14
    Gender:
    Female
    Occupation:
    Business
    Location:
    France
    no I add the same Ads code to all my post wordpress and now i want edit him and i have 2000 post a lot of work manually
     
  7. chkomze

    chkomze Junior Member

    Joined:
    Apr 4, 2016
    Messages:
    150
    Likes Received:
    14
    Gender:
    Female
    Occupation:
    Business
    Location:
    France
    Thank you <3
     
  8. SpoonFeeder

    SpoonFeeder Jr. VIP Jr. VIP

    Joined:
    Mar 19, 2017
    Messages:
    1,308
    Likes Received:
    1,301
    Gender:
    Male
    Occupation:
    SpoonFeeding & Babysitting the Noobs.
    Location:
    Click the link below if you're new to BHW!
    Home Page:
    [​IMG]