Wordpress showhide plugin php4/10/2023 If not feel free to use it without any obligations. I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. With the similar process you can show/hide any part of template’s PHP file on a WordPress site for logged in/non logged users. I did it by using the same WordPress function and PHP code that I have already discussed. With the example above, here are the following styles you can use in your CSS: After you login it will be change into logout link.Note that pressrelease is the default type. You can style the content via CSS that is generated by the plugin. If you want to set the default visibility to display.Įxample: Press release content goes in here. You can have multiple showhide content within a post or a page, just by having a new type.Įxample: Links will go in here. Example: Press release content goes in here.ĭefault Values:.By default, content within the showhide shortcode will be hidden.Example usage: Press Release goes in here. Similar to what Engadget is doing for their press releases. Go to Tools->ShowHide/CollapseExpand screen (Settings tab), clear the Enable jQuery UI effects checkbox and set Custom animation speed (ms) to 0.By default the content is hidden and user will have to click on the «Show Content» link to toggle it. I don’t want to use animation, can I turn it off? If you have any issues, please let us know in the support thread. Some shortcodes (like Google Maps plugins shortcodes) might behave strangely, we recommend using our Google Maps – Simple Pins plugin if you need to hide your Google maps. Will my other shortcodes work inside your shortcode? How do I nest shortcodes inside one another?įor inserting level 2 shortcode, please check the “This shortcode should be nested in another shortcode” checkbox or use shortcode. Yes, you can use the same shortcode multiple times on the same page. Can I insert the same shortcode into a post and a sidebar widget? When you click OK, the shortcode will be inserted. Please click it and customize the needed parameters. You will see the Collapse-Expand button in your Editor. Go to the post or page you wish to edit and switch to Visual tab. Συχνές Ερωτήσεις Can I see a demo of your plugin before installing it? We used Best CSS Button Generator for our sleek pure-css buttons. We tested our plugin thoroughly, but if you have issues with any type of content, please let us know in the support thread.Use in sidebars by inserting the shortcode with needed parameters.Easily customize the settings and insert the shortcode with a TinyMCE button.Nest up to 3 levels of collapsible content.Use icons for your buttons or in front of your links.Make button stick to the end of the expanded content.Use hyperlinks or stylish pure-css buttons.Save space on pages by grouping the content under expandable headings.Add hidden answers to quizzes (answer opens on button click).Add your custom JS functions to onclick events.Collapse/Expand using jQuery Effects (blind, fold, highlight, slide).Please feel free to post your questions in the support threads of this plugin, we will be glad to help you with any issues. You will configure the look of your button/hyperlink on the fly and will be able to change it later using the provided shortcode parameters. Inserting a shortcode is done via a handy tinyMCE button in your WordPress Editor. You will find it handy for grouping content, composing FAQs, collapsing long lists and expanding them on click, providing hidden answers to questions, organizing your widgets more efficiently, and lots more. It will free your pages from clutter and give your website a stylish minimalistic look and feel. Show-Hide / Collapse-Expand allows you to easily manage the amount of content shown to user upon entering your website.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |