<!doctype html>
<html data-n-head-ssr>
<head >
<meta data-n-head="ssr" charset="utf-8"><meta data-n-head="ssr" name="viewport" content="width=device-width, initial-scale=1"><meta data-n-head="ssr" data-hid="description" name="description" content="[object Object] | WPCrux - Cool WordPress Resources"><title>blog | WPCrux - Cool WordPress Resources</title><link data-n-head="ssr" rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family='Roboto', sans-serif"><link data-n-head="ssr" rel="stylesheet" href="https://blogweb-static.fra1.cdn.digitaloceanspaces.com/css/169cba5e-b8ab-45bd-a57d-4efbb973a779/custom.css"><link data-n-head="ssr" rel="icon" type="image/png" href="https://blogweb-static.fra1.cdn.digitaloceanspaces.com/images/169cba5e-b8ab-45bd-a57d-4efbb973a779/favicon.png"><link data-n-head="ssr" data-hid="i18n-can" rel="canonical" href="https://wpcrux.com/blog/tag/blog"><style data-n-head="vuetify" type="text/css" id="vuetify-theme-stylesheet" nonce="undefined">.v-application a { color: #99cc33; }
.v-application .primary {
background-color: #99cc33 !important;
border-color: #99cc33 !important;
}
.v-application .primary--text {
color: #99cc33 !important;
caret-color: #99cc33 !important;
}
.v-application .primary.lighten-5 {
background-color: #ffffc1 !important;
border-color: #ffffc1 !important;
}
.v-application .primary--text.text--lighten-5 {
color: #ffffc1 !important;
caret-color: #ffffc1 !important;
}
.v-application .primary.lighten-4 {
background-color: #ffffa4 !important;
border-color: #ffffa4 !important;
}
.v-application .primary--text.text--lighten-4 {
color: #ffffa4 !important;
caret-color: #ffffa4 !important;
}
.v-application .primary.lighten-3 {
background-color: #f0ff88 !important;
border-color: #f0ff88 !important;
}
.v-application .primary--text.text--lighten-3 {
color: #f0ff88 !important;
caret-color: #f0ff88 !important;
}
.v-application .primary.lighten-2 {
background-color: #d3ff6c !important;
border-color: #d3ff6c !important;
}
.v-application .primary--text.text--lighten-2 {
color: #d3ff6c !important;
caret-color: #d3ff6c !important;
}
.v-application .primary.lighten-1 {
background-color: #b6e850 !important;
border-color: #b6e850 !important;
}
.v-application .primary--text.text--lighten-1 {
color: #b6e850 !important;
caret-color: #b6e850 !important;
}
.v-application .primary.darken-1 {
background-color: #7db00b !important;
border-color: #7db00b !important;
}
.v-application .primary--text.text--darken-1 {
color: #7db00b !important;
caret-color: #7db00b !important;
}
.v-application .primary.darken-2 {
background-color: #619600 !important;
border-color: #619600 !important;
}
.v-application .primary--text.text--darken-2 {
color: #619600 !important;
caret-color: #619600 !important;
}
.v-application .primary.darken-3 {
background-color: #457b00 !important;
border-color: #457b00 !important;
}
.v-application .primary--text.text--darken-3 {
color: #457b00 !important;
caret-color: #457b00 !important;
}
.v-application .primary.darken-4 {
background-color: #296200 !important;
border-color: #296200 !important;
}
.v-application .primary--text.text--darken-4 {
color: #296200 !important;
caret-color: #296200 !important;
}
.v-application .secondary {
background-color: #424242 !important;
border-color: #424242 !important;
}
.v-application .secondary--text {
color: #424242 !important;
caret-color: #424242 !important;
}
.v-application .secondary.lighten-5 {
background-color: #c1c1c1 !important;
border-color: #c1c1c1 !important;
}
.v-application .secondary--text.text--lighten-5 {
color: #c1c1c1 !important;
caret-color: #c1c1c1 !important;
}
.v-application .secondary.lighten-4 {
background-color: #a6a6a6 !important;
border-color: #a6a6a6 !important;
}
.v-application .secondary--text.text--lighten-4 {
color: #a6a6a6 !important;
caret-color: #a6a6a6 !important;
}
.v-application .secondary.lighten-3 {
background-color: #8b8b8b !important;
border-color: #8b8b8b !important;
}
.v-application .secondary--text.text--lighten-3 {
color: #8b8b8b !important;
caret-color: #8b8b8b !important;
}
.v-application .secondary.lighten-2 {
background-color: #727272 !important;
border-color: #727272 !important;
}
.v-application .secondary--text.text--lighten-2 {
color: #727272 !important;
caret-color: #727272 !important;
}
.v-application .secondary.lighten-1 {
background-color: #595959 !important;
border-color: #595959 !important;
}
.v-application .secondary--text.text--lighten-1 {
color: #595959 !important;
caret-color: #595959 !important;
}
.v-application .secondary.darken-1 {
background-color: #2c2c2c !important;
border-color: #2c2c2c !important;
}
.v-application .secondary--text.text--darken-1 {
color: #2c2c2c !important;
caret-color: #2c2c2c !important;
}
.v-application .secondary.darken-2 {
background-color: #171717 !important;
border-color: #171717 !important;
}
.v-application .secondary--text.text--darken-2 {
color: #171717 !important;
caret-color: #171717 !important;
}
.v-application .secondary.darken-3 {
background-color: #000000 !important;
border-color: #000000 !important;
}
.v-application .secondary--text.text--darken-3 {
color: #000000 !important;
caret-color: #000000 !important;
}
.v-application .secondary.darken-4 {
background-color: #000000 !important;
border-color: #000000 !important;
}
.v-application .secondary--text.text--darken-4 {
color: #000000 !important;
caret-color: #000000 !important;
}
.v-application .accent {
background-color: #99cc33 !important;
border-color: #99cc33 !important;
}
.v-application .accent--text {
color: #99cc33 !important;
caret-color: #99cc33 !important;
}
.v-application .accent.lighten-5 {
background-color: #ffffc1 !important;
border-color: #ffffc1 !important;
}
.v-application .accent--text.text--lighten-5 {
color: #ffffc1 !important;
caret-color: #ffffc1 !important;
}
.v-application .accent.lighten-4 {
background-color: #ffffa4 !important;
border-color: #ffffa4 !important;
}
.v-application .accent--text.text--lighten-4 {
color: #ffffa4 !important;
caret-color: #ffffa4 !important;
}
.v-application .accent.lighten-3 {
background-color: #f0ff88 !important;
border-color: #f0ff88 !important;
}
.v-application .accent--text.text--lighten-3 {
color: #f0ff88 !important;
caret-color: #f0ff88 !important;
}
.v-application .accent.lighten-2 {
background-color: #d3ff6c !important;
border-color: #d3ff6c !important;
}
.v-application .accent--text.text--lighten-2 {
color: #d3ff6c !important;
caret-color: #d3ff6c !important;
}
.v-application .accent.lighten-1 {
background-color: #b6e850 !important;
border-color: #b6e850 !important;
}
.v-application .accent--text.text--lighten-1 {
color: #b6e850 !important;
caret-color: #b6e850 !important;
}
.v-application .accent.darken-1 {
background-color: #7db00b !important;
border-color: #7db00b !important;
}
.v-application .accent--text.text--darken-1 {
color: #7db00b !important;
caret-color: #7db00b !important;
}
.v-application .accent.darken-2 {
background-color: #619600 !important;
border-color: #619600 !important;
}
.v-application .accent--text.text--darken-2 {
color: #619600 !important;
caret-color: #619600 !important;
}
.v-application .accent.darken-3 {
background-color: #457b00 !important;
border-color: #457b00 !important;
}
.v-application .accent--text.text--darken-3 {
color: #457b00 !important;
caret-color: #457b00 !important;
}
.v-application .accent.darken-4 {
background-color: #296200 !important;
border-color: #296200 !important;
}
.v-application .accent--text.text--darken-4 {
color: #296200 !important;
caret-color: #296200 !important;
}
.v-application .error {
background-color: #99cc33 !important;
border-color: #99cc33 !important;
}
.v-application .error--text {
color: #99cc33 !important;
caret-color: #99cc33 !important;
}
.v-application .error.lighten-5 {
background-color: #ffffc1 !important;
border-color: #ffffc1 !important;
}
.v-application .error--text.text--lighten-5 {
color: #ffffc1 !important;
caret-color: #ffffc1 !important;
}
.v-application .error.lighten-4 {
background-color: #ffffa4 !important;
border-color: #ffffa4 !important;
}
.v-application .error--text.text--lighten-4 {
color: #ffffa4 !important;
caret-color: #ffffa4 !important;
}
.v-application .error.lighten-3 {
background-color: #f0ff88 !important;
border-color: #f0ff88 !important;
}
.v-application .error--text.text--lighten-3 {
color: #f0ff88 !important;
caret-color: #f0ff88 !important;
}
.v-application .error.lighten-2 {
background-color: #d3ff6c !important;
border-color: #d3ff6c !important;
}
.v-application .error--text.text--lighten-2 {
color: #d3ff6c !important;
caret-color: #d3ff6c !important;
}
.v-application .error.lighten-1 {
background-color: #b6e850 !important;
border-color: #b6e850 !important;
}
.v-application .error--text.text--lighten-1 {
color: #b6e850 !important;
caret-color: #b6e850 !important;
}
.v-application .error.darken-1 {
background-color: #7db00b !important;
border-color: #7db00b !important;
}
.v-application .error--text.text--darken-1 {
color: #7db00b !important;
caret-color: #7db00b !important;
}
.v-application .error.darken-2 {
background-color: #619600 !important;
border-color: #619600 !important;
}
.v-application .error--text.text--darken-2 {
color: #619600 !important;
caret-color: #619600 !important;
}
.v-application .error.darken-3 {
background-color: #457b00 !important;
border-color: #457b00 !important;
}
.v-application .error--text.text--darken-3 {
color: #457b00 !important;
caret-color: #457b00 !important;
}
.v-application .error.darken-4 {
background-color: #296200 !important;
border-color: #296200 !important;
}
.v-application .error--text.text--darken-4 {
color: #296200 !important;
caret-color: #296200 !important;
}
.v-application .info {
background-color: #99cc33 !important;
border-color: #99cc33 !important;
}
.v-application .info--text {
color: #99cc33 !important;
caret-color: #99cc33 !important;
}
.v-application .info.lighten-5 {
background-color: #ffffc1 !important;
border-color: #ffffc1 !important;
}
.v-application .info--text.text--lighten-5 {
color: #ffffc1 !important;
caret-color: #ffffc1 !important;
}
.v-application .info.lighten-4 {
background-color: #ffffa4 !important;
border-color: #ffffa4 !important;
}
.v-application .info--text.text--lighten-4 {
color: #ffffa4 !important;
caret-color: #ffffa4 !important;
}
.v-application .info.lighten-3 {
background-color: #f0ff88 !important;
border-color: #f0ff88 !important;
}
.v-application .info--text.text--lighten-3 {
color: #f0ff88 !important;
caret-color: #f0ff88 !important;
}
.v-application .info.lighten-2 {
background-color: #d3ff6c !important;
border-color: #d3ff6c !important;
}
.v-application .info--text.text--lighten-2 {
color: #d3ff6c !important;
caret-color: #d3ff6c !important;
}
.v-application .info.lighten-1 {
background-color: #b6e850 !important;
border-color: #b6e850 !important;
}
.v-application .info--text.text--lighten-1 {
color: #b6e850 !important;
caret-color: #b6e850 !important;
}
.v-application .info.darken-1 {
background-color: #7db00b !important;
border-color: #7db00b !important;
}
.v-application .info--text.text--darken-1 {
color: #7db00b !important;
caret-color: #7db00b !important;
}
.v-application .info.darken-2 {
background-color: #619600 !important;
border-color: #619600 !important;
}
.v-application .info--text.text--darken-2 {
color: #619600 !important;
caret-color: #619600 !important;
}
.v-application .info.darken-3 {
background-color: #457b00 !important;
border-color: #457b00 !important;
}
.v-application .info--text.text--darken-3 {
color: #457b00 !important;
caret-color: #457b00 !important;
}
.v-application .info.darken-4 {
background-color: #296200 !important;
border-color: #296200 !important;
}
.v-application .info--text.text--darken-4 {
color: #296200 !important;
caret-color: #296200 !important;
}
.v-application .success {
background-color: #99cc33 !important;
border-color: #99cc33 !important;
}
.v-application .success--text {
color: #99cc33 !important;
caret-color: #99cc33 !important;
}
.v-application .success.lighten-5 {
background-color: #ffffc1 !important;
border-color: #ffffc1 !important;
}
.v-application .success--text.text--lighten-5 {
color: #ffffc1 !important;
caret-color: #ffffc1 !important;
}
.v-application .success.lighten-4 {
background-color: #ffffa4 !important;
border-color: #ffffa4 !important;
}
.v-application .success--text.text--lighten-4 {
color: #ffffa4 !important;
caret-color: #ffffa4 !important;
}
.v-application .success.lighten-3 {
background-color: #f0ff88 !important;
border-color: #f0ff88 !important;
}
.v-application .success--text.text--lighten-3 {
color: #f0ff88 !important;
caret-color: #f0ff88 !important;
}
.v-application .success.lighten-2 {
background-color: #d3ff6c !important;
border-color: #d3ff6c !important;
}
.v-application .success--text.text--lighten-2 {
color: #d3ff6c !important;
caret-color: #d3ff6c !important;
}
.v-application .success.lighten-1 {
background-color: #b6e850 !important;
border-color: #b6e850 !important;
}
.v-application .success--text.text--lighten-1 {
color: #b6e850 !important;
caret-color: #b6e850 !important;
}
.v-application .success.darken-1 {
background-color: #7db00b !important;
border-color: #7db00b !important;
}
.v-application .success--text.text--darken-1 {
color: #7db00b !important;
caret-color: #7db00b !important;
}
.v-application .success.darken-2 {
background-color: #619600 !important;
border-color: #619600 !important;
}
.v-application .success--text.text--darken-2 {
color: #619600 !important;
caret-color: #619600 !important;
}
.v-application .success.darken-3 {
background-color: #457b00 !important;
border-color: #457b00 !important;
}
.v-application .success--text.text--darken-3 {
color: #457b00 !important;
caret-color: #457b00 !important;
}
.v-application .success.darken-4 {
background-color: #296200 !important;
border-color: #296200 !important;
}
.v-application .success--text.text--darken-4 {
color: #296200 !important;
caret-color: #296200 !important;
}
.v-application .warning {
background-color: #99cc33 !important;
border-color: #99cc33 !important;
}
.v-application .warning--text {
color: #99cc33 !important;
caret-color: #99cc33 !important;
}
.v-application .warning.lighten-5 {
background-color: #ffffc1 !important;
border-color: #ffffc1 !important;
}
.v-application .warning--text.text--lighten-5 {
color: #ffffc1 !important;
caret-color: #ffffc1 !important;
}
.v-application .warning.lighten-4 {
background-color: #ffffa4 !important;
border-color: #ffffa4 !important;
}
.v-application .warning--text.text--lighten-4 {
color: #ffffa4 !important;
caret-color: #ffffa4 !important;
}
.v-application .warning.lighten-3 {
background-color: #f0ff88 !important;
border-color: #f0ff88 !important;
}
.v-application .warning--text.text--lighten-3 {
color: #f0ff88 !important;
caret-color: #f0ff88 !important;
}
.v-application .warning.lighten-2 {
background-color: #d3ff6c !important;
border-color: #d3ff6c !important;
}
.v-application .warning--text.text--lighten-2 {
color: #d3ff6c !important;
caret-color: #d3ff6c !important;
}
.v-application .warning.lighten-1 {
background-color: #b6e850 !important;
border-color: #b6e850 !important;
}
.v-application .warning--text.text--lighten-1 {
color: #b6e850 !important;
caret-color: #b6e850 !important;
}
.v-application .warning.darken-1 {
background-color: #7db00b !important;
border-color: #7db00b !important;
}
.v-application .warning--text.text--darken-1 {
color: #7db00b !important;
caret-color: #7db00b !important;
}
.v-application .warning.darken-2 {
background-color: #619600 !important;
border-color: #619600 !important;
}
.v-application .warning--text.text--darken-2 {
color: #619600 !important;
caret-color: #619600 !important;
}
.v-application .warning.darken-3 {
background-color: #457b00 !important;
border-color: #457b00 !important;
}
.v-application .warning--text.text--darken-3 {
color: #457b00 !important;
caret-color: #457b00 !important;
}
.v-application .warning.darken-4 {
background-color: #296200 !important;
border-color: #296200 !important;
}
.v-application .warning--text.text--darken-4 {
color: #296200 !important;
caret-color: #296200 !important;
}</style><link rel="preload" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/50d1395.js" as="script"><link rel="preload" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/498f8f7.js" as="script"><link rel="preload" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/css/8ce80c3.css" as="style"><link rel="preload" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/fffc2dc.js" as="script"><link rel="preload" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/css/3afb08d.css" as="style"><link rel="preload" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/25d50b7.js" as="script"><link rel="stylesheet" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/css/8ce80c3.css"><link rel="stylesheet" href="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/css/3afb08d.css">
</head>
<body >
<div data-server-rendered="true" id="__nuxt"><!----><div id="__layout"><div data-app="true" id="app" class="v-application v-application--is-ltr theme--light" style="font-family:'Roboto', sans-serif;background-image:url(https://blogweb-static.fra1.cdn.digitaloceanspaces.com/images/169cba5e-b8ab-45bd-a57d-4efbb973a779/background/1.png);background-size:auto;"><div class="v-application--wrap"><div tabindex="0" aria-label="Loading" class="vld-overlay is-active is-full-page" style="z-index:999;display:none;"><div class="vld-background" style="background:#fff;opacity:0.5;backdrop-filter:blur(2px);"></div><div class="vld-icon"><svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" width="65" height="65" stroke="#1976d2"><g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="2"><circle stroke-opacity=".25" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="0.8s" repeatCount="indefinite"></animateTransform></path></g></g></svg></div></div> <!----> <div class="container"><div class="row main-menu"><!----> <div class="d-none d-lg-flex d-xl-flex d-md-flex justify-space-between align-center col col-12"><div class="col-lg-3 col-4"><a href="/" class="nuxt-link-active"><div class="logo"><div aria-label="WPCrux - Cool WordPress Resources" role="img" class="v-image v-responsive theme--light" style="max-height:100px;"><div class="v-image__image v-image__image--preload v-image__image--contain" style="background-image:;background-position:center center;"></div><div class="v-responsive__content"></div></div></div></a></div> <div class="col-lg-5 col-4"><div class="v-input theme--light v-text-field v-text-field--filled v-text-field--enclosed v-text-field--rounded v-select v-autocomplete"><div class="v-input__control"><div role="combobox" aria-haspopup="listbox" aria-expanded="false" aria-owns="list-14927" class="v-input__slot"><div class="v-select__slot"><label for="input-14927" class="v-label theme--light" style="left:0px;right:auto;position:absolute;">Search</label><input autocomplete="off" id="input-14927" type="text"><div class="v-input__append-inner"><div class="v-input__icon v-input__icon--clear"><button disabled="disabled" type="button" aria-label="clear icon" class="v-icon notranslate v-icon--disabled v-icon--link mdi mdi-close theme--light"></button></div></div><div class="v-input__append-inner"><div class="v-input__icon v-input__icon--append"><i aria-hidden="true" class="v-icon notranslate mdi mdi-menu-down theme--light"></i></div></div><input type="hidden"></div><div class="v-menu"><!----></div></div><div class="v-text-field__details"><div class="v-messages theme--light"><div class="v-messages__wrapper"></div></div></div></div></div></div> <div class="col-lg-4 col-4"><div class="mx-auto v-card v-sheet v-sheet--outlined theme--light" style="max-width:344px;"><div tabindex="-1" class="v-list-item v-list-item--three-line theme--light"><div class="v-list-item__content"><div class="overline mb-4">Account</div> <!----> <div class="v-list-item__subtitle">Sign in to you account</div></div> <div class="v-avatar" style="height:80px;min-width:80px;width:80px;"><!----> <!----> <span class="headline"><i aria-hidden="true" class="v-icon notranslate mdi mdi-notebook-outline theme--light" style="font-size:40px;"></i></span></div></div> <!----> <div class="v-card__actions"><!----> <a href="/login" class="v-btn v-btn--contained v-btn--rounded v-btn--router theme--light v-size--small success"><span class="v-btn__content">Sign In</span></a> <a href="/register" class="v-btn v-btn--contained v-btn--rounded v-btn--router theme--light v-size--small info"><span class="v-btn__content">Sign Up</span></a></div></div></div></div> <nav class="hidden-md-and-up v-navigation-drawer v-navigation-drawer--close v-navigation-drawer--fixed v-navigation-drawer--is-mobile v-navigation-drawer--temporary theme--light" style="height:100vh;top:0px;transform:translateX(-100%);width:256px;"><div class="v-navigation-drawer__content"><div class="v-list v-sheet theme--light"><a href="/" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__content"><div class="v-list-item__title">Home</div></div></a> <!----> <!----> <!----> <a href="/login" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__content"><div class="v-list-item__title">Sign In</div></div></a> <a href="/register" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__content"><div class="v-list-item__title">Sign Up</div></div></a> <!----></div></div><div class="v-navigation-drawer__border"></div></nav> <header class="hidden-md-and-up v-sheet theme--light v-toolbar v-app-bar v-app-bar--fixed" style="height:56px;margin-top:0px;transform:translateY(0px);left:0px;right:0px;"><div class="v-toolbar__content" style="height:56px;"><div class="row align-center justify-space-between"><button type="button" class="v-app-bar__nav-icon v-btn v-btn--flat v-btn--icon v-btn--round theme--light v-size--default"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate mdi mdi-menu theme--light"></i></span></button> <div class="col-sm-3 col-md-3 col-4"><a href="/" class="nuxt-link-active"><div class="logo"><div aria-label="WPCrux - Cool WordPress Resources" role="img" class="v-image v-responsive theme--light"><div class="v-responsive__sizer" style="padding-bottom:100%;"></div><div class="v-image__image v-image__image--preload v-image__image--contain" style="background-image:;background-position:center center;"></div><div class="v-responsive__content"></div></div></div></a></div></div></div></header> <div class="hidden-md-and-up mt-12 pt-6 mb-0 pb-0 col col-12"><div class="v-input theme--light v-text-field v-text-field--filled v-text-field--enclosed v-text-field--rounded v-select v-autocomplete"><div class="v-input__control"><div role="combobox" aria-haspopup="listbox" aria-expanded="false" aria-owns="list-14956" class="v-input__slot"><div class="v-select__slot"><label for="input-14956" class="v-label theme--light" style="left:0px;right:auto;position:absolute;">Search</label><input autocomplete="off" id="input-14956" type="text"><div class="v-input__append-inner"><div class="v-input__icon v-input__icon--clear"><button disabled="disabled" type="button" aria-label="clear icon" class="v-icon notranslate v-icon--disabled v-icon--link mdi mdi-close theme--light"></button></div></div><div class="v-input__append-inner"><div class="v-input__icon v-input__icon--append"><i aria-hidden="true" class="v-icon notranslate mdi mdi-menu-down theme--light"></i></div></div><input type="hidden"></div><div class="v-menu"><!----></div></div><div class="v-text-field__details"><div class="v-messages theme--light"><div class="v-messages__wrapper"></div></div></div></div></div></div> <!----></div> <div class="flex"><ul itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList" class="v-breadcrumbs v-breadcrumbs--large theme--light"><li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem"><a href="/" itemprop="item" class="v-breadcrumbs__item nuxt-link-active"><span itemprop="name">Home</span></a> <meta content="1" itemprop="position"></li><li class="v-breadcrumbs__divider">></li><li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem"><a href="#" itemprop="item" class="v-breadcrumbs__item v-breadcrumbs__item--disabled"><span itemprop="name">blog</span></a> <meta content="2" itemprop="position"></li></ul></div> <div class="flex mt-1"><div class="row"><div class="col col-12"><h1 itemprop="headline"><i aria-hidden="true" class="v-icon notranslate mx-0 v-icon--left mdi mdi-pound theme--light" style="font-size:16px;"></i>blog
</h1></div> <div class="col-md-3 col-lg-3 col-12"><div><div class="v-card v-sheet theme--light"><header class="v-sheet theme--dark v-toolbar info" style="height:56px;"><div class="v-toolbar__content" style="height:56px;"><div class="v-toolbar__title">Category</div> <div class="spacer"></div> <button type="button" class="d-flex d-sm-flex d-md-none d-lg-none d-xl-none v-btn v-btn--flat v-btn--icon v-btn--round v-btn--text theme--dark v-size--default"><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate mdi mdi-dots-vertical theme--dark"></i></span></button></div></header> <div style="max-height:500px;overflow-y:auto;display:none;"><div><a href="/blog/category/guides" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__title">Guides</div></a></div><div><a href="/blog/category/snippets" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__title">Snippets</div></a></div><div><a href="/blog/category/collectives" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__title">Collectives</div></a></div><div><a href="/blog/category/resources" tabindex="0" router="" class="v-list-item v-list-item--link theme--light"><div class="v-list-item__title">Resources</div></a></div></div></div> <!----> <div class="v-card v-sheet theme--light mt-4" data-v-04cff9ac><header class="v-sheet theme--dark v-toolbar info" style="height:56px;" data-v-04cff9ac><div class="v-toolbar__content" style="height:56px;"><div class="v-toolbar__title" data-v-04cff9ac>Forum Posts</div> <div class="spacer" data-v-04cff9ac></div> <button type="button" class="d-flex d-sm-flex d-md-none d-lg-none d-xl-none v-btn v-btn--flat v-btn--icon v-btn--round v-btn--text theme--dark v-size--default" data-v-04cff9ac><span class="v-btn__content"><i aria-hidden="true" class="v-icon notranslate mdi mdi-dots-vertical theme--dark" data-v-04cff9ac></i></span></button></div></header> <div class="v-card__text" style="max-height:500px;overflow-y:auto;display:none;" data-v-04cff9ac data-v-04cff9ac><div class="row thread-row" data-v-04cff9ac><div class="align-items-center d-none d-md-none d-lg-none d-xl-flex d-sm-flex col col-1" data-v-04cff9ac><i aria-hidden="true" class="v-icon notranslate mdi mdi-message-text-outline theme--light" data-v-04cff9ac></i></div> <div class="col-sm-9 col-md-7 col-lg-8 col-xl-8 col-8" data-v-04cff9ac><p data-v-04cff9ac><a href="https://devhubby.com/thread/how-to-speed-up-an-animation-in-matplotlib" target="_blank" title="How to speed up an animation in matplotlib?" data-v-04cff9ac>
How to speed up an animation in matplotlib?
</a></p></div> <div class="d-flex justify-end col-sm-2 col-md-5 col-lg-4 col-xl-3 col-3" data-v-04cff9ac><span draggable="false" class="v-chip v-chip--label theme--light v-size--small info white--text" data-v-04cff9ac><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-chat-processing-outline theme--light" data-v-04cff9ac></i>
1
</span></span></div></div><div class="row thread-row" data-v-04cff9ac><div class="align-items-center d-none d-md-none d-lg-none d-xl-flex d-sm-flex col col-1" data-v-04cff9ac><i aria-hidden="true" class="v-icon notranslate mdi mdi-message-text-outline theme--light" data-v-04cff9ac></i></div> <div class="col-sm-9 col-md-7 col-lg-8 col-xl-8 col-8" data-v-04cff9ac><p data-v-04cff9ac><a href="https://devhubby.com/thread/how-to-put-arrows-on-matplotlib-graph" target="_blank" title="How to put arrows on matplotlib graph?" data-v-04cff9ac>
How to put arrows on matplotlib graph?
</a></p></div> <div class="d-flex justify-end col-sm-2 col-md-5 col-lg-4 col-xl-3 col-3" data-v-04cff9ac><span draggable="false" class="v-chip v-chip--label theme--light v-size--small info white--text" data-v-04cff9ac><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-chat-processing-outline theme--light" data-v-04cff9ac></i>
1
</span></span></div></div><div class="row thread-row" data-v-04cff9ac><div class="align-items-center d-none d-md-none d-lg-none d-xl-flex d-sm-flex col col-1" data-v-04cff9ac><i aria-hidden="true" class="v-icon notranslate mdi mdi-message-text-outline theme--light" data-v-04cff9ac></i></div> <div class="col-sm-9 col-md-7 col-lg-8 col-xl-8 col-8" data-v-04cff9ac><p data-v-04cff9ac><a href="https://devhubby.com/thread/how-to-stack-matplotlib-figures" target="_blank" title="How to "stack" matplotlib figures?" data-v-04cff9ac>
How to "stack" matplotlib figures?
</a></p></div> <div class="d-flex justify-end col-sm-2 col-md-5 col-lg-4 col-xl-3 col-3" data-v-04cff9ac><span draggable="false" class="v-chip v-chip--label theme--light v-size--small info white--text" data-v-04cff9ac><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-chat-processing-outline theme--light" data-v-04cff9ac></i>
1
</span></span></div></div><div class="row thread-row" data-v-04cff9ac><div class="align-items-center d-none d-md-none d-lg-none d-xl-flex d-sm-flex col col-1" data-v-04cff9ac><i aria-hidden="true" class="v-icon notranslate mdi mdi-message-text-outline theme--light" data-v-04cff9ac></i></div> <div class="col-sm-9 col-md-7 col-lg-8 col-xl-8 col-8" data-v-04cff9ac><p data-v-04cff9ac><a href="https://devhubby.com/thread/how-to-change-histogram-color-based-on-x-axis-in" target="_blank" title="How to change histogram color based on x-axis in matplotlib?" data-v-04cff9ac>
How to change histogram color based on x-axis in matplotlib?
</a></p></div> <div class="d-flex justify-end col-sm-2 col-md-5 col-lg-4 col-xl-3 col-3" data-v-04cff9ac><span draggable="false" class="v-chip v-chip--label theme--light v-size--small info white--text" data-v-04cff9ac><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-chat-processing-outline theme--light" data-v-04cff9ac></i>
1
</span></span></div></div><div class="row thread-row" data-v-04cff9ac><div class="align-items-center d-none d-md-none d-lg-none d-xl-flex d-sm-flex col col-1" data-v-04cff9ac><i aria-hidden="true" class="v-icon notranslate mdi mdi-message-text-outline theme--light" data-v-04cff9ac></i></div> <div class="col-sm-9 col-md-7 col-lg-8 col-xl-8 col-8" data-v-04cff9ac><p data-v-04cff9ac><a href="https://devhubby.com/thread/how-to-disable-remote-access-to-postgresql" target="_blank" title="How to disable remote access to PostgreSQL?" data-v-04cff9ac>
How to disable remote access to PostgreSQL?
</a></p></div> <div class="d-flex justify-end col-sm-2 col-md-5 col-lg-4 col-xl-3 col-3" data-v-04cff9ac><span draggable="false" class="v-chip v-chip--label theme--light v-size--small info white--text" data-v-04cff9ac><span class="v-chip__content"><i aria-hidden="true" class="v-icon notranslate v-icon--left mdi mdi-chat-processing-outline theme--light" data-v-04cff9ac></i>
2
</span></span></div></div></div></div></div></div> <div class="px-0 col-md-9 col-lg-9 col-12"><!----> <!----> <div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/prevent-image-hotlinking-on-wordpress" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Prevent Image Hotlinking on WordPress
</a> <meta content="2020-12-10T09:26:10Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2021-02-12T07:25:23Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
2 minutes read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
It’s so common on the internet to have your content stolen. People often scrape your entire hard-worked content and put it over on their sites. That includes image hotlinking too, when the images hosted on the web server paid by you, being used by someone else.
If you use WordPress to publish your content, you can easily enable image hotlinking protection on your WordPress-powered site. This post is all about guiding you to protect your images from being stolen like that.
What the heck is Imag...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/easily-find-wordpress-blog-owners-information" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Easily find WordPress blog owner’s information
</a> <meta content="2020-12-10T09:26:09Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2023-10-22T22:36:35Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
2 minutes read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
You can create two types of blogs with WordPress: WordPress.com hosted and self-hosted by installing WordPress on your web host. I’m not going to cover the difference between these two, but I’ll tell you how to find out owner’s information of WordPress blogs of both types.
Again, reason to contact owner can be anything, a request for guest post, content take-down, or advertising etc. This guide comes in handy when you are not able to find how to reach to the author of a WordPress based blo...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/remove-the-default-gallery-style-in-wordpress" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Remove the default Gallery Style in WordPress
</a> <meta content="2020-12-10T09:26:06Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2021-02-12T07:24:35Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
2 minutes read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
We want to customize lots of things in our WordPress themes, and WordPress gallery style can be one important of those. At first, it may seem easy stuff, but actually it isn’t that easy.
As a developer, you may think of customizing the look of WordPress galleries just by adding some CSS in the style.css of your theme. But that alone is not gonna work since WordPress automatically adds a default style snippet in the post that contains a gallery, which provides default styles to the gallery, and...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/remove-version-from-wordpress-enqueued-css-and-js" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Remove version from WordPress enqueued CSS and JS
</a> <meta content="2020-12-10T09:26:06Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2023-10-27T14:29:05Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
2 minutes read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
WordPress functions wp_enqueue_script / wp_register_script and wp_enqueue_style / wp_register_style add additional version info in the end of the JavaScript and CSS files you link (include or add) using these functions. This version info is important to ensure that the correct version of the file is sent to the browser regardless of caching.
Below screenshot explains how a version number appears in WordPress enqueued scripts and styles, see the highlighted part:
Preventing WordPress to add vers...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/speed-up-your-wordpress-site-in-5-minutes" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Speed-up your WordPress site in 5 minutes
</a> <meta content="2020-12-10T09:26:04Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2021-02-12T07:24:05Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
3 minutes read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
The load time of a website is one of the most important factors that should be considered for better SEO and User experience optimization. It’s the total time a website takes to load into the browser.
Lesser the loading time, better will your site be scoring on searches and UX. Speed matters!
With WordPress, it’s quite easy to mess up with the load time of your site. Within the activation of 2 new plugins and 1 new theme, there are 70% chances that the load time of your WordPress site may in...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/automatically-set-featured-thumbnails-to-wordpress" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Automatically set Featured Thumbnails to WordPress posts
</a> <meta content="2020-12-10T09:26:04Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2023-11-03T01:38:30Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
a minute read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
WordPress featured thumbnails allow you to add a featured image to your posts. If your WordPress theme has this functionality, then you may set a featured thumbnail to your post by using the Featured Image meta box by clicking the Set Featured image link and uploading your image. The featured thumbnails generally appear in the index pages of your blog along with post body (or excerpt).
Featured Image meta box in WordPress Dashboard
But in case when you publish posts frequently and forget settin...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/removing-gutenberg-enqueued-css-from-your-wordpress" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Removing Gutenberg-enqueued CSS from your WordPress theme
</a> <meta content="2020-12-10T09:26:03Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2024-05-21T08:06:40Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
a minute read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
Gutenberg has brought in things which look quite interesting to enhance our editing task to another level. But I’m sure there are folks like me who don’t like adding one more external CSS file to their theme–the point here is to avoid another render block.
If you are like me, you may have already noticed that style.min.css (with the ID wp-block-library-css) file popping-up in the head section of your WordPress site’s HTML.
Note that this is the file which keeps the Gutenberg blocks as is...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/remove-automatic-dimensions-from-wordpress-image" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Remove automatic dimensions from WordPress Image attachments
</a> <meta content="2020-12-10T09:26:03Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2023-10-24T17:33:05Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
a minute read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
When you upload and add images in your WordPress posts, you might have noticed the dimensions that it adds to the image automatically. Same goes with the post thumbnails, they also carry some auto-generated thumbnail markup.
The dimension markup is nothing but the width and height attributes that resize images in the post. But these dimension attributes may create problems with a responsive layout. Take a look at the highlighted section in the below given code, that’s what I’m talking about:...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/remove-wordpress-version-number-from-head" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Remove WordPress Version Number from Head
</a> <meta content="2020-12-10T09:26:03Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2023-10-16T07:37:14Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
a minute read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
WordPress automatically adds its current Version number to the head section of the themes. If you view the source of a WordPress-based website, you may find out the WordPress version it is using.
Below given is the meta tag that carries that version information and can be spotted when you right-click and view source of a WordPress site:
&lt;meta name=&#34;generator&#34; content=&#34;WordPress 4.3.1&#34; /&gt;
This extra information about CMS version is added by WordPress itself in order to ke...
</div></div></div></div></div><div itemscope="itemscope" itemtype="https://schema.org/BlogPosting" class="col col-12" data-v-82fdb1c0 data-v-82fdb1c0><!----> <div class="v-card v-sheet theme--light" data-v-82fdb1c0><div class="row m-0 p-0" data-v-82fdb1c0><div class="col-md-12 col-lg-9 col-12" data-v-82fdb1c0><div itemprop="name headline" class="v-card__title headline headline-post" data-v-82fdb1c0><a href="/blog/exclude-pages-from-wordpress-search-results" itemprop="mainEntityOfPage url" data-v-82fdb1c0>
Exclude Pages from WordPress Search Results
</a> <meta content="2020-12-10T09:26:01Z" itemprop="datePublished" data-v-82fdb1c0> <meta content="2023-10-17T13:32:26Z" itemprop="dateModified" data-v-82fdb1c0></div></div> <div class="d-flex justify-center justify-lg-end align-start col-md-12 col-lg-3 col-12" data-v-82fdb1c0><span class="caption pr-3" data-v-82fdb1c0><i aria-hidden="true" class="v-icon notranslate mdi mdi-clock-outline theme--light" data-v-82fdb1c0></i>
a few seconds read
</span></div> <!----> <div class="col col-12" data-v-82fdb1c0><div class="v-card__text post-text" data-v-82fdb1c0>
The native WordPress search feature by default displays pages in the search results. The feature is meant for site-wide searches, but could be annoying to users who just want to display only the posts in the search results.
I have this small code snippet working for me from day one to exclude pages from the searches. It goes in the functions.php file of your WordPress theme:
function search_tweak( $query ) {
if( $query-&gt;is_search ) {
$query-&gt;set( &#39;post_type&#39;, &#39;post&...
</div></div></div></div></div> <!----></div> <div class="text-center w-100"><nav role="navigation" aria-label="Pagination Navigation"><ul class="v-pagination theme--light"><li><button type="button" aria-label="Previous page" class="v-pagination__navigation v-pagination__navigation--disabled"><i aria-hidden="true" class="v-icon notranslate mdi mdi-chevron-left theme--light"></i></button></li><li><button type="button" aria-current="true" aria-label="Current Page, Page 1" class="v-pagination__item v-pagination__item--active primary">1</button></li><li><button type="button" aria-label="Goto Page 2" class="v-pagination__item">2</button></li><li><button type="button" aria-label="Next page" class="v-pagination__navigation"><i aria-hidden="true" class="v-icon notranslate mdi mdi-chevron-right theme--light"></i></button></li></ul></nav></div></div></div> <div pages="" class="footer" data-v-293f1957><!----> <!----> <footer class="v-footer footer mt-4 v-sheet theme--light" data-v-293f1957><!----> <!----> <div class="flex xs12 sm12 md6 lg4" data-v-293f1957><div class="about-section white-text mx-auto" data-v-293f1957><h4 class="title text-center" data-v-293f1957>About us</h4> <ul class="text-center" data-v-293f1957><li data-v-293f1957><a href="/contact" rel="nofollow" data-v-293f1957>Contact us</a></li></ul></div></div> <div class="flex text-center mt-2 xs12" data-v-293f1957><span data-v-293f1957>© 2024 Copyright: wpcrux.com
</span> <p class="mb-0" data-v-293f1957>
This Site is Created By
<a href="https://blogweb.me" target="_blank" data-v-293f1957>blogweb.me</a></p> <p data-v-293f1957>
Get Your Own
<a href="https://blogweb.me" target="_blank" data-v-293f1957>free blog</a></p></div></footer> <!----> <!----></div> <!----></div> <div class="js-scripts"></div></div></div></div></div><script>window.__NUXT__=(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,$,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,aA,aB,aC,aD,aE,aF,aG,aH,aI,aJ,aK,aL,aM,aN,aO,aP,aQ,aR,aS,aT,aU,aV,aW,aX,aY,aZ,a_,a$,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,bA,bB){return {layout:aq,data:[{isDesktop:void 0,tag:{hash_tag:e},categories:[{id:1360,name:"Guides",meta_title:a,meta_description:"A simple tutorial showing how to submit WordPress comments with asynchronously with AJAX - without reloading the page.",order:c,children:[],description:a,slug:"guides"},{id:g,name:h,meta_title:a,meta_description:"A quick snippet to disable WordPress Emojicons and also remove the emojicon-specific CSS and JS.",order:c,children:[],description:a,slug:i},{id:1362,name:"Collectives",meta_title:a,meta_description:"Some really cool WordPress plugins to greet and welcome your readers with Christmas wishing and festive effects.",order:c,children:[],description:a,slug:"collectives"},{id:1363,name:"Resources",meta_title:a,meta_description:"Speed up your post formatting on WordPress with these handy keyboard shortcuts.",order:c,children:[],description:a,slug:"resources"}],page:k,totals:X,posts:[{id:64269,title:"Prevent Image Hotlinking on WordPress",summary:"It’s so common on the internet to have your content stolen. People often scrape your entire hard-worked content and put it over on their sites. That includes image hotlinking too, when the images hosted on the web server paid by you, being used by someone else.\nIf you use WordPress to publish your content, you can easily enable image hotlinking protection on your WordPress-powered site. This post is all about guiding you to protect your images from being stolen like that.\nWhat the heck is Imag...",content:ar,content_ad:as,formatted_content:ar,formatted_content_ad:as,category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"prevent-image-hotlinking-on-wordpress",image:a,hash_tags:[at,e,"prevent",j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"How to: Enable Image Hotlinking Protection in WordPress",meta_description:"A guide explaining how you can enable image hotlinking protection in WordPress by editing the .htaccess file or with the help of plugins.",created:"2020-12-10T09:26:10Z",updated:"2021-02-12T07:25:23Z"},{id:64267,title:"Easily find WordPress blog owner’s information",summary:"You can create two types of blogs with WordPress: WordPress.com hosted and self-hosted by installing WordPress on your web host. I’m not going to cover the difference between these two, but I’ll tell you how to find out owner’s information of WordPress blogs of both types.\nAgain, reason to contact owner can be anything, a request for guest post, content take-down, or advertising etc. This guide comes in handy when you are not able to find how to reach to the author of a WordPress based blo...",content:"\u003Cp\u003EYou \u003Ca href=\"https:\u002F\u002Fblogweb.me\u002F\" class=\"auto-link\" target=\"_blank\"\u003Ecan create\u003C\u002Fa\u003E two types of blogs with WordPress: WordPress.com hosted and self-hosted by installing WordPress on your web host. I’m not going to cover the difference between these two, but I’ll tell you how to find out owner’s information of WordPress blogs of both types.\u003C\u002Fp\u003E\n\u003Cp\u003EAgain, reason to contact owner can be anything, a request for guest post, content take-down, or advertising etc. \u003Ca href=\"https:\u002F\u002Falmarefa.net\u002Fblog\u002Fhow-to-exchange-mutual-funds-in-fidelity\" class=\"auto-link\" target=\"_blank\"\u003EThis guide\u003C\u002Fa\u003E comes in handy when you are not able to find how to reach to the author of a WordPress based blog. Lets get started.\u003C\u002Fp\u003E\n\u003Ch3\u003EFind owner of a WordPress.com blog \u002F self-hosted WordPress blog\u003C\u002Fh3\u003E\n\u003Cul\u003E\n\u003Cli\u003ELook in the blog for an “about” or “contact” section, and if you find one, just try to grab the contact email, links to social places like Twitter, Facebook, Google+, contact number or address.\u003C\u002Fli\u003E\n\u003Cli\u003EGo for a \u003Cstrong\u003EWHOIS lookup\u003C\u002Fstrong\u003E if the blog owner is using a custom domain with WordPress.com. The WHOIS lookup completely applies to self-hosted WordPress blogs since they require a custom domain name to operate. You may get the email, contact number as well as contact address of the owner from WHOIS records.\u003C\u002Fli\u003E\n\u003Cli\u003EIf the blog is WordPress.com hosted, look for the WordPress.com profile link where you may get more information about the author including his\u002Fher other blogs, where s\u002Fhe may have given his full contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EIf you know the author’s name, make a Google search about him and look for the relevant info which may contain his\u002Fher contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EGoogle “site:wordpressblogurl.tld contact” without quotes (replace wordpressblogurl.tld with the URL of the blog you’re investigating for). That may return contact pages of the blog which you’re not able to see on the blog.\u003Cbr\u002F\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fgoogle-wordpress-blog-contact-info.jpg\" alt=\"Google WordPress blog contact\" title=\"Google WordPress blog contact info\"\u002F\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003C\u002Fli\u003E\n\u003C\u002Ful\u003E\n\u003Cp\u003ENow you may leave a message using any one of the contact mediums you’ve found on the blog. If you found nothing, just leave a comment on the posts of that blog with your message. I hope you found this post useful.\u003C\u002Fp\u003E",content_ad:"\u003Cp\u003EYou \u003Ca href=\"https:\u002F\u002Fblogweb.me\u002F\" class=\"auto-link\" target=\"_blank\"\u003Ecan create\u003C\u002Fa\u003E two types of blogs with WordPress: WordPress.com hosted and self-hosted by installing WordPress on your web host. I’m not going to cover the difference between these two, but I’ll tell you how to find out owner’s information of WordPress blogs of both types.\u003C\u002Fp\u003E\n\u003Cp\u003EAgain, reason to contact owner can be anything, a request for guest post, content take-down, or advertising etc. \u003Ca href=\"https:\u002F\u002Falmarefa.net\u002Fblog\u002Fhow-to-exchange-mutual-funds-in-fidelity\" class=\"auto-link\" target=\"_blank\"\u003EThis guide\u003C\u002Fa\u003E comes in handy when you are not able to find how to reach to the author of a WordPress based blog. Lets get started.\u003C\u002Fp\u003E\n\u003Ch3\u003EFind owner of a WordPress.com blog \u002F self-hosted WordPress blog\u003C\u002Fh3\u003E\n\u003Cul\u003E\n\u003Cli\u003ELook in the blog for an “about” or “contact” section, and if you find one, just try to grab the contact email, links to social places like Twitter, Facebook, Google+, contact number or address.\u003C\u002Fli\u003E\n\u003Cli\u003EGo for a \u003Cstrong\u003EWHOIS lookup\u003C\u002Fstrong\u003E if the blog owner is using a custom domain with WordPress.com. The WHOIS lookup completely applies to self-hosted WordPress blogs since they require a custom domain name to operate. You may get the email, contact number as well as contact address of the owner from WHOIS records.\u003C\u002Fli\u003E\n\u003Cli\u003EIf the blog is WordPress.com hosted, look for the WordPress.com profile link where you may get more information about the author including his\u002Fher other blogs, where s\u002Fhe may have given his full contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EIf you know the author’s name, make a Google search about him and look for the relevant info which may contain his\u002Fher contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EGoogle “site:wordpressblogurl.tld contact” without quotes (replace wordpressblogurl.tld with the URL of the blog you’re investigating for). That may return contact pages of the blog which you’re not able to see on the blog.\u003Cbr\u002F\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fgoogle-wordpress-blog-contact-info.jpg\" alt=\"Google WordPress blog contact\" title=\"Google WordPress blog contact info\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003C\u002Fli\u003E\n\u003C\u002Ful\u003E\n\u003Cp\u003ENow you may leave a message using any one of the contact mediums you’ve found on the blog. If you found nothing, just leave a comment on the posts of that blog with your message. I hope you found this post useful.\u003C\u002Fp\u003E",formatted_content:"\u003Cp\u003EYou \u003Ca href=\"https:\u002F\u002Fblogweb.me\u002F\" target=\"_blank\"\u003Ecan create\u003C\u002Fa\u003E two types of blogs with WordPress: WordPress.com hosted and self-hosted by installing WordPress on your web host. I’m not going to cover the difference between these two, but I’ll tell you how to find out owner’s information of WordPress blogs of both types.\u003C\u002Fp\u003E\n\u003Cp\u003EAgain, reason to contact owner can be anything, a request for guest post, content take-down, or advertising etc. \u003Ca href=\"https:\u002F\u002Falmarefa.net\u002Fblog\u002Fhow-to-exchange-mutual-funds-in-fidelity\" target=\"_blank\"\u003EThis guide\u003C\u002Fa\u003E comes in handy when you are not able to find how to reach to the author of a WordPress based blog. Lets get started.\u003C\u002Fp\u003E\n\u003Ch3\u003EFind owner of a WordPress.com blog \u002F self-hosted WordPress blog\u003C\u002Fh3\u003E\n\u003Cul\u003E\n\u003Cli\u003ELook in the blog for an “about” or “contact” section, and if you find one, just try to grab the contact email, links to social places like Twitter, Facebook, Google+, contact number or address.\u003C\u002Fli\u003E\n\u003Cli\u003EGo for a \u003Cstrong\u003EWHOIS lookup\u003C\u002Fstrong\u003E if the blog owner is using a custom domain with WordPress.com. The WHOIS lookup completely applies to self-hosted WordPress blogs since they require a custom domain name to operate. You may get the email, contact number as well as contact address of the owner from WHOIS records.\u003C\u002Fli\u003E\n\u003Cli\u003EIf the blog is WordPress.com hosted, look for the WordPress.com profile link where you may get more information about the author including his\u002Fher other blogs, where s\u002Fhe may have given his full contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EIf you know the author’s name, make a Google search about him and look for the relevant info which may contain his\u002Fher contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EGoogle “site:wordpressblogurl.tld contact” without quotes (replace wordpressblogurl.tld with the URL of the blog you’re investigating for). That may return contact pages of the blog which you’re not able to see on the blog.\u003Cbr\u002F\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fgoogle-wordpress-blog-contact-info.jpg\" alt=\"Google WordPress blog contact\" title=\"Google WordPress blog contact info\"\u002F\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003C\u002Fli\u003E\n\u003C\u002Ful\u003E\n\u003Cp\u003ENow you may leave a message using any one of the contact mediums you’ve found on the blog. If you found nothing, just leave a comment on the posts of that blog with your message. I hope you found this post useful.\u003C\u002Fp\u003E",formatted_content_ad:"\u003Cp\u003EYou \u003Ca href=\"https:\u002F\u002Fblogweb.me\u002F\" target=\"_blank\"\u003Ecan create\u003C\u002Fa\u003E two types of blogs with WordPress: WordPress.com hosted and self-hosted by installing WordPress on your web host. I’m not going to cover the difference between these two, but I’ll tell you how to find out owner’s information of WordPress blogs of both types.\u003C\u002Fp\u003E\n\u003Cp\u003EAgain, reason to contact owner can be anything, a request for guest post, content take-down, or advertising etc. \u003Ca href=\"https:\u002F\u002Falmarefa.net\u002Fblog\u002Fhow-to-exchange-mutual-funds-in-fidelity\" target=\"_blank\"\u003EThis guide\u003C\u002Fa\u003E comes in handy when you are not able to find how to reach to the author of a WordPress based blog. Lets get started.\u003C\u002Fp\u003E\n\u003Ch3\u003EFind owner of a WordPress.com blog \u002F self-hosted WordPress blog\u003C\u002Fh3\u003E\n\u003Cul\u003E\n\u003Cli\u003ELook in the blog for an “about” or “contact” section, and if you find one, just try to grab the contact email, links to social places like Twitter, Facebook, Google+, contact number or address.\u003C\u002Fli\u003E\n\u003Cli\u003EGo for a \u003Cstrong\u003EWHOIS lookup\u003C\u002Fstrong\u003E if the blog owner is using a custom domain with WordPress.com. The WHOIS lookup completely applies to self-hosted WordPress blogs since they require a custom domain name to operate. You may get the email, contact number as well as contact address of the owner from WHOIS records.\u003C\u002Fli\u003E\n\u003Cli\u003EIf the blog is WordPress.com hosted, look for the WordPress.com profile link where you may get more information about the author including his\u002Fher other blogs, where s\u002Fhe may have given his full contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EIf you know the author’s name, make a Google search about him and look for the relevant info which may contain his\u002Fher contact details.\u003C\u002Fli\u003E\n\u003Cli\u003EGoogle “site:wordpressblogurl.tld contact” without quotes (replace wordpressblogurl.tld with the URL of the blog you’re investigating for). That may return contact pages of the blog which you’re not able to see on the blog.\u003Cbr\u002F\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fgoogle-wordpress-blog-contact-info.jpg\" alt=\"Google WordPress blog contact\" title=\"Google WordPress blog contact info\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003C\u002Fli\u003E\n\u003C\u002Ful\u003E\n\u003Cp\u003ENow you may leave a message using any one of the contact mediums you’ve found on the blog. If you found nothing, just leave a comment on the posts of that blog with your message. I hope you found this post useful.\u003C\u002Fp\u003E",category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"easily-find-wordpress-blog-owners-information",image:a,hash_tags:[l,"wordpressblog",e,"information",Y,j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"How to: Find WordPress blog owner's information",meta_description:a,created:"2020-12-10T09:26:09Z",updated:"2023-10-22T22:36:35Z"},{id:64257,title:"Remove the default Gallery Style in WordPress",summary:"We want to customize lots of things in our WordPress themes, and WordPress gallery style can be one important of those. At first, it may seem easy stuff, but actually it isn’t that easy.\nAs a developer, you may think of customizing the look of WordPress galleries just by adding some CSS in the style.css of your theme. But that alone is not gonna work since WordPress automatically adds a default style snippet in the post that contains a gallery, which provides default styles to the gallery, and...",content:au,content_ad:av,formatted_content:au,formatted_content_ad:av,category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"remove-the-default-gallery-style-in-wordpress",image:a,hash_tags:["gallery","styleblogger",e,"styled","remove",j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"How to: Remove the Default Gallery Style in WordPress",meta_description:"A quick code snippet to stop WordPress from adding default CSS styles into the gallery posts.",created:aw,updated:"2021-02-12T07:24:35Z"},{id:64258,title:"Remove version from WordPress enqueued CSS and JS",summary:"WordPress functions wp_enqueue_script \u002F wp_register_script and wp_enqueue_style \u002F wp_register_style add additional version info in the end of the JavaScript and CSS files you link (include or add) using these functions. This version info is important to ensure that the correct version of the file is sent to the browser regardless of caching.\nBelow screenshot explains how a version number appears in WordPress enqueued scripts and styles, see the highlighted part:\n\nPreventing WordPress to add vers...",content:"\u003Cp\u003EWordPress functions \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E add additional version info in the end of the \u003Ca href=\"https:\u002F\u002Fphparea.com\u002Fblog\u002Fhow-to-add-quotes-to-a-javascript-string\" class=\"auto-link\" target=\"_blank\"\u003EJavaScript and CSS\u003C\u002Fa\u003E files you link (\u003Ci\u003Einclude\u003C\u002Fi\u003E or \u003Ci\u003Eadd\u003C\u002Fi\u003E) using these functions. This version info is important to ensure that the correct version of the file is sent to the browser regardless of caching.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow screenshot explains how a version number appears in WordPress enqueued scripts and styles, see the highlighted part:\u003C\u002Fp\u003E\n\u003Cfigure\u003E\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwp-enqueue-version.jpg\" alt=\"Version info shown by WordPress enqueue functions\" title=\"WordPress enqueued scripts with Version info\"\u002F\u003E\u003C\u002Ffigure\u003E\n\u003Ch2\u003EPreventing WordPress to add version number to scripts and styles\u003C\u002Fh2\u003E\n\u003Cp\u003ESometimes the version number in our scripts turns out to be unnecessary in WordPress theming and plugin projects. This article shows how to prevent WordPress adding a version number to your scripts and styles easily without adding any additional PHP functions to your theme or plugins.\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Cb\u003ENote\u003C\u002Fb\u003E: For \u003Cabbr title=\"Do It Yourself\"\u003EDIY\u003C\u002Fabbr\u003E trials, these functions are generally used in \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your theme to link the CSS & JS files.\u003C\u002Fp\u003E\n\u003Cp\u003ETake a look at the format of \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E function below:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe functions \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E also carry the same parameters. The parameter \u003Ccode\u003E$ver\u003C\u002Fcode\u003E is responsible to show the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you have to specify a version to your script or style, just put the version number in single quotes in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. If you don’t want to specify a version, you may set it to \u003Ccode\u003Efalse\u003C\u002Fcode\u003E, but then a version number equal to the current version of WordPress will be added automatically as the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIn order to prevent your enqueued scripts and style in WordPress to use a version number, all you need to do is use \u003Ccode\u003Enull\u003C\u002Fcode\u003E value in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. Given below is how you’ll implement it in the WordPress enqueue functions:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_register_script('basic', plugins_url('js\u002Fbasic.js', __FILE__), array(), null, true); >\u003C\u002Fpre\u003E\n\u003Cp\u003ESimilarly, you should add the \u003Ccode\u003Enull\u003C\u002Fcode\u003E value to the version parameter in \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E functions also. That’s it!\u003C\u002Fp\u003E",content_ad:"\u003Cp\u003EWordPress functions \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E add additional version info in the end of the \u003Ca href=\"https:\u002F\u002Fphparea.com\u002Fblog\u002Fhow-to-add-quotes-to-a-javascript-string\" class=\"auto-link\" target=\"_blank\"\u003EJavaScript and CSS\u003C\u002Fa\u003E files you link (\u003Ci\u003Einclude\u003C\u002Fi\u003E or \u003Ci\u003Eadd\u003C\u002Fi\u003E) using these functions. This version info is important to ensure that the correct version of the file is sent to the browser regardless of caching.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow screenshot explains how a version number appears in WordPress enqueued scripts and styles, see the highlighted part:\u003C\u002Fp\u003E\n\u003Cfigure\u003E\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwp-enqueue-version.jpg\" alt=\"Version info shown by WordPress enqueue functions\" title=\"WordPress enqueued scripts with Version info\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003C\u002Ffigure\u003E\n\u003Ch2\u003EPreventing WordPress to add version number to scripts and styles\u003C\u002Fh2\u003E\n\u003Cp\u003ESometimes the version number in our scripts turns out to be unnecessary in WordPress theming and plugin projects. This article shows how to prevent WordPress adding a version number to your scripts and styles easily without adding any additional PHP functions to your theme or plugins.\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Cb\u003ENote\u003C\u002Fb\u003E: For \u003Cabbr title=\"Do It Yourself\"\u003EDIY\u003C\u002Fabbr\u003E trials, these functions are generally used in \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your theme to link the CSS & JS files.\u003C\u002Fp\u003E\n\u003Cp\u003ETake a look at the format of \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E function below:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe functions \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E also carry the same parameters. The parameter \u003Ccode\u003E$ver\u003C\u002Fcode\u003E is responsible to show the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you have to specify a version to your script or style, just put the version number in single quotes in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. If you don’t want to specify a version, you may set it to \u003Ccode\u003Efalse\u003C\u002Fcode\u003E, but then a version number equal to the current version of WordPress will be added automatically as the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIn order to prevent your enqueued scripts and style in WordPress to use a version number, all you need to do is use \u003Ccode\u003Enull\u003C\u002Fcode\u003E value in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. Given below is how you’ll implement it in the WordPress enqueue functions:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_register_script('basic', plugins_url('js\u002Fbasic.js', __FILE__), array(), null, true); >\u003C\u002Fpre\u003E\n\u003Cp\u003ESimilarly, you should add the \u003Ccode\u003Enull\u003C\u002Fcode\u003E value to the version parameter in \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E functions also. That’s it!\u003C\u002Fp\u003E",formatted_content:"\u003Cp\u003EWordPress functions \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E add additional version info in the end of the \u003Ca href=\"https:\u002F\u002Fphparea.com\u002Fblog\u002Fhow-to-add-quotes-to-a-javascript-string\" target=\"_blank\"\u003EJavaScript and CSS\u003C\u002Fa\u003E files you link (\u003Ci\u003Einclude\u003C\u002Fi\u003E or \u003Ci\u003Eadd\u003C\u002Fi\u003E) using these functions. This version info is important to ensure that the correct version of the file is sent to the browser regardless of caching.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow screenshot explains how a version number appears in WordPress enqueued scripts and styles, see the highlighted part:\u003C\u002Fp\u003E\n\u003Cfigure\u003E\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwp-enqueue-version.jpg\" alt=\"Version info shown by WordPress enqueue functions\" title=\"WordPress enqueued scripts with Version info\"\u002F\u003E\u003C\u002Ffigure\u003E\n\u003Ch2\u003EPreventing WordPress to add version number to scripts and styles\u003C\u002Fh2\u003E\n\u003Cp\u003ESometimes the version number in our scripts turns out to be unnecessary in WordPress theming and plugin projects. This article shows how to prevent WordPress adding a version number to your scripts and styles easily without adding any additional PHP functions to your theme or plugins.\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Cb\u003ENote\u003C\u002Fb\u003E: For \u003Cabbr title=\"Do It Yourself\"\u003EDIY\u003C\u002Fabbr\u003E trials, these functions are generally used in \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your theme to link the CSS & JS files.\u003C\u002Fp\u003E\n\u003Cp\u003ETake a look at the format of \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E function below:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe functions \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E also carry the same parameters. The parameter \u003Ccode\u003E$ver\u003C\u002Fcode\u003E is responsible to show the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you have to specify a version to your script or style, just put the version number in single quotes in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. If you don’t want to specify a version, you may set it to \u003Ccode\u003Efalse\u003C\u002Fcode\u003E, but then a version number equal to the current version of WordPress will be added automatically as the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIn order to prevent your enqueued scripts and style in WordPress to use a version number, all you need to do is use \u003Ccode\u003Enull\u003C\u002Fcode\u003E value in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. Given below is how you’ll implement it in the WordPress enqueue functions:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_register_script('basic', plugins_url('js\u002Fbasic.js', __FILE__), array(), null, true); >\u003C\u002Fpre\u003E\n\u003Cp\u003ESimilarly, you should add the \u003Ccode\u003Enull\u003C\u002Fcode\u003E value to the version parameter in \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E functions also. That’s it!\u003C\u002Fp\u003E",formatted_content_ad:"\u003Cp\u003EWordPress functions \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E \u002F \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E add additional version info in the end of the \u003Ca href=\"https:\u002F\u002Fphparea.com\u002Fblog\u002Fhow-to-add-quotes-to-a-javascript-string\" target=\"_blank\"\u003EJavaScript and CSS\u003C\u002Fa\u003E files you link (\u003Ci\u003Einclude\u003C\u002Fi\u003E or \u003Ci\u003Eadd\u003C\u002Fi\u003E) using these functions. This version info is important to ensure that the correct version of the file is sent to the browser regardless of caching.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow screenshot explains how a version number appears in WordPress enqueued scripts and styles, see the highlighted part:\u003C\u002Fp\u003E\n\u003Cfigure\u003E\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwp-enqueue-version.jpg\" alt=\"Version info shown by WordPress enqueue functions\" title=\"WordPress enqueued scripts with Version info\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003C\u002Ffigure\u003E\n\u003Ch2\u003EPreventing WordPress to add version number to scripts and styles\u003C\u002Fh2\u003E\n\u003Cp\u003ESometimes the version number in our scripts turns out to be unnecessary in WordPress theming and plugin projects. This article shows how to prevent WordPress adding a version number to your scripts and styles easily without adding any additional PHP functions to your theme or plugins.\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Cb\u003ENote\u003C\u002Fb\u003E: For \u003Cabbr title=\"Do It Yourself\"\u003EDIY\u003C\u002Fabbr\u003E trials, these functions are generally used in \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your theme to link the CSS & JS files.\u003C\u002Fp\u003E\n\u003Cp\u003ETake a look at the format of \u003Ccode\u003Ewp_enqueue_script\u003C\u002Fcode\u003E function below:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe functions \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E also carry the same parameters. The parameter \u003Ccode\u003E$ver\u003C\u002Fcode\u003E is responsible to show the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you have to specify a version to your script or style, just put the version number in single quotes in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. If you don’t want to specify a version, you may set it to \u003Ccode\u003Efalse\u003C\u002Fcode\u003E, but then a version number equal to the current version of WordPress will be added automatically as the version of your script or style.\u003C\u002Fp\u003E\n\u003Cp\u003EIn order to prevent your enqueued scripts and style in WordPress to use a version number, all you need to do is use \u003Ccode\u003Enull\u003C\u002Fcode\u003E value in the \u003Ccode\u003E$ver\u003C\u002Fcode\u003E parameter. Given below is how you’ll implement it in the WordPress enqueue functions:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php wp_register_script('basic', plugins_url('js\u002Fbasic.js', __FILE__), array(), null, true); >\u003C\u002Fpre\u003E\n\u003Cp\u003ESimilarly, you should add the \u003Ccode\u003Enull\u003C\u002Fcode\u003E value to the version parameter in \u003Ccode\u003Ewp_register_script\u003C\u002Fcode\u003E, \u003Ccode\u003Ewp_enqueue_style\u003C\u002Fcode\u003E and \u003Ccode\u003Ewp_register_style\u003C\u002Fcode\u003E functions also. That’s it!\u003C\u002Fp\u003E",category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"remove-version-from-wordpress-enqueued-css-and-js",image:a,hash_tags:[l,ax,e,ay,"markup",j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"Remove version info from WordPress enqueued CSS & JS",meta_description:"Snip unnecessary version number from the JavaScript and CSS files added by wp_enqueue_script and wp_enqueue_style functions in WordPress.",created:aw,updated:"2023-10-27T14:29:05Z"},{id:64253,title:"Speed-up your WordPress site in 5 minutes",summary:"The load time of a website is one of the most important factors that should be considered for better SEO and User experience optimization. It’s the total time a website takes to load into the browser.\nLesser the loading time, better will your site be scoring on searches and UX. Speed matters!\nWith WordPress, it’s quite easy to mess up with the load time of your site. Within the activation of 2 new plugins and 1 new theme, there are 70% chances that the load time of your WordPress site may in...",content:x,content_ad:x,formatted_content:x,formatted_content_ad:x,category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"speed-up-your-wordpress-site-in-5-minutes",image:a,hash_tags:[l,"opensource","speed",e,"site",j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"How to: Speed-up your WordPress site in 5 minutes",meta_description:"A guide explaining how you can make your WordPress site blazing fast by following few simple steps.",created:az,updated:"2021-02-12T07:24:05Z"},{id:64254,title:"Automatically set Featured Thumbnails to WordPress posts",summary:"WordPress featured thumbnails allow you to add a featured image to your posts. If your WordPress theme has this functionality, then you may set a featured thumbnail to your post by using the Featured Image meta box by clicking the Set Featured image link and uploading your image. The featured thumbnails generally appear in the index pages of your blog along with post body (or excerpt).\n\nFeatured Image meta box in WordPress Dashboard\nBut in case when you publish posts frequently and forget settin...",content:"\u003Cp\u003E\u003Ca href=\"http:\u002F\u002Fcodex.wordpress.org\u002FPost_Thumbnails\" title=\"Post Thumbnails\"\u003EWordPress featured thumbnails\u003C\u002Fa\u003E allow you to add a featured image to your posts. If your WordPress theme has this functionality, then you may set a featured thumbnail to your post by using the \u003Cstrong\u003EFeatured Image\u003C\u002Fstrong\u003E meta box by clicking the \u003Cem\u003ESet Featured image\u003C\u002Fem\u003E link and uploading your image. The featured thumbnails generally \u003Ca href=\"https:\u002F\u002Fforum.dollaroverflow.com\u002Fthread\u002Fwhat-stock-index-is-meta-in\" class=\"auto-link\" target=\"_blank\"\u003Eappear in the index\u003C\u002Fa\u003E pages of your blog along with post body (or excerpt).\u003C\u002Fp\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Ffeatured-image-meta-box.jpg\" title=\"Featured Image Meta box in WordPress\" alt=\"Featured image meta box\" class=\"aligncenter\"\u002F\u003E\u003Cfigcaption\u003EFeatured Image meta box in WordPress Dashboard\u003C\u002Ffigcaption\u003E\u003C\u002Ffigure\u003E\n\u003Cp\u003EBut in case when you publish posts frequently and forget setting a thumbnail mostly, you may want them set automatically. In order to achieve that, you need to add the below code in the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme and save the changes:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php\nfunction auto_featured_thumb() {\n global $post;\n $has_thumb = has_post_thumbnail($post->ID);\n if (!$has_thumb) {\n $attached_image = get_children('post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1');\n if ($attached_image) {\n foreach ($attached_image as $attachment_id => $attachment) {\n set_post_thumbnail($post->ID, $attachment_id);\n }\n }\n }\n}\nadd_action('the_post', 'auto_featured_thumb');\nadd_action('save_post', 'auto_featured_thumb');\nadd_action('draft_to_publish', 'auto_featured_thumb');\nadd_action('new_to_publish', 'auto_featured_thumb');\nadd_action('pending_to_publish', 'auto_featured_thumb');\nadd_action('future_to_publish', 'auto_featured_thumb');\n?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe above code looks into your post for other images added by you, and automatically sets the first image from the post as the featured thumbnail image, if it finds no featured image added to the post.\u003C\u002Fp\u003E",content_ad:"\u003Cp\u003E\u003Ca href=\"http:\u002F\u002Fcodex.wordpress.org\u002FPost_Thumbnails\" title=\"Post Thumbnails\"\u003EWordPress featured thumbnails\u003C\u002Fa\u003E allow you to add a featured image to your posts. If your WordPress theme has this functionality, then you may set a featured thumbnail to your post by using the \u003Cstrong\u003EFeatured Image\u003C\u002Fstrong\u003E meta box by clicking the \u003Cem\u003ESet Featured image\u003C\u002Fem\u003E link and uploading your image. The featured thumbnails generally \u003Ca href=\"https:\u002F\u002Fforum.dollaroverflow.com\u002Fthread\u002Fwhat-stock-index-is-meta-in\" class=\"auto-link\" target=\"_blank\"\u003Eappear in the index\u003C\u002Fa\u003E pages of your blog along with post body (or excerpt).\u003C\u002Fp\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Ffeatured-image-meta-box.jpg\" title=\"Featured Image Meta box in WordPress\" alt=\"Featured image meta box\" class=\"aligncenter\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003Cfigcaption\u003EFeatured Image meta box in WordPress Dashboard\u003C\u002Ffigcaption\u003E\u003C\u002Ffigure\u003E\n\u003Cp\u003EBut in case when you publish posts frequently and forget setting a thumbnail mostly, you may want them set automatically. In order to achieve that, you need to add the below code in the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme and save the changes:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php\nfunction auto_featured_thumb() {\n global $post;\n $has_thumb = has_post_thumbnail($post->ID);\n if (!$has_thumb) {\n $attached_image = get_children('post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1');\n if ($attached_image) {\n foreach ($attached_image as $attachment_id => $attachment) {\n set_post_thumbnail($post->ID, $attachment_id);\n }\n }\n }\n}\nadd_action('the_post', 'auto_featured_thumb');\nadd_action('save_post', 'auto_featured_thumb');\nadd_action('draft_to_publish', 'auto_featured_thumb');\nadd_action('new_to_publish', 'auto_featured_thumb');\nadd_action('pending_to_publish', 'auto_featured_thumb');\nadd_action('future_to_publish', 'auto_featured_thumb');\n?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe above code looks into your post for other images added by you, and automatically sets the first image from the post as the featured thumbnail image, if it finds no featured image added to the post.\u003C\u002Fp\u003E",formatted_content:"\u003Cp\u003E\u003Ca href=\"http:\u002F\u002Fcodex.wordpress.org\u002FPost_Thumbnails\" title=\"Post Thumbnails\"\u003EWordPress featured thumbnails\u003C\u002Fa\u003E allow you to add a featured image to your posts. If your WordPress theme has this functionality, then you may set a featured thumbnail to your post by using the \u003Cstrong\u003EFeatured Image\u003C\u002Fstrong\u003E meta box by clicking the \u003Cem\u003ESet Featured image\u003C\u002Fem\u003E link and uploading your image. The featured thumbnails generally \u003Ca href=\"https:\u002F\u002Fforum.dollaroverflow.com\u002Fthread\u002Fwhat-stock-index-is-meta-in\" target=\"_blank\"\u003Eappear in the index\u003C\u002Fa\u003E pages of your blog along with post body (or excerpt).\u003C\u002Fp\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Ffeatured-image-meta-box.jpg\" title=\"Featured Image Meta box in WordPress\" alt=\"Featured image meta box\" class=\"aligncenter\"\u002F\u003E\u003Cfigcaption\u003EFeatured Image meta box in WordPress Dashboard\u003C\u002Ffigcaption\u003E\u003C\u002Ffigure\u003E\n\u003Cp\u003EBut in case when you publish posts frequently and forget setting a thumbnail mostly, you may want them set automatically. In order to achieve that, you need to add the below code in the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme and save the changes:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php\nfunction auto_featured_thumb() {\n global $post;\n $has_thumb = has_post_thumbnail($post->ID);\n if (!$has_thumb) {\n $attached_image = get_children('post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1');\n if ($attached_image) {\n foreach ($attached_image as $attachment_id => $attachment) {\n set_post_thumbnail($post->ID, $attachment_id);\n }\n }\n }\n}\nadd_action('the_post', 'auto_featured_thumb');\nadd_action('save_post', 'auto_featured_thumb');\nadd_action('draft_to_publish', 'auto_featured_thumb');\nadd_action('new_to_publish', 'auto_featured_thumb');\nadd_action('pending_to_publish', 'auto_featured_thumb');\nadd_action('future_to_publish', 'auto_featured_thumb');\n?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe above code looks into your post for other images added by you, and automatically sets the first image from the post as the featured thumbnail image, if it finds no featured image added to the post.\u003C\u002Fp\u003E",formatted_content_ad:"\u003Cp\u003E\u003Ca href=\"http:\u002F\u002Fcodex.wordpress.org\u002FPost_Thumbnails\" title=\"Post Thumbnails\"\u003EWordPress featured thumbnails\u003C\u002Fa\u003E allow you to add a featured image to your posts. If your WordPress theme has this functionality, then you may set a featured thumbnail to your post by using the \u003Cstrong\u003EFeatured Image\u003C\u002Fstrong\u003E meta box by clicking the \u003Cem\u003ESet Featured image\u003C\u002Fem\u003E link and uploading your image. The featured thumbnails generally \u003Ca href=\"https:\u002F\u002Fforum.dollaroverflow.com\u002Fthread\u002Fwhat-stock-index-is-meta-in\" target=\"_blank\"\u003Eappear in the index\u003C\u002Fa\u003E pages of your blog along with post body (or excerpt).\u003C\u002Fp\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Ffeatured-image-meta-box.jpg\" title=\"Featured Image Meta box in WordPress\" alt=\"Featured image meta box\" class=\"aligncenter\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003Cfigcaption\u003EFeatured Image meta box in WordPress Dashboard\u003C\u002Ffigcaption\u003E\u003C\u002Ffigure\u003E\n\u003Cp\u003EBut in case when you publish posts frequently and forget setting a thumbnail mostly, you may want them set automatically. In order to achieve that, you need to add the below code in the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme and save the changes:\u003C\u002Fp\u003E\n\u003Cpre\u003E<?php\nfunction auto_featured_thumb() {\n global $post;\n $has_thumb = has_post_thumbnail($post->ID);\n if (!$has_thumb) {\n $attached_image = get_children('post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1');\n if ($attached_image) {\n foreach ($attached_image as $attachment_id => $attachment) {\n set_post_thumbnail($post->ID, $attachment_id);\n }\n }\n }\n}\nadd_action('the_post', 'auto_featured_thumb');\nadd_action('save_post', 'auto_featured_thumb');\nadd_action('draft_to_publish', 'auto_featured_thumb');\nadd_action('new_to_publish', 'auto_featured_thumb');\nadd_action('pending_to_publish', 'auto_featured_thumb');\nadd_action('future_to_publish', 'auto_featured_thumb');\n?>\u003C\u002Fpre\u003E\n\u003Cp\u003EThe above code looks into your post for other images added by you, and automatically sets the first image from the post as the featured thumbnail image, if it finds no featured image added to the post.\u003C\u002Fp\u003E",category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"automatically-set-featured-thumbnails-to-wordpress",image:a,hash_tags:[l,"thumbnail",e,"post","set",j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"Automatically set Featured Thumbnails to WordPress posts - WPCrux",meta_description:"Handy Snippet to set featured thumbnails to your posts in WordPress automatically without installing additional plugins.",created:az,updated:"2023-11-03T01:38:30Z"},{id:64249,title:"Removing Gutenberg-enqueued CSS from your WordPress theme",summary:"Gutenberg has brought in things which look quite interesting to enhance our editing task to another level. But I’m sure there are folks like me who don’t like adding one more external CSS file to their theme–the point here is to avoid another render block.\nIf you are like me, you may have already noticed that style.min.css (with the ID wp-block-library-css) file popping-up in the head section of your WordPress site’s HTML.\nNote that this is the file which keeps the Gutenberg blocks as is...",content:aA,content_ad:aA,formatted_content:aB,formatted_content_ad:aB,category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"removing-gutenberg-enqueued-css-from-your-wordpress",image:a,hash_tags:["gutenberg",ax,l,e,"wordpresstheme",j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"REMOVE Gutenberg-hooked CSS file from your WordPress Theme",meta_description:"Unhook the CSS added by Gutenberg to your WordPress theme the right way - a quick PHP code snippet to get rid of additinal Gutenberg CSS files.",created:Z,updated:"2024-05-21T08:06:40Z"},{id:64250,title:"Remove automatic dimensions from WordPress Image attachments",summary:"When you upload and add images in your WordPress posts, you might have noticed the dimensions that it adds to the image automatically. Same goes with the post thumbnails, they also carry some auto-generated thumbnail markup.\nThe dimension markup is nothing but the width and height attributes that resize images in the post. But these dimension attributes may create problems with a responsive layout. Take a look at the highlighted section in the below given code, that’s what I’m talking about:...",content:aC,content_ad:aC,formatted_content:aD,formatted_content_ad:aD,category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"remove-automatic-dimensions-from-wordpress-image",image:a,hash_tags:[l,e,at,"dimension",Y,j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"Remove dimensions from WordPress Thumbnail attachments",meta_description:"Strip automatic width and height attributes from WordPress image attachments–handy code snippet to make WordPress images responsive.",created:Z,updated:"2023-10-24T17:33:05Z"},{id:64251,title:"Remove WordPress Version Number from Head",summary:"WordPress automatically adds its current Version number to the head section of the themes. If you view the source of a WordPress-based website, you may find out the WordPress version it is using.\nBelow given is the meta tag that carries that version information and can be spotted when you right-click and view source of a WordPress site:\n<meta name="generator" content="WordPress 4.3.1" \u002F>\n\n\n\nThis extra information about CMS version is added by WordPress itself in order to ke...",content:"\u003Cp\u003EWordPress automatically adds its current Version number to the head section of \u003Ca class=\"auto-link\" href=\"https:\u002F\u002Fwpcrux.com\u002Fblog\u002Fwhere-to-buy-wordpress-themes\"\u003Ethe themes\u003C\u002Fa\u003E. If you view the source of a WordPress-based website, you may find out the WordPress version it is using.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow given is the meta tag that carries that version information and can be spotted when you right-click and view source of a WordPress site:\u003C\u002Fp\u003E\n\u003Cpre\u003E<meta name="generator" content="WordPress 4.3.1" \u002F>\u003C\u002Fpre\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"https:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwordpress-version-meta-tag.jpg\" alt=\"WordPress Version info inside the meta tag\"\u002F\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003Cp\u003EThis extra information about CMS version is added by WordPress itself in order to keep track of the sites that make use of it.\u003C\u002Fp\u003E\n\u003Cp\u003EBut for security sake, you may not want this particular info to show up in the source of your WordPress site, as it will simply let the people know what version of WordPress your site is making use of. Now, you can imagine about the goods and bads of it.\u003C\u002Fp\u003E\n\u003Ch2\u003EWordPress Action to remove version meta\u003C\u002Fh2\u003E\n\u003Cp\u003EWe do have an action that may help us to turn-off adding of WordPress generator tag in the head section. Adding the below code in your theme’s \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and saving changes will remove that version meta info:\u003C\u002Fp\u003E\n\u003Cpre\u003Eremove_action( 'wp_head', 'wp_generator' );\u003C\u002Fpre\u003E\n\u003Cp\u003EHope you find this useful!\u003C\u002Fp\u003E",content_ad:"\u003Cp\u003EWordPress automatically adds its current Version number to the head section of \u003Ca class=\"auto-link\" href=\"https:\u002F\u002Fwpcrux.com\u002Fblog\u002Fwhere-to-buy-wordpress-themes\"\u003Ethe themes\u003C\u002Fa\u003E. If you view the source of a WordPress-based website, you may find out the WordPress version it is using.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow given is the meta tag that carries that version information and can be spotted when you right-click and view source of a WordPress site:\u003C\u002Fp\u003E\n\u003Cpre\u003E<meta name="generator" content="WordPress 4.3.1" \u002F>\u003C\u002Fpre\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"https:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwordpress-version-meta-tag.jpg\" alt=\"WordPress Version info inside the meta tag\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003Cp\u003EThis extra information about CMS version is added by WordPress itself in order to keep track of the sites that make use of it.\u003C\u002Fp\u003E\n\u003Cp\u003EBut for security sake, you may not want this particular info to show up in the source of your WordPress site, as it will simply let the people know what version of WordPress your site is making use of. Now, you can imagine about the goods and bads of it.\u003C\u002Fp\u003E\n\u003Ch2\u003EWordPress Action to remove version meta\u003C\u002Fh2\u003E\n\u003Cp\u003EWe do have an action that may help us to turn-off adding of WordPress generator tag in the head section. Adding the below code in your theme’s \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and saving changes will remove that version meta info:\u003C\u002Fp\u003E\n\u003Cpre\u003Eremove_action( 'wp_head', 'wp_generator' );\u003C\u002Fpre\u003E\n\u003Cp\u003EHope you find this useful!\u003C\u002Fp\u003E",formatted_content:"\u003Cp\u003EWordPress automatically adds its current Version number to the head section of \u003Ca href=\"https:\u002F\u002Fwpcrux.com\u002Fblog\u002Fwhere-to-buy-wordpress-themes\"\u003Ethe themes\u003C\u002Fa\u003E. If you view the source of a WordPress-based website, you may find out the WordPress version it is using.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow given is the meta tag that carries that version information and can be spotted when you right-click and view source of a WordPress site:\u003C\u002Fp\u003E\n\u003Cpre\u003E<meta name="generator" content="WordPress 4.3.1" \u002F>\u003C\u002Fpre\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"https:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwordpress-version-meta-tag.jpg\" alt=\"WordPress Version info inside the meta tag\"\u002F\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003Cp\u003EThis extra information about CMS version is added by WordPress itself in order to keep track of the sites that make use of it.\u003C\u002Fp\u003E\n\u003Cp\u003EBut for security sake, you may not want this particular info to show up in the source of your WordPress site, as it will simply let the people know what version of WordPress your site is making use of. Now, you can imagine about the goods and bads of it.\u003C\u002Fp\u003E\n\u003Ch2\u003EWordPress Action to remove version meta\u003C\u002Fh2\u003E\n\u003Cp\u003EWe do have an action that may help us to turn-off adding of WordPress generator tag in the head section. Adding the below code in your theme’s \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and saving changes will remove that version meta info:\u003C\u002Fp\u003E\n\u003Cpre\u003Eremove_action( 'wp_head', 'wp_generator' );\u003C\u002Fpre\u003E\n\u003Cp\u003EHope you find this useful!\u003C\u002Fp\u003E",formatted_content_ad:"\u003Cp\u003EWordPress automatically adds its current Version number to the head section of \u003Ca href=\"https:\u002F\u002Fwpcrux.com\u002Fblog\u002Fwhere-to-buy-wordpress-themes\"\u003Ethe themes\u003C\u002Fa\u003E. If you view the source of a WordPress-based website, you may find out the WordPress version it is using.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow given is the meta tag that carries that version information and can be spotted when you right-click and view source of a WordPress site:\u003C\u002Fp\u003E\n\u003Cpre\u003E<meta name="generator" content="WordPress 4.3.1" \u002F>\u003C\u002Fpre\u003E\n\u003Cfigure\u003E\n\u003Cimg src=\"https:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fwordpress-version-meta-tag.jpg\" alt=\"WordPress Version info inside the meta tag\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003Cbr\u002F\u003E\n\u003C\u002Ffigure\u003E\n\u003Cp\u003EThis extra information about CMS version is added by WordPress itself in order to keep track of the sites that make use of it.\u003C\u002Fp\u003E\n\u003Cp\u003EBut for security sake, you may not want this particular info to show up in the source of your WordPress site, as it will simply let the people know what version of WordPress your site is making use of. Now, you can imagine about the goods and bads of it.\u003C\u002Fp\u003E\n\u003Ch2\u003EWordPress Action to remove version meta\u003C\u002Fh2\u003E\n\u003Cp\u003EWe do have an action that may help us to turn-off adding of WordPress generator tag in the head section. Adding the below code in your theme’s \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and saving changes will remove that version meta info:\u003C\u002Fp\u003E\n\u003Cpre\u003Eremove_action( 'wp_head', 'wp_generator' );\u003C\u002Fpre\u003E\n\u003Cp\u003EHope you find this useful!\u003C\u002Fp\u003E",category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"remove-wordpress-version-number-from-head",image:a,hash_tags:[l,e,ay,"number",Y,j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"How to: Remove WordPress Version Number from Head",meta_description:"A short yet handy code snippet to stop the WordPress Version meta information from getting added in the head section.",created:Z,updated:"2023-10-16T07:37:14Z"},{id:64244,title:"Exclude Pages from WordPress Search Results",summary:"The native WordPress search feature by default displays pages in the search results. The feature is meant for site-wide searches, but could be annoying to users who just want to display only the posts in the search results.\nI have this small code snippet working for me from day one to exclude pages from the searches. It goes in the functions.php file of your WordPress theme:\nfunction search_tweak( $query ) {\n if( $query->is_search ) {\n $query->set( 'post_type', 'post&...",content:aE,content_ad:aE,formatted_content:aF,formatted_content_ad:aF,category:{id:g,name:h,meta_title:a,meta_description:a,order:c,children:f,description:a,slug:i},slug:"exclude-pages-from-wordpress-search-results",image:a,hash_tags:[e,"search","results","result","exclude",j],active:d,nofollow:b,allow_comments:b,no_ad:b,meta_title:"How to: Exclude Pages from WordPress Search Results",meta_description:"Quick WordPress code snippet to remove pages from WordPress search feature.",created:"2020-12-10T09:26:01Z",updated:"2023-10-17T13:32:26Z"}]}],fetch:{},error:f,state:{loading:c,settings:{id:aG,name:y,domain:"wpcrux.com",port:80,plan:k,add_source:k,add_source_text:aH,forum_active:b,footer_code:"\u003C!-- Yandex.Metrika counter --\u003E\n\u003Cscript type=\"text\u002Fjavascript\" \u003E\n (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};\n m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})\n (window, document, \"script\", \"https:\u002F\u002Fmc.yandex.ru\u002Fmetrika\u002Ftag.js\", \"ym\");\n\n ym(70412614, \"init\", {\n clickmap:true,\n trackLinks:true,\n accurateTrackBounce:true\n });\n\u003C\u002Fscript\u003E\n\u003Cnoscript\u003E\u003Cdiv\u003E\u003Cimg src=\"https:\u002F\u002Fmc.yandex.ru\u002Fwatch\u002F70412614\" style=\"position:absolute; left:-9999px;\" alt=\"\" \u002F\u003E\u003C\u002Fdiv\u003E\u003C\u002Fnoscript\u003E\n\u003C!-- \u002FYandex.Metrika counter --\u003E\n\n\u003Cscript data-ad-client=\"ca-pub-4833888168110763\" async src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E",scrollable_pagination:c,add_watermark:c,add_watermark_position:c,hash:"169cba5e-b8ab-45bd-a57d-4efbb973a779",robots_txt:"User-agent: *\nDisallow: \u002Fsearch\nDisallow: \u002Fadmin\nDisallow: \u002Fprofile\nDisallow: \u002Flogin\nDisallow: \u002Fregister\n\nSitemap: https:\u002F\u002Fwpcrux.com\u002Fsitemap.xml",locale:"en",meta_title:y,modules:[{uuid:"52f05b96-2b7a-11eb-943e-6a24baf8d0e4",path:"amazon",name:"Amazon",active:d},{uuid:"39e96103-3de3-11eb-9b32-86f43b04e535",path:"tinysrc",name:"TinySRC",active:d},{uuid:"cc863ba7-13bd-11ed-a99e-8ebf5783113d",path:aI,name:"mywebforum.com",active:d},{uuid:"7671225a-2f09-11ee-9f18-9ac8ad3607b3",path:"openai",name:"OpenAI",active:b}],favicon_png:"\u002Ffavicon.png",favicon_ico:a,custom_css:".v-card__text.post-text p{\n margin: 10px 0 !important;\n}\n\n.v-card__text.post-text pre{\n background: #f4f4f4;\n border: 1px solid #ddd;\n border-left: 3px solid #f36d33;\n color: #666;\n page-break-inside: avoid;\n font-family: monospace;\n font-size: 15px;\n line-height: 1.6;\n margin-bottom: 1.6em;\n max-width: 100%;\n overflow: auto;\n padding: 1em 1.5em;\n display: block;\n word-wrap: break-word;\n}\n\n.v-card__text.post-text code{\n padding: 0;\n}\n\n.rating-text img{\n max-height: 150px !important;\n max-width: 190px !important;\n}\n\n\n.rating-text .row .d-flex \u003E div{\n text-align: center;\n}\n",meta_description:y,description:y,logo:"logo\u002F99cc33.png",activation:"email"},layout:{id:aG,is_dark:c,name:aq,page_transition:"fade",background:"background\u002F1.png",code_theme:"monokai",background_full:b,background_color:a,text_color:a,text_font_family:"'Roboto', sans-serif",primary_color:m,secondary_color:"#424242",accent_color:m,info_color:m,success_color:m,error_color:m,warning_color:m},menus:[],isFooterVisible:b,showAd:b,cdnUrl:"https:\u002F\u002Fblogweb-static.fra1.cdn.digitaloceanspaces.com",metaOg:{title:a,url:a,type:a,image:a,description:a,site_name:a},ad:[{id:aJ,name:"Own Domain",css_selector:a,position:k,one_time:b,show_every:c,code:"\u003Ca href=\"https:\u002F\u002Fgosrc.cc\u002Fgo\u002FWRgYP5UIg\"\u003E\u003Cimg src=\"https:\u002F\u002Fweb-platforms.sfo2.cdn.digitaloceanspaces.com\u002FWWW\u002FBadge%201.svg\" target=\"_blank\" alt=\"DigitalOcean Referral Badge\" \u002F\u003E\u003C\u002Fa\u003E",active:d,free:d},{id:43,name:aK,css_selector:a,position:X,one_time:b,show_every:c,code:_,active:d,free:b},{id:44,name:"Post",css_selector:"p",position:aL,one_time:b,show_every:10,code:_,active:d,free:b},{id:45,name:aM,css_selector:"img",position:aL,one_time:d,show_every:c,code:_,active:d,free:b},{id:46,name:"category",css_selector:a,position:3,one_time:b,show_every:4,code:"\u003Cscript async src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003Cins class=\"adsbygoogle\"\n style=\"display:block\"\n data-ad-format=\"fluid\"\n data-ad-layout-key=\"-fb+5w+4e-db+86\"\n data-ad-client=\"ca-pub-4833888168110763\"\n data-ad-slot=\"6637691192\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E",active:d,free:b},{id:149,name:"under menu",css_selector:a,position:aN,one_time:b,show_every:c,code:"\u003Cscript async src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js?client=ca-pub-4833888168110763\"\n crossorigin=\"anonymous\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux undr menu --\u003E\n\u003Cins class=\"adsbygoogle\"\n style=\"display:block\"\n data-ad-client=\"ca-pub-4833888168110763\"\n data-ad-slot=\"5129919086\"\n data-ad-format=\"auto\"\n data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E",active:d,free:b}],forum:{domain:"devhubby.com",header:"Forum Posts",position:aN,active:d,threads:[{id:195024,name:"How to speed up an animation in matplotlib?",username:aO,user_avatar:aP,role:o,message:aQ,formatted_message:aQ,category:z,category_slug:A,category_id:B,is_moderated:d,posts:k,likes:7,dislikes:c,slug:"how-to-speed-up-an-animation-in-matplotlib",created:"2024-09-07T13:09:49Z",is_closed:b,is_pinned:b},{id:195023,name:"How to put arrows on matplotlib graph?",username:"alford",user_avatar:"avatar\u002Falford\u002F76-2 (1).jpg",role:o,message:aR,formatted_message:aR,category:z,category_slug:A,category_id:B,is_moderated:d,posts:k,likes:aJ,dislikes:c,slug:"how-to-put-arrows-on-matplotlib-graph",created:"2024-09-07T12:32:41Z",is_closed:b,is_pinned:b},{id:195022,name:"How to \"stack\" matplotlib figures?",username:"kyla.kuvalis",user_avatar:"avatar\u002Fkyla.kuvalis\u002F2-2.jpg",role:o,message:aS,formatted_message:aS,category:z,category_slug:A,category_id:B,is_moderated:d,posts:k,likes:aT,dislikes:c,slug:"how-to-stack-matplotlib-figures",created:"2024-09-07T11:55:43Z",is_closed:b,is_pinned:b},{id:195021,name:"How to change histogram color based on x-axis in matplotlib?",username:aO,user_avatar:aP,role:o,message:aU,formatted_message:aU,category:z,category_slug:A,category_id:B,is_moderated:d,posts:k,likes:aT,dislikes:c,slug:"how-to-change-histogram-color-based-on-x-axis-in",created:"2024-09-07T11:18:41Z",is_closed:b,is_pinned:b},{id:115018,name:"How to disable remote access to PostgreSQL?",username:"jeanie_reilly",user_avatar:"avatar\u002Fjeanie_reilly\u002F897073174.jpg",role:o,message:aV,formatted_message:aV,category:"SQL",category_slug:"sql",category_id:34529,is_moderated:d,posts:X,likes:14,dislikes:c,slug:"how-to-disable-remote-access-to-postgresql",created:"2023-03-29T07:12:51Z",is_closed:b,is_pinned:b}],total:29642},author:{},profileStats:{fetched:b,personalMessages:c},stats:{fetched:b,threads:c,comments:c,posts:c},breadcrumbs:[{text:$,disabled:b,href:aa},{text:e,disabled:d}],i18n:{routeParams:{}},auth:{user:f,loggedIn:b,strategy:"local"}},serverRendered:d,routePath:"\u002Fblog\u002Ftag\u002Fblog",config:{_app:{basePath:aa,assetsPath:aa,cdnURL:"https:\u002F\u002Fpub-420acf56315e422bbbdab07717bee8cd.r2.dev\u002Fassets\u002F0.1\u002F"}},__i18n:{langs:{en:{common:{common_badge_blog:e,common_badge_page:"page",common_badge_post:aI,check_internet_connection:"You are offline! Check your internet connection.",score:"Score",open:"Open",got_it:"Got it",links_posted:aW,our_privacy:"See our Privacy Policy",cookie_text:"This site uses cookies to ensure you get the best experience. By clicking \"Got it\" or continuing to browse the website, you are agreeing to our use of cookies.",no_transition:"No Transition",mail_services:"Mail Services",not_available_this_plan:"Not available in this plan! Please upgrade your plan.",free_files:"The current plan has a limit 10 files",confirm_email_text:"We just sent an email to you with the confirmation code. Please put the confirmation code in field below.",main_top_ad:"Ad in all pages on the top",main_bottom_ad:"Ad in all pages on the bottom",blog_in_category_ad:"Ad in blog category",max_tag_reached:"Max Count of Tags Reached",last_threads:"Latest Threads",count_comments:"Blog Comments",blog_post_top_ad:"Ad in blog post on the top",blog_post_bottom_ad:"Ad in blog post on the bottom",blog_in_comment:"Ad in blog comment",blog_in_post_ad:"Ad in blog post",forum_in_thread_ad:"Ad in forum thread",forum_in_post_ad:"Ad in forum post",sliding_ad:"Sliding Ad on all pages",page_ad:"Ad on the page",sidebar_under_menu:"Left sidebar under menu",read_time:"read",site_is_not_ready:"You site is not ready yet",security_limit:"You can configure limit per IP to prevent any spam and bot messages. If not limit set it 0.",thanks_choosing_us:"Thank you for giving us the opportunity to serve you",register_site_first:"You need register your site first at",create_forum:"create a blog",create_forum_free:"free blog",create_forum_free_text:"Get Your Own",support_text:"support forum",post_subject:aX,how_to_create_text:"If you have any question about our platform - you can easily ask us. We are always ready to help you by contact form or by our",subcategory:"Subcategories",category:ab,main_page:"Main Page",banned:"Banned User",no_banned:"Not Banned User",new_message:"New",not_read:"Not Read",spam:"Spam",trusted:aY,no_comments:"No comments",no_trusted:"Common User",security_questions:"Registration Questions",security_questions_descr:"Registration Questions help you protect your system from bot. We will randomly show user question before registration and he can continue if answer right on this question.",nice_to_see_you:"Nice to see you again",records_not_found:"No records found",not_found:"There were no results for your search.",not_authorized:"Sign in to you account",account:"Account",last_message:" Last Reply ",from:" from ",thanks_confirming:"Thank you for using our service. Account successfully confirmed!",thanks_confirming_details:"You can use your credentials to login into system",mail_settings_valid:"Congratulations! Mail Settings verified successfully and ready to use",terms:"Terms & Conditions",privacy:"Privacy Policy",accept_terms:"I Agree to the Terms and Conditions",need_accept_terms:"You must agree to the Terms and Conditions in order to register",copyright_text:"This Site is Created By",security_messages:"Secure messages",na:"N\u002FA",active:aZ,no_active:"Inactive",attention:"Attention!",count_topics:a_,need_moderation:"Approve message",no_data:"No data",no_files:"No files",no_records:"No records",no_messages:"No messages",count_messages:C,menu:p,search:D,action:"Action",pin_topic:"Pin topic",unpin_topic:"Unpin topic",existing_client:"Existing user? Sign In",close_topic:"Close topic",open_topic:"Open topic",rows_per_page:"Rows per page",top_menu:"Top menu",bottom_menu:"Bottom menu",waiting_approval:"Waiting approval",second:"Second",minute:"Minute",hour:"Hour",message:C,messages:C,topic_closed:"Topic closed",important_topic:"Important topic",threads:"Threads"},animation:{default_fade:"Default Fade",fade_up:"Fade Up",fade_right:"Fade Right",fade_down:"Fade Down",fade_left:"Fade Left",rotate:"Rotate",rotate_down_left:"Rotate Down Left",rotate_down_right:"Rotate Down Right",rotate_up_left:"Rotate Up Left",rotate_up_right:"Rotate Up Right",slide_down:"Slide Down",slide_left:"Slide Left",slide_right:"Slide Right",slide_up:"Slide Up",flip:"Flip",flip_x:"Flip X",flip_y:"Flip Y",zoom:"Zoom",zoom_down:"Zoom Down",zoom_left:"Zoom Left",zoom_right:"Zoom Right",zoom_up:"Zoom Up",light_speed:"Light Speed",bounce:"Bounce",bounce_down:"Bounce Down",bounce_left:"Bounce Left",bounce_right:"Bounce Right",bounce_up:"Bounce Up"},mail:{other:"Other",gmail:"Gmail",yandex:"Yandex",yahoo:"Yahoo",mail:"Mail.ru",rambler:"Rambler",bing:"Bing",outlook:"Outlook",aol:"AOL"},tabs:{settings_dashboard:a$,keywords_dashboard:"Keyword Dashboard",modules:q,inbox_pm:"Inbox",sent_pm:"Sent",moderator_main:"Statistic",moderator_threads:ba,links_settings:"Auto Linker",hash_tags_settings:ac,moderator_users:E,export_settings:r,moderator_posts:F,moderator_comments:G,blog_settings:H,privacy_settings:I,ad_settings:J,author_settings:bb,file_settings:s,my_profile_stat:"My Statistics",main_settings:a$,mail_settings:K,layout_settings:L,forum_settings:ad,member_settings:bc,page_settings:M,menu_settings:"Menu Settings",social_settings:N,security_settings:O,profile:"Profile",messages:C,redirect_settings:ae,topics:a_},modals:{ask_ai:bd,new_pm:"Compose Message",delete_link:"Are you sure you want to delete this link?",delete_link_confirm:"Please confirm that you want to delete this link",delete_tag:"Are you sure you want to delete this hash tag?",delete_tag_confirm:"Please confirm that you want to delete this hash tag",delete_user:"Are you sure you want to delete this user?",delete_file:"Are you sure you want to delete this file?",delete_file_confirm:"Please confirm that you want to delete this file",delete_user_confirm:"Please confirm that you want to delete this user",delete_thread:"Are you sure you want to delete this thread?",delete_thread_confirm:"Please confirm that you want to delete this thread",delete_ad:"Are you sure you want to delete this Ad?",delete_ad_confirm:"Please confirm that you want to delete this Ad",delete_blog_content:"Are you sure you want to delete this post?",delete_blog_content_confirm:"Please confirm that you want to delete this post",delete_blog_comment:"Are you sure you want to delete this comment?",delete_blog_comment_confirm:"Please confirm that you want to delete this comment",delete_all_blog_comments_text:"Are you sure you want to delete all comments?",delete_all_blog_comments_text_confirm:"Please confirm that you want to delete all comments",delete_blog_category:be,delete_blog_category_confirm:"Please confirm that you want to delete this category and related subcategories, posts.",delete_redirect:"Are you sure you want to delete this redirect?",delete_redirect_confirm:"Please confirm that you want to delete this redirect link.",delete_category:be,delete_category_confirm:"Please confirm that you want to delete this category and related subcategories, threads, posts.",delete_menu:"Are you sure you want to delete this menu link?",delete_menu_confirm:"Please confirm that you want to delete this menu link.",delete_page:"Are you sure you want to delete this page?",delete_page_confirm:"Please confirm that you want to delete this page.",delete_message:"Are you sure you want to delete this message?",delete_message_confirm:"Please confirm that you want to delete this message.",delete_topic:"Are you sure you want to delete this topic?",delete_topic_confirm:"Please confirm that you want to delete this topic and related posts.",delete_all_topic_message:"Are you sure you want to delete all messages?",delete_all_topic_message_confirm:"Please confirm that you want to delete all messages",delete_all_topic_text:"Are you sure you want to delete all topics?",delete_all_topic_text_confirm:"Please confirm that you want to delete all topics"},errors:{page_not_found:"Page not found",other_error:"Error happened"},toasts:{email_sent:"Confirmation Code Sent to Email",vote_review:"We will review it and update rating",already_voted:"You have already voted",logout:"You successfully logged out",category_created:"Category successfully created!",category_updated:"Category successfully updated!",ad_created:"Ad successfully created!",ad_updated:"Ad successfully updated!",menu_created:"Menu link successfully created!",menu_updated:"Menu link successfully updated!",page_created:"Page successfully created!",page_updated:"Page successfully updated!",register_successfully:"You have successfully registered",confirm_email:"Please confirm your email address",comments_waiting_approval:"Comments waiting approval:",posts_waiting_approval:"Posts waiting approval:",users_waiting_approval:"Users waiting approval:",threads_waiting_approval:"Threads waiting approval:",favicon_updated:"Favicon successfully updated",background_updated:"Background successfully updated",select_logo:"Please select logo",select_favicon:"Please select favicon",logo_updated:"Logo successfully updated",profile_updated:"Profile successfully updated",avatar_updated:"Avatar successfully updated",select_avatar:"Please select image file",select_background:"Please select background image file",auth_success:"Logged in successfully",settings_success:"Settings successfully updated",terms_success:"Terms successfully updated",message_send:"Message has been sent",created:bf,updated:"Updated",password_changed:"Password changed successfully",record_created:bf,deleted:"Deleted",success:"Success",error:"Error happened."},titles:{link_settings:af,link_keywords:ag,content_rating:P,modules:q,forum_home:ah,search:D,author:Q,confirm_account:bg,how_to_create:"How To Create Your Own Free Forum",category_settings:bh,edit_member:ai,export_settings:r,file_settings:s,blog_settings:H,ad_settings:J,blog_content:R,blog_category:t,blog:S,my_pm:T,view_pm:aj,members:bi,redirects:ae,menu:p,pages:M,layout_settings:L,social_settings:N,security_settings:O,terms_settings:I,mail_settings:K,admin_index:U,moderator_index:V,moderator_comments:G,moderator_threads:bj,moderator_users:E,moderator_posts:F,change_password:u,view_profile:"user profile",my_profile:ak,register:bk,login:v,restore_password:w,contact_us:W},descriptions:{link_keywords:ag,link_settings:af,content_rating:P,modules:q,author:Q,forum_home:ah,confirm_account:bg,how_to_create:"How To Create Your Own Free Blog. If you need a free modern blog - you can create it right now.",category_settings:bh,export_settings:r,edit_member:ai,moderator_index:V,file_settings:s,moderator_comments:G,moderator_threads:bj,moderator_users:E,moderator_posts:F,ad_settings:J,blog_settings:H,my_pm:T,view_pm:aj,blog:S,blog_category:t,blog_content:R,members:bi,redirects:ae,menu:p,terms_settings:I,layout_settings:L,pages:M,social_settings:N,security_settings:O,admin_index:U,mail_settings:K,change_password:u,view_profile:"user profile. Contacts, messages, topics.",my_profile:ak,register:bk,login:v,restore_password:w,contact_us:"You can always send us message and we always ready to help. "},activations:{email:"Email confirmation required",manually:"Manually by admin\u002Fmoderator",automatically:"Automatically, after registration"},toc:{disabled:"No Active",top:aM,bottom:aK},author:{rating:"Author Rating",author:Q,rank_author:"Your Rate?",articles:"Articles",author_page:"About Author"},export:{yes:"Yes",no:"No",blog_category:t,blog:"Blog Posts",forum:ad,profile:"Profiles"},chudoshop:{name:n,commission:"Commission",category:ab,description:al,product_code:"Product Code",manufacturer:"Manufacturer",picture:am,price:an},amazon:{price:an,picture:am,thumbnail:"Thumbnail",features:"Features",name:n,product_url:"Product Url",product_group:"Product Group",brand:"Brand",model:bl,url:"Url",original_picture:"OriginalPicture"},gde_slon:{price:an,vendor:"Vendor",model:bl,charge:"Charge",picture:am,name:n,description:al},watermark:{center:"Center",top_left:"Top-Left Corner",top_right:"Top-Right Corner",bottom_left:"Bottom-Left Corner",bottom_right:"Bottom-Right Corner"},forms:{url:"URL",links_posted:aW,keyword:"Keyword",max_links:"Max Links",nofollow_link:"Nofollow Link",max_links_per_article:"Max Links in One Article",frequency_between_links:"Characters between links",exclude_html_tags:"Exclude links in HTML tags(comma-separated)",hash_tag:"Hash Tag",meta_title:"Meta Title",meta_description:"Meta Description",ai_question:ao,openai_setting:"OpenAI Settings",generate_tags:"Auto Generate Tags",generate_image:"Generate Image",code_theme:"Code Editor Theme:",add_watermark:"Add Watermark to Images?",add_watermark_position:"Watermark Position",move_to_category:"Move Threads and Messages to Category",blog_move_to_category:"Move Content to Category",scrollable_pagination:"Scrollable pagination",category:"Category:",call_to_action_as_image:"Make it as image",chudoshop_setting:"Chudoshop Settings",header_text:"Block label",forum_domain:"Forum URL",forum_setting:bm,count_threads:"Count of Threads",tinysrc_setting:"TinySRC Settings",amazon_setting:"Amazon Settings",role:bn,hash_tags:"Tags",partner_tag:"Partner Tag",confirm_your_email:"Confirm your email",access_key:"Access Key",secret_key:"Secret Key",toc_collapse:"Toc Collapsable",api_key:bo,call_to_action_text:"Call To Action Text",default_call_to_action_text:"Visit Site",gde_slon_lookup:"Gde Slon Lookup",amazon_lookup:"Amazon Lookup",chudoshop_lookup:"Chudoshop Lookup",unselect:"Unselect",select:"Select",gde_slon_query:bp,chudoshop_query:bp,gde_slon:"Gde Slon Settings",module_name:"Название модуля",add_source:"Add Source Whenever Copy Text?",add_source_text:"Text:",default_add_source_text:aH,background_full:"Full Screen Image",notifications:"Notifications",to_username:"To",insert_code:"Code Block",page_transition:"Page Transition",review_link:"Review Link",rating:"Rating",benefits:"Benefits",disadvantages:"Disadvantages",author:Q,cross_link:"Articles:",facebook:"Facebook",twitter:"Twitter",vkontakte:"VK",add_link:"Add Link",subject:"Subject",no_ad:"No Ad in this post",allow_comments:"Allow Comments",max_length:"Max XX characters",custom_css:"Custom CSS",security_question_question:ao,is_related_post:"Enable Related Posts",related_post:"Count of Related Posts",is_related_thread:"Enable Related Threads",related_thread:"Count of Related Threads",from_name:"From:",to_name:"To:",created_date:"Created at",status:"Status",export_data:"export data",export_data_deleted:"Unfortunately export deleted because we store it just in 3 days. If you need fresh data please create a new request.",export_data_deleted_short:"Unfortunately export deleted",export_settings:"Export Settings",security_question_answer:"Answer",messages_before_auto_approved:"How many approved messages for new clients",mark_uncertain_messages:"Moderate manually uncertain messages",thread_limit:"Thread limit",directory_name:"Directory name",nofollow:"Add for links rel=nofollow",blog_social_sizes:"Icon Size",notify_on_moderation:"Notify me about messages\u002Fthreads on moderation",directory:"Directory",summary:"Summary",banned:"Banned",robots_txt:"Robots.txt",toc:aX,one_time:"Show one time",show_every:"Show every",css_selector:"CSS selector",code:"Code",file:"File",question:ao,answer:"You answer",thread_limit_type:"Thread limit by",register_limit_type:"Register limit",trusted:aY,edit_profile:bq,post_limit:"Post limit",post_limit_type:"Post limit by",category_name:"Category name",category_description:"Category Description",blog_category:ab,text_font_family:"Font Family",add_in_menu:"Add In Menu",avatar:"Avatar",template:"Template",old_url:"Old URL",new_url:"New URL",image:br,is_dark:"Dark Mode",logo:"Logo",topic_name:bs,open_new_tab:"Open in new tab",no_index:"Noindex page by google, bing, yahoo etc...",text_link:"Link text",select_page:"Select page",select_manually:"Manually",parent_category:"Parent Category",link:"Link",name:n,encryption:"Encryption",host:"Host",port:"Port",user:bt,page:"Page",position:"Position",type_background:"Background",no_background:"None",background_color:"Color",background_image:br,activation:"Activate new members",password:"Password",new_password:"New password",confirm_password:"Confirm password",username:bt,firstname:"First name",favicon:"Favicon",favicon_png:"Favicon PNG",forum_name:n,active:aZ,page_name:n,forum_description:al,footer_code:"Footer custom code (ex. google analytics code)",lastname:"Last name",update:bu,email:"Email",company:"Company",message:"Message",text:"Text"},social_size:{small:"Small",medium:"Medium",large:"Large"},buttons:{generate_meta_description:"Generate Meta Description",generate_meta_title:"Generate Meta Title",edit_keyword:"Edit Keyword",new_keyword:"Add Keyword",edit_hash_tag:"Edit Hash Tag",new_hash_tag:"Add Hash Tag",insert_into_content:"Add To Article",duplicate:"Duplicate",tinysrc_all:"Shortener All URLs",ask:"Ask",ask_ai:bd,become_partner:"Become a partner",capitalize:"Capitalize",tinysrc:"Shortener URL",chudoshop:"From Chudoshop",resend_code:"Resend Code",confirm_email:"Confirm Email",amazon:"From Amazon",gde_slon:"From Gde Slon",api_key:bo,settings:"Module Settings",copy:"Copy",new_content_rating:"New Rating",edit_content_rating:"Edit Rating",moderate:"Moderator",content_rating:P,add_redirect:"New Redirect",edit_redirect:"Edit Redirect",new_author:"Add Author",edit_author:"Edit Author",add_ad:bv,edit_ad:"Edit Ad",new_ad:bv,new_file:"New File",deactivate:"Deactivate",activate:"Activate",unbanned:"Unbanned",new_comment:"New Comment",show_more:"Show More",search_more:"Search More",delete_all_comments:"Delete All Comments",bann:bw,new_pm:"Compose",spam:"Mark As Spam",blog_social_share:"Social Share Buttons",new_export:bx,export_data:bx,new_directory:"New Directory",upload_file:"Upload File",upload_directory:"Create folder",edit_category:by,edit_thread:"Edit Thread",add_category:bz,add_menu_link:bA,blog_category:t,blog_content:R,edit_menu_link:"Edit link",new_menu:bA,validate_mail_settings:"Validate",new_page:"New Page",read:"Read More",new_blog_category:bz,edit_blog_category:by,new_blog_content:"New Post",edit_blog_content:"Edit Post",edit_page:"Edit Page",upload_avatar:"Upload avatar",upload_logo:"Upload Logo",upload_favicon:"Upload Favicon",upload_favicon_png:"Upload Favicon PNG",topic_name:bs,contact_us:W,home:$,upload_background:"Upload background image",ban:bw,unban:"Unban",delete_all_topic:"Delete all topics",delete_all_messages:"Delete all messages",admin:"Admin Dashboard",profile:bB,signin:"Sign In",register:ap,change_password:u,role:bn,logout:"Logout",reply:"Reply to this topic",reply_pm:"Reply",edit_post:"Edit post",new_post:"Add message",save:"Save",edit:"Edit",new_message:"New message",restore_password:w,remove:"Remove",login:v,close:"Close",add:"Add",update:bu,delete:"Delete",reset:"Reset Color Schema",send:"Send",clear:"Clear"},headers:{admin_hash_tags:ac,admin_keywords:ag,search:D,admin_modules:q,forum_home:ah,related_post:"Related Posts",comments:"Comments",related_thread:"Related Threads",edit_profile:bq,admin_members:"Users",export_settings:r,select_export:"Please select export settings",posts_on_moderation:"Posts on moderation",comments_on_moderation:"Comments on moderation",threads_on_moderation:"Threads on moderation",users_on_moderation:"Users on moderation",moderator_home:V,my_pm:T,moderator_index:"Statistics",admin_home:U,blog:S,change_password:u,admin_redirects:"List of Redirect",admin_ad:"List of Ads",file_settings:s,view_profile:"User profile",color_settings:"Theme Color Settings",primary_color:"Primary Color",secondary_color:"Secondary Color",accent_color:"Accent Color",info_color:"Info Color",success_color:"Success Color",error_color:"Error Color",warning_color:"Warning Color",my_profile:ak,register:ap,menu:p,follow_us:"Follow us",about_us:"About us",login:v,restore_password:w,contact_us:W},breadcrumbs:{hash_tag_settings:ac,link_settings:af,content_rating:P,modules:q,author:bb,menu_home:p,export_settings:r,confirm_account:"Account confirmation",blog_home:S,search:D,forum_home:ad,pm:T,view_pm:aj,blog_content:R,blog_settings:H,ad_settings:J,file_settings:s,privacy_settings:I,forum_settings:bm,mail_settings:K,layout_settings:L,redirects:"Redirects",blog_categories:t,edit_member:ai,members:bc,pages:M,social_settings:N,security_settings:O,admin_index:U,moderator_comments:G,moderator_threads:ba,moderator_posts:F,moderator_users:E,moderator_index:V,change_password:u,home:$,view_profile:"User Profile",my_profile:bB,login:v,register:ap,contact_us:W,restore_password:w}}}}}}("",false,0,true,"blog",null,1361,"Snippets","snippets","blogweb",1,"wordpress","#99CC33","Name","Member","Menu","Modules","Export","File Settings","Blog Category","Change password","Login","Restore password","\u003Cp\u003EThe load time of a website is one of the most important factors that should be considered for better \u003Cabbr title=\"Search Engine Optimization\"\u003ESEO\u003C\u002Fabbr\u003E and User experience optimization. It’s the total time a website takes to load into the browser.\u003C\u002Fp\u003E\n\u003Cp\u003ELesser the loading time, better will your site be scoring on searches and \u003Cabbr title=\"User Experience\"\u003EUX\u003C\u002Fabbr\u003E. Speed matters!\u003C\u002Fp\u003E\n\u003Cp\u003EWith WordPress, it’s quite easy to mess up with the load time of your site. Within the activation of 2 new plugins and 1 new theme, there are 70% chances that the load time of your WordPress site may increase. And you don’t even realize sometimes what went wrong.\u003C\u002Fp\u003E\n\u003Cp\u003EBut there are ways to fix it up quickly.\u003C\u002Fp\u003E\n\u003Ch2\u003E5 minutes to speed-up a WordPress site\u003C\u002Fh2\u003E\n\u003Cp\u003EHere is a to-do list that I always follow for speed optimization of my WordPress blogs. These are nothing but a few immediate actions you should perform to lower down the load time of your WordPress site. (Would hardly take 5 minutes)\u003C\u002Fp\u003E\n\u003Col\u003E\n\u003Cli\u003E\u003Cb\u003ESwitch to a light-weight theme:\u003C\u002Fb\u003E A light theme takes less time to load in the browser. Two things that you should consider while choosing a light theme are low number of graphics and less styles and scripts.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Cb\u003EAvoid unnecessary plugins:\u003C\u002Fb\u003E Plugins have been powering WordPress from the beginning and have their own importance, but using a lot may create more server requests which slows down the overall site. So you should pick the very important ones only and avoid stacking useless plugins.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Cb\u003EUse a Caching plugin:\u003C\u002Fb\u003E A WordPress caching plugin generates static HTML files from your dynamic WordPress blog on your web server and serves those files instead of processing the comparatively heavier and more expensive WordPress PHP scripts on further requests. You may try \u003Ca href=\"http:\u002F\u002Fwordpress.org\u002Fextend\u002Fplugins\u002Fw3-total-cache\u002F\"\u003EW3 Total Cache\u003C\u002Fa\u003E or \u003Ca href=\"http:\u002F\u002Fwordpress.org\u002Fextend\u002Fplugins\u002Fwp-super-cache\u002F\"\u003EWP Super Cache\u003C\u002Fa\u003E to make your WordPress blog Cache enabled.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Cb\u003EMinify Code:\u003C\u002Fb\u003E By Minify, we mean compressing files. Most of the caching plugins, especially the two I mentioned above, already provide the minify feature. but for those who haven’t planned to install a cache plugin but still want to minify their JS and CSS files, should use \u003Ca href=\"http:\u002F\u002Fwordpress.org\u002Fextend\u002Fplugins\u002Fwp-minify\u002F\"\u003EWP Minify\u003C\u002Fa\u003E.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Cb\u003EUpdate WordPress regularly:\u003C\u002Fb\u003E Every new version of WordPress comes with the new improved features and bug-fixes. If you are not updating your WordPress, you might be missing some new and improved features, which may help you make your website more fast and efficient. So, keep updating WordPress, plugins as well as the themes you use.\u003C\u002Fli\u003E\n\u003C\u002Fol\u003E\n\u003Ch3\u003ETo make it blazing fast…\u003C\u002Fh3\u003E\n\u003Cp\u003EFurther you should improve the technology behind your site for more improved load times. Below are some pin-points from my side:\u003C\u002Fp\u003E\n\u003Col\u003E\n\u003Cli\u003E\u003Cb\u003EChoose a better Web hosting\u003C\u002Fb\u003E: Look for the Web host that provides servers with quick response times and gzip compression for files.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Cb\u003EOptimize your images:\u003C\u002Fb\u003E Images optimized for web are lighter and load faster. Make sure you optimize the images that you use in your blog posts or logo or widget areas.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Cb\u003EUse a \u003Cabbr title=\"Content Delivery Network\"\u003ECDN\u003C\u002Fabbr\u003E:\u003C\u002Fb\u003E A CDN provides different server nodes across the globe where it makes secured and synchronized copies of your WordPress blog. Now each time when your CDN powered website is requested, the content will be fetched from the nearest CDN node, not from the actual Server location. This will result in a fast loading website. This is a big level thing, so you have to decide whether you need a CDN right now or not.\u003C\u002Fli\u003E\n\u003C\u002Fol\u003E\n\u003Cp\u003EOn top of all that, you may hire a Web developer to optimize the code, remove the bloats, install and configure important plugins and CDN for you, but always avoid over-optimizing your sites. Hope you found this useful, good time :)\u003C\u002Fp\u003E","WPCrux - Cool WordPress Resources","Python","python",34533,"Messages","Search","Moderate Users","Moderate Posts","Moderate Comments","Blog Settings","Privacy Settings","Ad Settings","Mail Settings","Layout Settings","Pages","Social Settings","Security Settings","Ratings","Author","Blog Content","Blog","Personal Messages","Admin dashboard","Moderator dashboard","Contact us",2,"contentmanagementsystem","2020-12-10T09:26:03Z","\u003Cscript async src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\"\n style=\"display:block\"\n data-ad-client=\"ca-pub-4833888168110763\"\n data-ad-slot=\"7950772867\"\n data-ad-format=\"auto\"\n data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E","Home","\u002F","Category","Hash Tags","Forum","Redirect","Auto Linker Settings","Keywords List","Community Forum","Edit User Details","View Message","My Profile","Description","Picture","Price","Question","Sign Up","default","\u003Cp\u003EIt’s so common on the internet to have your content stolen. People often scrape your entire hard-worked content and put it over on their sites. That includes image hotlinking too, when the images hosted on the web server paid by you, being used by someone else.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you use WordPress to publish your content, you can easily enable image hotlinking protection on your WordPress-powered site. This post is all about guiding you to protect your images from being stolen like that.\u003C\u002Fp\u003E\n\u003Ch2\u003EWhat the heck is Image Hotlinking?\u003C\u002Fh2\u003E\n\u003Cp\u003ELet us assume you have a cool site abc.tld, and have so many cool articles there accompanied by lots of cool images. Then there comes someone from xyz.tld and copies an image abc.tld\u002Fimage.jpg from your website, and puts it on his site. This would be called image hotlinking.\u003C\u002Fp\u003E\n\u003Ch3\u003EWhy is it considered bad?\u003C\u002Fh3\u003E\n\u003Cp\u003EIt’s bad as someone else will be using your creation (the image) under their name as well as your resources (the bandwidth consumed to display the image each time the site using it will be requested). And I’m pretty sure you too won’t be liking it!\u003C\u002Fp\u003E\n\u003Ch2\u003ETweaking .htaccess for hotlinking protectoin\u003C\u002Fh2\u003E\n\u003Cp\u003EThis one is perhaps the best way to enable hotlinking protection on WordPress-based sites. You just have to edit the .htaccess file, add the following code at the end of it, and save:\u003C\u002Fp\u003E\n\u003Cpre\u003ERewriteEngine on\nRewriteCond %{HTTP_REFERER} !^$\nRewriteCond %{HTTP_REFERER} !^http(s)?:\u002F\u002F(www\\.)?your-goood-site.com [NC]\nRewriteCond %{HTTP_REFERER} !^http(s)?:\u002F\u002F(www\\.)?your-other-good-site.com [NC]\nRewriteRule \\.(jpg|jpeg|png|gif)$ http:\u002F\u002Fi.imgur.com\u002Fg7ptdBB.png [NC,R,L]\u003C\u002Fpre\u003E\n\u003Cp\u003EThat’s it!\u003C\u002Fp\u003E\n\u003Ch4\u003EWhat the above code will do\u003C\u002Fh4\u003E\n\u003Cp\u003EWell, explaining line-by-line:\u003C\u002Fp\u003E\n\u003Cul\u003E\n\u003Cli\u003ELine 1: Opens the redirection process\u003C\u002Fli\u003E\n\u003Cli\u003ELine 2: Allows blank referrers (search engines, browsers, hosts, proxies, and people requesting your images by typing it in the address bar or requesting through bookmarks) to view the image\u003C\u002Fli\u003E\n\u003Cli\u003ELine 3: Allows your own site, i.e. ‘your-good-site.com’ to view and use the images\u003C\u002Fli\u003E\n\u003Cli\u003ELine 4: Allows your another site, i.e. ‘your-other-domain.com’ to view and use the images (optional, remove this line if doesn’t apply)\u003C\u002Fli\u003E\n\u003Cli\u003ELine 5: Replaces all of the images from your site onto some other site with \u003Ccode\u003Ehttp:\u002F\u002Fi.imgur.com\u002Fg7ptdBB.png\u003C\u002Fcode\u003E\u003C\u002Fli\u003E\n\u003C\u002Ful\u003E\n\u003Cp\u003EFair enough, I guess.\u003C\u002Fp\u003E\n\u003Ch2\u003EWordPress Plugins for Image Hotlinking protection\u003C\u002Fh2\u003E\n\u003Cp\u003EIf you are not into coding, and finding it troublesome to edit the \u003Ccode\u003E.htacces\u003C\u002Fcode\u003E, you may then install take help of the below mentioned plugins:\u003C\u002Fp\u003E\n\u003Col\u003E\n\u003Cli\u003E\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fbyrev-wp-picshield-hotlink-defence\u002F\"\u003EWP PicSheild Hotlink defense\u003C\u002Fa\u003E, although not being updated regularly.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fall-in-one-wp-security-and-firewall\u002F\"\u003EAll in One WP Security & Firewall\u003C\u002Fa\u003E, image hotlinking protection is one of the features provided by this one along with a number of security tweaking options\u003C\u002Fli\u003E\n\u003C\u002Fol\u003E\n\u003Cp\u003EIf you know a better WordPress plugin to protect images, feel free to add a comment and tell us about it. Thanks in advance!\u003C\u002Fp\u003E","\u003Cp\u003EIt’s so common on the internet to have your content stolen. People often scrape your entire hard-worked content and put it over on their sites. That includes image hotlinking too, when the images hosted on the web server paid by you, being used by someone else.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you use WordPress to publish your content, you can easily enable image hotlinking protection on your WordPress-powered site. This post is all about guiding you to protect your images from being stolen like that.\u003C\u002Fp\u003E\n\u003Ch2\u003EWhat the heck is Image Hotlinking?\u003C\u002Fh2\u003E\n\u003Cp\u003ELet us assume you have a cool site abc.tld, and have so many cool articles there accompanied by lots of cool images. Then there comes someone from xyz.tld and copies an image abc.tld\u002Fimage.jpg from your website, and puts it on his site. This would be called image hotlinking.\u003C\u002Fp\u003E\n\u003Ch3\u003EWhy is it considered bad?\u003C\u002Fh3\u003E\n\u003Cp\u003EIt’s bad as someone else will be using your creation (the image) under their name as well as your resources (the bandwidth consumed to display the image each time the site using it will be requested). And I’m pretty sure you too won’t be liking it!\u003C\u002Fp\u003E\n\u003Ch2\u003ETweaking .htaccess for hotlinking protectoin\u003C\u002Fh2\u003E\n\u003Cp\u003EThis one is perhaps the best way to enable hotlinking protection on WordPress-based sites. You just have to edit the .htaccess file, add the following code at the end of it, and save:\u003C\u002Fp\u003E\n\u003Cpre\u003ERewriteEngine on\nRewriteCond %{HTTP_REFERER} !^$\nRewriteCond %{HTTP_REFERER} !^http(s)?:\u002F\u002F(www\\.)?your-goood-site.com [NC]\nRewriteCond %{HTTP_REFERER} !^http(s)?:\u002F\u002F(www\\.)?your-other-good-site.com [NC]\nRewriteRule \\.(jpg|jpeg|png|gif)$ http:\u002F\u002Fi.imgur.com\u002Fg7ptdBB.png [NC,R,L]\u003C\u002Fpre\u003E\n\u003Cp\u003EThat’s it!\u003C\u002Fp\u003E\n\u003Ch4\u003EWhat the above code will do\u003C\u002Fh4\u003E\n\u003Cp\u003EWell, explaining line-by-line:\u003C\u002Fp\u003E\n\u003Cul\u003E\n\u003Cli\u003ELine 1: Opens the redirection process\u003C\u002Fli\u003E\n\u003Cli\u003ELine 2: Allows blank referrers (search engines, browsers, hosts, proxies, and people requesting your images by typing it in the address bar or requesting through bookmarks) to view the image\u003C\u002Fli\u003E\n\u003Cli\u003ELine 3: Allows your own site, i.e. ‘your-good-site.com’ to view and use the images\u003C\u002Fli\u003E\n\u003Cli\u003ELine 4: Allows your another site, i.e. ‘your-other-domain.com’ to view and use the images (optional, remove this line if doesn’t apply)\u003C\u002Fli\u003E\n\u003Cli\u003ELine 5: Replaces all of the images from your site onto some other site with \u003Ccode\u003Ehttp:\u002F\u002Fi.imgur.com\u002Fg7ptdBB.png\u003C\u002Fcode\u003E\u003C\u002Fli\u003E\n\u003C\u002Ful\u003E\n\u003Cp\u003EFair enough, I guess.\u003C\u002Fp\u003E\n\u003Ch2\u003EWordPress Plugins for Image Hotlinking protection\u003C\u002Fh2\u003E\n\u003Cp\u003EIf you are not into coding, and finding it troublesome to edit the \u003Ccode\u003E.htacces\u003C\u002Fcode\u003E, you may then install take help of the below mentioned plugins:\u003C\u002Fp\u003E\n\u003Col\u003E\n\u003Cli\u003E\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fbyrev-wp-picshield-hotlink-defence\u002F\"\u003EWP PicSheild Hotlink defense\u003C\u002Fa\u003E, although not being updated regularly.\u003C\u002Fli\u003E\n\u003Cli\u003E\u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fall-in-one-wp-security-and-firewall\u002F\"\u003EAll in One WP Security & Firewall\u003C\u002Fa\u003E, image hotlinking protection is one of the features provided by this one along with a number of security tweaking options\u003C\u002Fli\u003E\n\u003C\u002Fol\u003E\n\u003Cp\u003EIf you know a better WordPress plugin to protect images, feel free to add a comment and tell us about it. Thanks in advance!\u003C\u002Fp\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E","image","\u003Cp\u003EWe want to customize lots of things in our WordPress themes, and WordPress gallery style can be one important of those. At first, it may seem easy stuff, but actually it isn’t that easy.\u003C\u002Fp\u003E\n\u003Cp\u003EAs a developer, you may think of customizing the look of WordPress galleries just by adding some CSS in the \u003Ccode\u003Estyle.css\u003C\u002Fcode\u003E of your theme. But that alone is not gonna work since WordPress automatically adds a default \u003Cem\u003Estyle\u003C\u002Fem\u003E snippet in the post that contains a gallery, which provides default styles to the gallery, and also overrides all of your CSS code coming from the \u003Ccode\u003Estyle.css\u003C\u002Fcode\u003E or anywhere else.\u003C\u002Fp\u003E\n\u003Cp\u003EThe code automatically hooked by WordPress in a gallery post looks somewhat like below:\u003C\u002Fp\u003E\n\u003Cpre\u003E<style type='text\u002Fcss'>\n\t#gallery-1 {\n\t\tmargin: auto;\n\t}\n\t#gallery-1 .gallery-item {\n\t\tfloat: left;\n\t\tmargin-top: 10px;\n\t\ttext-align: center;\n\t\twidth: 33%;\n\t}\n\t#gallery-1 img {\n\t\tborder: 2px solid #cfcfcf;\n\t}\n\t#gallery-1 .gallery-caption {\n\t\tmargin-left: 0;\n\t}\n\t\u002F* see gallery_shortcode() in wp-includes\u002Fmedia.php *\u002F\n<\u002Fstyle>\u003C\u002Fpre\u003E\n\u003Ch3\u003EThe need to remove the default gallery style\u003C\u002Fh3\u003E\n\u003Cp\u003EAs a user, you may need to do that to customize your galleries look and feel. As a developer, you may need to do that to make your galleries match the theme styles. You might have already seen some professional themes providing custom Gallery styles.\u003C\u002Fp\u003E\n\u003Cfigure\u003E\n\u003Ca href=\"http:\u002F\u002Fthemeforest.net\u002Fitem\u002Fdandelion-powerful-elegant-wordpress-theme\u002F136628?ref=wpcrux\"\u003E\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fdandelion-wordpress-theme-gallery.jpg\" alt=\"Dandelion WordPress Theme Gallery\"\u002F\u003E\u003C\u002Fa\u003E\u003Cfigcaption\u003EExample of Custom Gallery on \u003Ca href=\"http:\u002F\u002Fthemeforest.net\u002Fitem\u002Fdandelion-powerful-elegant-wordpress-theme\u002F136628?ref=wpcrux\" title=\"Gallery from Dandelion WordPress Theme\"\u003EDandelion WordPress Theme\u003C\u002Fa\u003E\u003C\u002Ffigcaption\u003E\u003C\u002Ffigure\u003E\n\u003Cp\u003EIn order to make galleries adopt our custom styles, we’ve to stop WordPress adding this bit of code into the gallery posts.\u003C\u002Fp\u003E\n\u003Ch2\u003ERemoving the default CSS code from gallery posts\u003C\u002Fh2\u003E\n\u003Cp\u003ENow we know that the hurdle in our way to customize our gallery look is the auto-added \u003Ccode\u003Estyle\u003C\u002Fcode\u003E snippet. Once we restrict the addition of this default style, we are almost done.\u003C\u002Fp\u003E\n\u003Cp\u003EWell, this will only take a single line of code. Add the below code in \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of our WordPress theme:\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Ccode\u003Eadd_filter( 'use_default_gallery_style', '__return_false' );\u003C\u002Fcode\u003E\u003C\u002Fp\u003E\n\u003Cp\u003EThe above hook tells WordPress not to add that style code segment in the post containing a gallery.\u003C\u002Fp\u003E\n\u003Cp\u003ENow, you have to save the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file and then view a gallery post. The galleries must be rendering without styles added to them OR they must be adopting the CSS if you’ve added in the \u003Ccode\u003Estyle.css\u003C\u002Fcode\u003E of the theme. Hope it served well :)\u003C\u002Fp\u003E","\u003Cp\u003EWe want to customize lots of things in our WordPress themes, and WordPress gallery style can be one important of those. At first, it may seem easy stuff, but actually it isn’t that easy.\u003C\u002Fp\u003E\n\u003Cp\u003EAs a developer, you may think of customizing the look of WordPress galleries just by adding some CSS in the \u003Ccode\u003Estyle.css\u003C\u002Fcode\u003E of your theme. But that alone is not gonna work since WordPress automatically adds a default \u003Cem\u003Estyle\u003C\u002Fem\u003E snippet in the post that contains a gallery, which provides default styles to the gallery, and also overrides all of your CSS code coming from the \u003Ccode\u003Estyle.css\u003C\u002Fcode\u003E or anywhere else.\u003C\u002Fp\u003E\n\u003Cp\u003EThe code automatically hooked by WordPress in a gallery post looks somewhat like below:\u003C\u002Fp\u003E\n\u003Cpre\u003E<style type='text\u002Fcss'>\n\t#gallery-1 {\n\t\tmargin: auto;\n\t}\n\t#gallery-1 .gallery-item {\n\t\tfloat: left;\n\t\tmargin-top: 10px;\n\t\ttext-align: center;\n\t\twidth: 33%;\n\t}\n\t#gallery-1 img {\n\t\tborder: 2px solid #cfcfcf;\n\t}\n\t#gallery-1 .gallery-caption {\n\t\tmargin-left: 0;\n\t}\n\t\u002F* see gallery_shortcode() in wp-includes\u002Fmedia.php *\u002F\n<\u002Fstyle>\u003C\u002Fpre\u003E\n\u003Ch3\u003EThe need to remove the default gallery style\u003C\u002Fh3\u003E\n\u003Cp\u003EAs a user, you may need to do that to customize your galleries look and feel. As a developer, you may need to do that to make your galleries match the theme styles. You might have already seen some professional themes providing custom Gallery styles.\u003C\u002Fp\u003E\n\u003Cfigure\u003E\n\u003Ca href=\"http:\u002F\u002Fthemeforest.net\u002Fitem\u002Fdandelion-powerful-elegant-wordpress-theme\u002F136628?ref=wpcrux\"\u003E\u003Cimg src=\"http:\u002F\u002Fwpcrux.com\u002Fwp-content\u002Fuploads\u002Fdandelion-wordpress-theme-gallery.jpg\" alt=\"Dandelion WordPress Theme Gallery\"\u002F\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E\u003C\u002Fa\u003E\u003Cfigcaption\u003EExample of Custom Gallery on \u003Ca href=\"http:\u002F\u002Fthemeforest.net\u002Fitem\u002Fdandelion-powerful-elegant-wordpress-theme\u002F136628?ref=wpcrux\" title=\"Gallery from Dandelion WordPress Theme\"\u003EDandelion WordPress Theme\u003C\u002Fa\u003E\u003C\u002Ffigcaption\u003E\u003C\u002Ffigure\u003E\n\u003Cp\u003EIn order to make galleries adopt our custom styles, we’ve to stop WordPress adding this bit of code into the gallery posts.\u003C\u002Fp\u003E\n\u003Ch2\u003ERemoving the default CSS code from gallery posts\u003C\u002Fh2\u003E\n\u003Cp\u003ENow we know that the hurdle in our way to customize our gallery look is the auto-added \u003Ccode\u003Estyle\u003C\u002Fcode\u003E snippet. Once we restrict the addition of this default style, we are almost done.\u003C\u002Fp\u003E\n\u003Cp\u003EWell, this will only take a single line of code. Add the below code in \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of our WordPress theme:\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Ccode\u003Eadd_filter( 'use_default_gallery_style', '__return_false' );\u003C\u002Fcode\u003E\u003C\u002Fp\u003E\n\u003Cp\u003EThe above hook tells WordPress not to add that style code segment in the post containing a gallery.\u003C\u002Fp\u003E\n\u003Cp\u003ENow, you have to save the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file and then view a gallery post. The galleries must be rendering without styles added to them OR they must be adopting the CSS if you’ve added in the \u003Ccode\u003Estyle.css\u003C\u002Fcode\u003E of the theme. Hope it served well :)\u003C\u002Fp\u003E\u003Cscript async=\"\" src=\"https:\u002F\u002Fpagead2.googlesyndication.com\u002Fpagead\u002Fjs\u002Fadsbygoogle.js\"\u003E\u003C\u002Fscript\u003E\n\u003C!-- wpcrux --\u003E\n\u003Cins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4833888168110763\" data-ad-slot=\"7950772867\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"\u003E\u003C\u002Fins\u003E\n\u003Cscript\u003E\n (adsbygoogle = window.adsbygoogle || []).push({});\n\u003C\u002Fscript\u003E","2020-12-10T09:26:06Z","css","version","2020-12-10T09:26:04Z","\u003Cp\u003EGutenberg has brought in things which look quite interesting to enhance our \u003Ca href=\"https:\u002F\u002Ffinblog.mooo.com\u002Fblog\u002Fhow-to-edit-woocommerce-style-dev-css-file\" class=\"auto-link\" target=\"_blank\"\u003Eediting task\u003C\u002Fa\u003E to another level. But I’m sure there are folks like me who don’t like adding one more external CSS file to their theme–the point here is to avoid another render block.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you are like me, you may have already noticed that \u003Cstrong\u003Estyle.min.css\u003C\u002Fstrong\u003E (with the ID \u003Cstrong\u003Ewp-block-library-css\u003C\u002Fstrong\u003E) file popping-up in the head section of your WordPress site’s HTML.\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Cb\u003ENote\u003C\u002Fb\u003E that this is the file which keeps the Gutenberg blocks as is in your blog posts. Removing this file may render all those blocks partially or completely broken.\u003C\u002Fp\u003E\n\u003Cp\u003EAs it comes preloaded now since \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fnews\u002F2018\u002F11\u002Fwordpress-5-0-release-candidate\u002F\"\u003EWordPerss 5.0\u003C\u002Fa\u003E, Gutenberg hooks this file automatically to the head of your WordPress theme.\u003C\u002Fp\u003E\n\u003Cp\u003EIn case if you are not really using Gutenberg, and want to remove this additional big-fat CSS file (25+ kB), here is what I did for the same.\u003C\u002Fp\u003E\n\u003Ch2\u003EThe right way to dequeue Gutenberg-hooked CSS file\u003C\u002Fh2\u003E\n\u003Cp\u003EYes, it’s a functions.php hack yet again. Stay ready to get your hands dirty in code if you are not into coding. Don’t worry much though, it’s not that hard.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow is the code you need to place at the end of the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme. Also make sure you back up your theme to avoid crashes, and always place the code above the closing PHP tag (\u003Ccode\u003E?>\u003C\u002Fcode\u003E) if there are any.\u003C\u002Fp\u003E\n\u003Cpre\u003E\u002F*\n * Remove the `wp-block-library.css` file from `wp_head()`\n *\n * @author Rahul Arora\n * @since 12182018\n * @uses wp_dequeue_style\n *\u002F\nadd_action( 'wp_enqueue_scripts', function() {\n wp_dequeue_style( 'wp-block-library' );\n} );\u003C\u002Fpre\u003E\n\u003Cp\u003ESave changes, check back. Gutenberg CSS is gone now. Too easy, wasn’t it? Cheers.\u003C\u002Fp\u003E","\u003Cp\u003EGutenberg has brought in things which look quite interesting to enhance our \u003Ca href=\"https:\u002F\u002Ffinblog.mooo.com\u002Fblog\u002Fhow-to-edit-woocommerce-style-dev-css-file\" target=\"_blank\"\u003Eediting task\u003C\u002Fa\u003E to another level. But I’m sure there are folks like me who don’t like adding one more external CSS file to their theme–the point here is to avoid another render block.\u003C\u002Fp\u003E\n\u003Cp\u003EIf you are like me, you may have already noticed that \u003Cstrong\u003Estyle.min.css\u003C\u002Fstrong\u003E (with the ID \u003Cstrong\u003Ewp-block-library-css\u003C\u002Fstrong\u003E) file popping-up in the head section of your WordPress site’s HTML.\u003C\u002Fp\u003E\n\u003Cp\u003E\u003Cb\u003ENote\u003C\u002Fb\u003E that this is the file which keeps the Gutenberg blocks as is in your blog posts. Removing this file may render all those blocks partially or completely broken.\u003C\u002Fp\u003E\n\u003Cp\u003EAs it comes preloaded now since \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fnews\u002F2018\u002F11\u002Fwordpress-5-0-release-candidate\u002F\"\u003EWordPerss 5.0\u003C\u002Fa\u003E, Gutenberg hooks this file automatically to the head of your WordPress theme.\u003C\u002Fp\u003E\n\u003Cp\u003EIn case if you are not really using Gutenberg, and want to remove this additional big-fat CSS file (25+ kB), here is what I did for the same.\u003C\u002Fp\u003E\n\u003Ch2\u003EThe right way to dequeue Gutenberg-hooked CSS file\u003C\u002Fh2\u003E\n\u003Cp\u003EYes, it’s a functions.php hack yet again. Stay ready to get your hands dirty in code if you are not into coding. Don’t worry much though, it’s not that hard.\u003C\u002Fp\u003E\n\u003Cp\u003EBelow is the code you need to place at the end of the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme. Also make sure you back up your theme to avoid crashes, and always place the code above the closing PHP tag (\u003Ccode\u003E?>\u003C\u002Fcode\u003E) if there are any.\u003C\u002Fp\u003E\n\u003Cpre\u003E\u002F*\n * Remove the `wp-block-library.css` file from `wp_head()`\n *\n * @author Rahul Arora\n * @since 12182018\n * @uses wp_dequeue_style\n *\u002F\nadd_action( 'wp_enqueue_scripts', function() {\n wp_dequeue_style( 'wp-block-library' );\n} );\u003C\u002Fpre\u003E\n\u003Cp\u003ESave changes, check back. Gutenberg CSS is gone now. Too easy, wasn’t it? Cheers.\u003C\u002Fp\u003E","\u003Cp\u003EWhen you upload and \u003Ca href=\"https:\u002F\u002Finternetcloak.com\u002Fblog\u002Fhow-to-get-an-image-in-a-wordpress-post\" class=\"auto-link\" target=\"_blank\"\u003Eadd images in your WordPress\u003C\u002Fa\u003E posts, you might have noticed the dimensions that it adds to the image automatically. Same goes with the post thumbnails, they also carry some auto-generated thumbnail markup.\u003C\u002Fp\u003E\n\u003Cp\u003EThe dimension markup is nothing but the width and height attributes that resize images in the post. But these dimension attributes may create problems with a responsive layout. Take a look at the highlighted section in the below given code, that’s what I’m talking about:\u003C\u002Fp\u003E\n\u003Cpre\u003E<img \u003Cmark\u003Ewidth="300" height="200"\u003C\u002Fmark\u003E src="http:\u002F\u002Flocalhost\u002Fwordpress\u002Fwp-content\u002Fuploads\u002F2013\u002F02\u002Fattachment-thumb.jpg" class="attachment-post-thumbnail wp-post-image" alt="Attachment Thumbnail" \u002F>\u003C\u002Fpre\u003E\n\u003Cp\u003EIn such a situation, WordPress developers want those highlighted, hard-coded width & height attributes snipped from the image attachments. It can be achieved by adding a few lines of code to the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E of our theme. Grab the code below, paste it in your \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and save the changes:\u003C\u002Fp\u003E\n\u003Cpre\u003Efunction strip_img_dimensions( $html, $post_id, $post_image_id ) {\n$html = preg_replace( '\u002F(width|height)="d*"s\u002F', "", $html );\nreturn $html;}\nadd_filter( 'post_thumbnail_html', 'strip_img_dimensions', 10, 3 );\nadd_filter( 'post_html', 'strip_img_dimensions', 10, 3 );\u003C\u002Fpre\u003E\n\u003Cp\u003EAfter saving the changes, you will receive image attachments without height and width attributes in the markup. Hope you found it useful. Thanks :)\u003C\u002Fp\u003E","\u003Cp\u003EWhen you upload and \u003Ca href=\"https:\u002F\u002Finternetcloak.com\u002Fblog\u002Fhow-to-get-an-image-in-a-wordpress-post\" target=\"_blank\"\u003Eadd images in your WordPress\u003C\u002Fa\u003E posts, you might have noticed the dimensions that it adds to the image automatically. Same goes with the post thumbnails, they also carry some auto-generated thumbnail markup.\u003C\u002Fp\u003E\n\u003Cp\u003EThe dimension markup is nothing but the width and height attributes that resize images in the post. But these dimension attributes may create problems with a responsive layout. Take a look at the highlighted section in the below given code, that’s what I’m talking about:\u003C\u002Fp\u003E\n\u003Cpre\u003E<img \u003Cmark\u003Ewidth="300" height="200"\u003C\u002Fmark\u003E src="http:\u002F\u002Flocalhost\u002Fwordpress\u002Fwp-content\u002Fuploads\u002F2013\u002F02\u002Fattachment-thumb.jpg" class="attachment-post-thumbnail wp-post-image" alt="Attachment Thumbnail" \u002F>\u003C\u002Fpre\u003E\n\u003Cp\u003EIn such a situation, WordPress developers want those highlighted, hard-coded width & height attributes snipped from the image attachments. It can be achieved by adding a few lines of code to the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E of our theme. Grab the code below, paste it in your \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and save the changes:\u003C\u002Fp\u003E\n\u003Cpre\u003Efunction strip_img_dimensions( $html, $post_id, $post_image_id ) {\n$html = preg_replace( '\u002F(width|height)="d*"s\u002F', "", $html );\nreturn $html;}\nadd_filter( 'post_thumbnail_html', 'strip_img_dimensions', 10, 3 );\nadd_filter( 'post_html', 'strip_img_dimensions', 10, 3 );\u003C\u002Fpre\u003E\n\u003Cp\u003EAfter saving the changes, you will receive image attachments without height and width attributes in the markup. Hope you found it useful. Thanks :)\u003C\u002Fp\u003E","\u003Cp\u003EThe native \u003Ca href=\"https:\u002F\u002Finternetcloak.com\u002Fblog\u002Fhow-to-modify-a-search-query-in-wordpress\" class=\"auto-link\" target=\"_blank\"\u003EWordPress search feature\u003C\u002Fa\u003E by default displays pages in the search results. The feature is meant for site-wide searches, but could be annoying to users who just want to display only the posts in the search results.\u003C\u002Fp\u003E\n\u003Cp\u003EI have this small code snippet working for me from day one to exclude pages from the searches. It goes in the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme:\u003C\u002Fp\u003E\n\u003Cpre\u003Efunction search_tweak( $query ) {\n if( $query->is_search ) {\n $query->set( 'post_type', 'post' );\n }\n return $query;\n}\nadd_filter( 'pre_get_posts', 'search_tweak' );\n\u003C\u002Fpre\u003E\n\u003Cp\u003ESave the changed \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and make a few searches on your WordPress site. You won’t see any pages in the searches anymore.\u003C\u002Fp\u003E\n\u003Cp\u003EIf looking for a plugin to do that for you, \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fsimply-exclude\u002F\"\u003ESimply Exclude\u003C\u002Fa\u003E may help.\u003C\u002Fp\u003E","\u003Cp\u003EThe native \u003Ca href=\"https:\u002F\u002Finternetcloak.com\u002Fblog\u002Fhow-to-modify-a-search-query-in-wordpress\" target=\"_blank\"\u003EWordPress search feature\u003C\u002Fa\u003E by default displays pages in the search results. The feature is meant for site-wide searches, but could be annoying to users who just want to display only the posts in the search results.\u003C\u002Fp\u003E\n\u003Cp\u003EI have this small code snippet working for me from day one to exclude pages from the searches. It goes in the \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E file of your WordPress theme:\u003C\u002Fp\u003E\n\u003Cpre\u003Efunction search_tweak( $query ) {\n if( $query->is_search ) {\n $query->set( 'post_type', 'post' );\n }\n return $query;\n}\nadd_filter( 'pre_get_posts', 'search_tweak' );\n\u003C\u002Fpre\u003E\n\u003Cp\u003ESave the changed \u003Ccode\u003Efunctions.php\u003C\u002Fcode\u003E and make a few searches on your WordPress site. You won’t see any pages in the searches anymore.\u003C\u002Fp\u003E\n\u003Cp\u003EIf looking for a plugin to do that for you, \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fsimply-exclude\u002F\"\u003ESimply Exclude\u003C\u002Fa\u003E may help.\u003C\u002Fp\u003E",100,"Read more at:","forum",8,"Bottom",6,"Top",12,"lucile","avatar\u002Flucile\u002F3342.jpg","\u003Cp\u003EHow to speed up an animation in matplotlib?\u003C\u002Fp\u003E","\u003Cp\u003EHow to put arrows on matplotlib graph?\u003C\u002Fp\u003E","\u003Cp\u003EHow to "stack" matplotlib figures?\u003C\u002Fp\u003E",9,"\u003Cp\u003EHow to change histogram color based on x-axis in matplotlib?\u003C\u002Fp\u003E","\u003Cp\u003EHow to disable remote access to PostgreSQL?\u003C\u002Fp\u003E","Posted Links","Table of Contents","Trusted User","Active","Topics","General Settings","Moderate Threads","Authors","Members","Ask AI","Are you sure you want to delete this category?","Created","Your account was successfully confirmed","Forum Category Settings","List Users","Moderate Thread","New User","Model","Forum Settings","Role","Api Key","Query:","Edit Profile","Image","Title","Username","Update","New Ad","Ban","Export Data","Edit Category","New Category","Add a new menu link","My profile"));</script><script src="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/50d1395.js" defer></script><script src="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/498f8f7.js" defer></script><script src="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/fffc2dc.js" defer></script><script src="https://pub-420acf56315e422bbbdab07717bee8cd.r2.dev/assets/0.1/25d50b7.js" defer></script>
</body>
</html>