WordPress page not showing up – replaced with last 10 posts?

The problem is with the rewrite rules generated with the post type- they’re a bit greedy and are capturing those requests. WordPress is trying to query for a matching category_type, which isn’t actually an object type, and in the absence of any other valid query argument, it runs the main blog query. You could manually … Read more

Correct way of Enqueue self hosted fonts in sass project

I think the better way would be declaring a file named _fontface.scss and put the below code blocks there – @mixin fontFace($family,$src,$style: normal,$weight: normal) { @font-face { font-family: $family; src: url(‘#{$src}.eot’); // IE9 compat src: url(‘#{$src}.eot?#iefix’) format(’embedded-opentype’), // IE8 and below url(‘#{$src}.woff’) format(‘woff’), // standards url(‘#{$src}.ttf’) format(‘truetype’), // Safari, Android, iOS url(‘#{$src}.svg##{$family}’) format(‘svg’); // legacy … Read more