Replace [year] with the current year
Type [year] anywhere that you want the current year to be inserted.
om-reactv4.js
// Using React Router V4 import React from "react"; import { withRouter } from "react-router"; class…
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
om-nextjs.js
import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…
webfontloader.js
// Add custom scripts function add_custom_script_webfont_loader_js() { wp_register_script( 'webfontloader', 'https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js', array(), '1.6.28', true ); wp_enqueue_script( 'webfontloader'…
add post formats
Adding different types of post formats: aside – Typically styled without a title. Similar to a…
Adds URL to pages window
add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…
Hem
Octodesigns.se Octodesigns.se Hem Produkter Galleri Kontakta mig © 2024 Octodesigns.se All rights reserved. Hem Produkter Galleri…
Hide sidebar on mobile device
function custom_hide_sidebar_on_mobile() { echo ' '; } add_action('wp_head', 'custom_hide_sidebar_on_mobile');
Recurring Addon Extension: Adding placeholder for custom recurring donations
Edit the custom text box that allows users to input custom donations for recurring donations (only).
AIOSEO FAQ Block accordion
Adds accordion style toggle functionality to the AIOSEO FAQ block.
Smart convert images to webp
Smart conversion of all photos to webp - determine the percentage of compression of photos تبدیل…