rfgoetz
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-TopBar] apply CSS styles to PHP textIt looks like you are adding the link via php:
<span class="class1"> <a href="http://www.bluehawaiiphototours.com/policies/">Our Policy</a> </span>You could change it to add a style. Like this to get the color you want:
<span class="class1"> <a href="http://www.bluehawaiiphototours.com/policies/" style="color:#ffffff;">Our Policy</a> </span>Or you could change the color by adding class1 via your themes’ CSS file. This will allow you add a
:hoverattribute to change the color when someone hovers over the link. Looks like you are using the Ronika theme. So find that folder and edit thestyle.cssfile.Let me know if this solves it for you,
Bob
Forum: Plugins
In reply to: [WP-TopBar] apply CSS styles to PHP textHmm.. the URL above gives me a 404 error.
Forum: Plugins
In reply to: [WP-TopBar] can't delete wp topbarDo you have a caching plugin? If so, purge the cache?
Have you deleted the cache on your desktop browser?
Do you have a ../plugins/wp-topbar file directory on your server? If so, the wordpress delete function was incomplete and you should manually delete.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Taking up too much space on mobile deviceOn the Control Tab, look for “Mobile Devices” options. That will control which TopBar is showed on which device.
Use the TopBar CSS & HTML to adjust the CSS in the topbar. Edit your Themes CSS files, if you need more adjustments.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Taking up too much space on mobile deviceI would create two TopBars…
1. one that is for Mobile Devices,
2. one that is for all BUT Mobile Devices.For #1, then you can adjust the CSS of the TopBar or your theme to adjust the content of the page.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Appear once per user session?No, it would take me a bit of time to code that up.
My recommendation is to use a Close Button and enable cookies. Then if the user closed the TopBar, it will not re-appear.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Align PHP with social media and textClosing – no response in about a week.
Forum: Plugins
In reply to: [WP-TopBar] Align PHP with social media and textI don’t use that plugin. The plugin adds the AFTER PHP right after the close button.
It could be that the shortcode [google-translator] is addling line breaks. You might need to parse the output to remove newlines and “</br>” html codes. That would then ensure the output stays on one line.
(see http://stackoverflow.com/questions/3760816/remove-new-lines-from-string for samples).
Bob
Forum: Plugins
In reply to: [WP-TopBar] Using shortcodesClosed – no response in a week.
Forum: Plugins
In reply to: [WP-TopBar] Mobile VersionClosed – no response in a week.
Forum: Plugins
In reply to: [WP-TopBar] Custom topbar as defaultAdded feature to v. 5.23.
Forum: Plugins
In reply to: [WP-TopBar] Using shortcodesIn reading all of this, the plugin can support what you want. It will require custom PHP and CSS.
I apologize though, I just don’t have the bandwidth to help you work through these specific issues. I suggest that you post on a job board for some specific help.
Best wishes.
Forum: Plugins
In reply to: [WP-TopBar] Mobile VersionYes, you can restrict the TopBar to show only on mobile devices.
As far as calling a phone number as soon as mouseover, you’ll need to write some jquery/javascript to take care of the handle.
Bob
Forum: Plugins
In reply to: [WP-TopBar] Using shortcodesTwo questions.
Regarding the shortcode: try this in a PHP option:
echo do_shortcode(‘[mp3-popout tracks=”FEED:LIB” autoplay=”y” tag=”h3″ text=”LAUNCH AUDIO PLAYER”]’);
Regarding how to align it, you will have to add CSS IDs to the above code and then style it with your Theme’s CSS. I have not tried this, but this may work:
echo ‘<span id=”myspecialid”>’.do_shortcode(‘[mp3-popout tracks=”FEED:LIB” autoplay=”y” tag=”h3″ text=”LAUNCH AUDIO PLAYER”]’).'</span>’;
Bob
Forum: Plugins
In reply to: [WP-TopBar] Custom topbar as defaultI have a way that I’ve seen other plugins do it. They allow you to use a custom PHP function to override default values.
I have coded up a way, would you be willing to test it?
If so, send me your email address and I will send you the beta code:
Here are the instructions that I wrote up:
//How to create your own Custom Default TopBar // // When the plugin is asked to create a new default TopBar, it first loads the array wptbOptions[] // with all of the default values. Then, it looks to see if this function 'wptb_custom_default_values' // exists. If it does, it will call that function. That function should ONLY update values in the // wptbOptions[] array. // // You can copy this sample function into your theme's function.php or // some other file that is loaded on your admin pages. // // Change any options below to match what you want in your own custom default TopBar. // // To see how to set the options, you can create a TopBar via the user interface, then export it. // The export file will show you how to set each of the options below. // // sample code goes here....