Title: Error in font path
Last modified: April 15, 2019

---

# Error in font path

 *  Resolved [Wp-user865966](https://wordpress.org/support/users/vitago/)
 * (@vitago)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/error-in-font-path/)
 * Hi, when i’m logged in and viewing a single advert, it works great and i’m able
   to see the adverts-glyphs.ttf icons.
    The URL when logged in is: [https://www.mydomain.com/wp-content/plugins/wpadverts/assets/font/adverts-glyphs.woff](https://www.mydomain.com/wp-content/plugins/wpadverts/assets/font/adverts-glyphs.woff)
 * But when i’m logged out, it gives 404 errors, and the URL it’s using is:
    [https://www.mydomain.com/wp-content/plugins/wpadverts/assets/css/font/adverts-glyphs.ttf](https://www.mydomain.com/wp-content/plugins/wpadverts/assets/css/font/adverts-glyphs.ttf)
 * As you can see, there is a difference in the URL. When logged in it looks in /
   assets/font/<font-name>. But when logged out, it looks in /assets/css/font/<font-
   name>.
 * There is no folder called ‘font’ in the ‘css’ folder.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11432615)
 * Hi,
    hmm the CSS/Font links WPAdverts is generating are always the same regardless
   of user being logged in or out.
 * If you have some other plugins installed you can try disabling them one by one
   and see if and when the problem goes away.
 * Also, if you could paste a link to a page where you are having this problem then
   it would be helpful in troubleshooting.
 *  [densdj](https://wordpress.org/support/users/densdj/)
 * (@densdj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11962856)
 * Hi, today i notice that cant edit add page, WP admin shows error when i am trying
   to edit Add page (by adverts), email comes with: “Call to undefined function 
   shortcode_adverts_add()” What i have to do? (i can preview it, and do other action
   but edit. There was moderation set on Add page, and plugin was updated few days
   ago)
 *  [densdj](https://wordpress.org/support/users/densdj/)
 * (@densdj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11962961)
 * [My site,](https://kurortov.com) if needed
 *  Thread Starter [Wp-user865966](https://wordpress.org/support/users/vitago/)
 * (@vitago)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11963256)
 * [@densdj](https://wordpress.org/support/users/densdj/) What does this have to
   do with my issue?
 *  [densdj](https://wordpress.org/support/users/densdj/)
 * (@densdj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11963412)
 * I am sorry, i was asking Greg
 *  Thread Starter [Wp-user865966](https://wordpress.org/support/users/vitago/)
 * (@vitago)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11963463)
 * Don’t worry. Please open a seperate issue instead. This way when users search
   for topics in the future, it will be much more relevant.
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11966377)
 * Hi densdj,
    you should be able to fix this issue by adding the code below in 
   your theme functions.php file
 *     ```
       add_action( "init", function() {
         if( is_admin() && function_exists( "adverts_init_frontend" ) ) {
           adverts_init_frontend();
         }
       }, 100 );
       ```
   
 * If you are having an issue not related to an existing issue or you are not sure
   if it is related, please post a new thread, it would make it easier to manage
   and search them, thanks.
 *  [densdj](https://wordpress.org/support/users/densdj/)
 * (@densdj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11966411)
 * Thanks, it works (i created new thread, named “Error editing Add page” and copied
   this question in it)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error in font path’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [densdj](https://wordpress.org/support/users/densdj/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/error-in-font-path/#post-11966411)
 * Status: resolved