Theme Appearance [closed]

every theme appears as basic HTML. So all the pictures, functionality, etc, do not appear When you visit any page which showcases a theme, or even check out the theme’s preview image (which is the image that shows up under the theme selection page in the back end), you will see an image of the … Read more

How can I either move the nav bar down or create more space for the header? Theme – Ajaira

It looks like the background image was added to the tag inline. You will need to change the following: Locate your template file (probably header.php) which has the tag Inside style=”” remove background-size: cover and replace it with background-size:auto 100% then add background-position: center This will let the background image stretch to the height of … Read more

How to add or remove borders in navigation menu?

With CSS 3, you can use the :last-child or :last-of-type selectors: .is-frontend #content-holder .semplice-navbar nav ul li:last-child { border-right: 1px solid #000000; } However, you could flip this around to make it more backwards compatible using :first-child (which is available in CSS2): .is-frontend #content-holder .semplice-navbar nav ul li { border-left: 1px solid #000000; } .is-frontend … Read more

Best way to include pagination in a theme [closed]

Paginations mostly rely on the global $wp_query variable to generate the data. Using get_posts() will not generate that, because it returns an array of posts, not an instance of the WP_Query() class itself. As a result, you don’t have access to class’s methods, such as $query->max_num_pages. You can use a plugin to add pagination (such … Read more

Theme causing SSL break on chrome

Google has marked matx.coderpixel.com as a phishing site. That’s not your domain, of course. However you are using resources from that site. Specifically you are using several images from matx.coderpixel.com/wp/wp-content/uploads/2016/04, including android_phone.jpg, cloudy_hill.jpg, desk.jpg, keyboard.jpg, and man_with_ipad.jpg. It is a bad (and unless you have the rights to use these images, illegal) practice to serve … Read more

Where can I find the “add_action()” inside a theme?

There can be a case that theme implements hooks via do_action(“action_name”) but it’s not forced to bind actual actions to it, as theme’s developers might just did it to make theme more extensible, and in fact never use it inside theme. So you can just bind your own code via add_action(“colormag_before”, “your_function_name”) in a child … Read more