Dplugins Logo
  • Code Snippets
  • Code Request
  • Register
    • Register as Contributor
    • Editor Guidelines
  • Account
  • Deregister Scripts and Styles

    Put this code to functions.php The easiest way to find all registered scripts and styles is with the plugin MinQueue. If you want to deregister with plugin use Asset Queue Manager

    Category: jQuery

    Marko Krstić

  • Sublime text hide hidden files from the sidebar

    Open preferences by pressing Command + “,” And paste the following snippet Taken from: https://gist.github.com/supawaza/8009192

    Category: WordPress

    Marko Krstić

  • Display list of categories that are related to a particular post on your single page

    If you need just parent cagetory Parrent Child Child Child

    Category: WordPress

    Marko Krstić

  • Display list of custom taxonomies that are related to a particular post on your single page

    Replace “projeckte_cat” with your taxonomy slug.

    Category: WordPress

    Marko Krstić

  • Highlight terms in the search results

    PHP in Function PHP in codeblock CSS

    Category: Oxygen, WordPress

    Marko Krstić

  • Back button

    This code will lead you to the page same as you pressed back in Browser

    Category: jQuery

    Marko Krstić

  • Add remove class on scroll

    This is done with event listener. It will track class “.show-on-scroll” and add and remove Class “is-visible” depending on if it’s visible in screen view or not.

    Category: jQuery

    Marko Krstić

  • List categories and taxonomies with class active

    List of categories for posts with link to archive and wrapped in classes To enable it for taxonomies add this line and replace ‘produckte’ with your taxonomy slug And on the end you will get this for custom categories ( taxonomies) Here is preview of HTML output:

    Category: WordPress

    Marko Krstić

  • Toggle text inside div

    jQuery Snipped for toggle text inside div on click. “Hello World” will be default text and text for every second click. And “Bye!” will be on first and every even click.

    Category: jQuery

    Marko Krstić

  • Slide toggle with jQuery

    Expand object with click on the button. The trigger is class on the object that will start the animation. Assign the class to the object that should be animated and replace 300 (milliseconds) to what you prefer Wrap this with document ready code. The final code should look like this

    Category: jQuery

    Marko Krstić

  • How to start with jQuery in WordPress

    This code is basic and for beginners. Usually, you can see solutions but not how to wrap jQuery code to start writing it for WordPress or Oxygen. The outer Javascript function is known as an anonymous function and jQuery is wrapped at the end, so is therefore aliased or bound to the $ selector, so in the inner function…

    Category: jQuery

    Marko Krstić

←
1 … 3 4 5

3rd party plugins admin after_body Alt archive Blocks Category clean up composite elemenets core CPT CSS Custom Custom Post Dashboard flexslider Front End FSE full site editing Gallery hook HTML Image load styles Must Have notice Oxygen Password Permalink plugins Post List Publish Date repeater settings page share single product Taxonomy Taxonomy Term themes Tips Topbar WooCommerce wordpress WP Admin WPML

Proudly Powered by DPlugins