Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Texan78

    (@texan78)

    I might add that I am getting two errors of “Uncaught ReferenceError: jwplayer is not defined” but, not sure how to resolve that.

    I will be following this tread too.

    I need the exact same thing as well. I would like to be able to set the default messages based off the title and messages and not have to edit it each time.

    Thread Starter Texan78

    (@texan78)

    Seems to be working great now on this end now with accessing the settings. Thanks for all your help and quick response. Glad I could be of some help.

    Thread Starter Texan78

    (@texan78)

    Thanks for that information. There is no link to the Technical Docs though. I think you might have misunderstood my question. I am not asking how to do it. I am a web developer and I am familiar with Google Maps so I know how to do it.

    I am unable to locate the file that contains the class to change the map size. I can style it and customize it how I need it no problem. I just need to be able to change the map size and I can’t do that unless I can find where the file is that it is set in.

    So my question is. Which file do I need to look in that contains the class for changing the map size? It is assigned CSS gmap3 but that class doesn’t exists in any of the CSS files nor is it hardcoded in the js file for the map itself. Could you offer some assistance on where I could locate this code being that you’re the plugin author you would know where this is located.

    -Thanks

    Thread Starter Texan78

    (@texan78)

    Thanks Jose, I did find that out looking through the code. Finding out where the “primary-sidebar” code is constructed is a little difficult but, I think I found a work around for this.

    @stephen, that worked great. If I wanted to use it on a different widget I would just change the “widget_text” to the widget I wanted to use it with?

    Thread Starter Texan78

    (@texan78)

    Thanks Jose, those was the file I was needing but, unfortunately this code I was needing wasn’t in there. When widgets are installed, what file does the code install into where it is actually displayed in the sidebar since the sidebar.php is just the hooks?

    @stephen, no worries, I am not good and explaining things. What I have is a regular widget that allows you to enter any text or HTML in it. You can’t put php in it though because for some reason it doesn’t render it which it should. So in this text box I have pasted my Google AdSense code in it to display a Google Ad in the sidebar. That works fine but, when you view it from a mobile device the add breaks the template. So I have this code that I wrap around the Google Ads code that disables Google Ads on mobile devices. I just need to find where the code is that displays that widget in the sidebar so I can wrap this code around it.

    <?php if(isMobileBrowser()==0 || isMobileBrowser()==false){ ?>
    <----- GOOGLE AD OR WIDGET OUTPUT CODE GOES HERE -------->
     <?php } ?>
    Thread Starter Texan78

    (@texan78)

    I have some code I am using to hide some Google AdSense code when it is accessed via mobile browser. It works fine as I have used it on other adds. I just need to access the core code for the widget so I can insert the code. I have tried wrapping the code around it in the same text box from the admin console where the code is pasted but the php isn’t rendered. So looks like I need to directly edit the file. I am just not sure where that code is so I can do that.

    What file would normally have the code for widgets?

    Thread Starter Texan78

    (@texan78)

    I am using this one.

    https://newwpthemes.com/demo/NewsAgency/

    I wouldn’t think the theme would matter as it is core WP code but I could be wrong.

    Thread Starter Texan78

    (@texan78)

    Well I am not sure if it is actually related to the plugin or a CSS issue with WP. Regardless I have posted over there as well.

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