Support for Malina - Personal WordPress Blog Theme

Support for Malina - Personal WordPress Blog Theme

Cart 4,794 sales
Well Documented

ArtstudioWorks does not currently provide support for this item.

Popular questions for this item

Missing style sheet error when installing the theme

A common issue that can occur with users new to installing WordPress themes is a "Broken theme and/or stylesheets missing” error message being displayed when trying to upload or activate the theme. This error message does not mean that the theme you have purchased is broken, it simply means it has been uploaded incorrectly. Luckily, there is a very easy fix.

How to add Split Screen?

Create page with Gutenberg editor. Select page template “Page fullwidth” in the right sidebar. Press “CTRL+SHIFT+ALT+M” to have code editor and copy&paste the following code
<!-- wp:kadence/rowlayout {"uniqueID":"_4c68f4-9a","columnGutter":"none","colLayout":"equal","topPadding":0,"bottomPadding":60,"leftPadding":0,"rightPadding":0,"blockAlignment":"full","firstColumnWidth":45} -->
<div class="wp-block-kadence-rowlayout alignfull"><div id="kt-layout-id_4c68f4-9a" class="kt-row-layout-inner  kt-layout-id_4c68f4-9a"><div class="kt-row-column-wrap kt-has-2-columns kt-gutter-none kt-v-gutter-default kt-row-valign-top kt-row-layout-equal kt-tab-layout-inherit kt-m-colapse-left-to-right kt-mobile-layout-row kt-custom-first-width-45"><!-- wp:kadence/column {"topPadding":0,"bottomPadding":0,"leftPadding":0,"rightPadding":0,"leftPaddingM":0,"rightPaddingM":0,"bottomMarginM":30,"uniqueID":"_93f7d7-dd","className":"stick-this"} -->
<div class="wp-block-kadence-column inner-column-1 kadence-column_93f7d7-dd stick-this"><div class="kt-inside-inner-col"><!-- wp:malina/singlepost {} /--></div></div>
<!-- /wp:kadence/column -->

<!-- wp:kadence/column {"id":2,"topPadding":80,"bottomPadding":0,"leftPadding":80,"rightPadding":80,"topPaddingM":0,"bottomPaddingM":0,"leftPaddingM":0,"rightPaddingM":0,"bottomMarginM":25,"uniqueID":"_341233-9b"} -->
<div class="wp-block-kadence-column inner-column-2 kadence-column_341233-9b"><div class="kt-inside-inner-col"><!-- wp:malina/gridposts {"num":"7","post_style":"style_4","thumbsize":"malina-masonry","ignore_featured":true,"ignore_sticky_posts":true} /--></div></div>
<!-- /wp:kadence/column --></div></div></div>
<!-- /wp:kadence/rowlayout -->

Press “CTRL+SHIFT+ALT+M” again to have visual editor, replace single post blog with your post.

Scroll down to “page settings” and select “Vertical menu” for the “Header variant” option. Save the result. Go to the menus and select display location “Side Header Navigation” for your menu.

Herosection

There are two places where you can set this “Herosection”.

If your page is latest posts page (blog page) you need to go to customizer -> theme options -> blog and use options for herosection.

If your page is simple page, go to edit page and find options for herosection in the right sidebar, big image is featured image.

If you don’t have those options, be sure that you installed recommended and required plugins.

Reset Views and Likes

To reset views and likes for all posts you can use the following php code, add it to functions.php you can add it to the end before ’?>’, then go to view your home page, then remove code from functions.php

function malina_reset_views_and_likes(){
  $args = array(
    'post_type' => 'post',
    'posts_per_page' => -1,
  );
  $the_query = new WP_Query( $args );
  if( $the_query->have_posts() ) {
    while ( $the_query->have_posts() ) {
      $the_query->the_post();
      update_post_meta( get_the_ID(), "votes_count", 0 );
      update_post_meta( get_the_ID(), "post_views_count", 0 );
    }
  }
  wp_reset_postdata();
}
add_action('init', 'malina_reset_views_and_likes');

Show more

by
by
by
by
by
by