This topic has 11 replies, 2 voices, and was last updated 6 years by Radu.

  • Author
  • #195860
     TheDream18
    Participant

    Hi,

    Where is file location PHP call these image, which number line of code?

    GET ….assets/images/small_logo.png 404 (Not Found)

    GET……assets/images/patterns/black_pattern.gif 404 (Not Found)

    I would like to remove them in php call code. Because :

    + It show in Source code of debug inspect element “images folder”, where is a tons of images which i don’t use and there is your logo image, not my website logo, which is none sence to allow hacker see it in Inspect element source code.

    + If i remove only image, in console i saw many image error similar abow which is not good for speed website

     

    Thanks

     

    #195915
     Radu
    Moderator

    Hi,

    If you want to remove that from php

    Just copy this file wp-content/themes/sweetdate/page-parts/general-header.php to child theme wp-content/themes/sweetdate-child/page-parts/general-header.php

    And then you can handle the file as you need.

    Using child theme will make the changes that you made to be persistent even you update the parent theme.

    For the pattern background check in wp-admin -> theme options -> styling options->

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #195978
     TheDream18
    Participant

    Thank you, i’m none developer, but i know how to handle child theme for theme and plugin.

    1) GET……assets/images/patterns/grey_pattern.gif

    Where is location to remove this also please?

    P/S: In “style layout” i already choose ALL is none/or color typical now.

    2) Where is location code call : up_page.png?
    WHY? because in Inspect element/ console
    I SAW: wp-content/asset/images/up_page.png
    Which is not security, show exactly location of wp-content/asset (NOTE: i already changed wp-content name, show here will allow people know exacly my wp-content changed name)

    3) Similar where is location php file call asset/font?
    I would like to change the directory urls.

    #195979
     TheDream18
    Participant

    About 2+3) Please guide me how to change directory to
    cpanel public_html/custom-img/sweettheme

    Ex: I already create dcustom-img/sweettheme
    folder.

    Thanks

    #196048
     Radu
    Moderator

    Hi,

    1. Check in theme options choose no background

    2. For the up_page.png it’s from a css from go to top button

    file path : wp-content/themes/sweetdate/assets/styles/app.css line from 357

    3. Here : wp-content/themes/sweetdate/functions.php line from 127

    Check this for changing the wp content path : https://firstsiteguide.com/replace-rename-wp-content-folder/

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #196511
     TheDream18
    Participant

    Hi.

    Where is location of PHP call : sweettheme/assets/font/fontawesome-webfont.ttf

    Thanks

    #196536
     TheDream18
    Participant

    Hi one more question again
    Where is location of “inline” css file?, in inspect element, there is no file location to view.

    #196599
     Radu
    Moderator

    Hi,

    here : wp-content/plugins/revslider/includes/operations.class.php

    It comes from a plugin named revolution slider.

    Majority of inline css styles comes from the plugins, can you be more specific ? what inline css ?

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #197310
     TheDream18
    Participant

    Hi. Where is file location of these inline code in attachment
    Thanks

    Attachments:
    You must be logged in to view attached files.
    #197351
     Radu
    Moderator

    Here : wp-content/themes/sweetdate/framework/frontend.php line 17 and maybe 35 ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #197478
     TheDream18
    Participant

    hi. where is location of buddypress xprofile tab in header. i use minify js plugin, it used loading is not smoothy xprofile tab in header. i want to put this js file in except.

    #197724
     Radu
    Moderator

    Hi,

    Try to add the theme css file ( wp-content/themes/sweetdate/assets/styles/app.css ) and theme buddypress.css file ( wp-content/themes/sweetdate/buddypress/css/buddypress.css )

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?