Change name of WP content > Themes folder

You just need to change the name of the theme folder. and inside your theme’s style.css change the “Theme Name:” accordingly. Be aware that you need to activate the “new” theme in the Design Tab.

template_redirect() doesn’t seem to be working

I’m assuming you’ve looked here: https://wphierarchy.com/ The blog page should be home.php and the home page (by default) picks up front-page.php (unless, of course, you have it set manually, as you do). I’m not a theming expert, but it may have something to do with your file structure. Take a look at the blankslate theme … Read more

WordPress theme directory naming

There is no problem with that.You can name the theme folder whatever you like and you can even name it full uppercase like TRUELOVE. As long as it’s ok with wordpress ,themeforest won’t care.

Using something else instead of using 9 wp_query

I don’t have a full detailed response for you, but here’s a few things I’d suggest: 1) Use template parts for each of those segments. That will help clean up the template so it’s easier to work with in the future. ( see here: https://konstantin.blog/2013/get_template_part/ ) 2) You could then create a helper function for … Read more

Use Custiomizer to setup meta theme color tag

Depending on whether you store your customizer settings as mods or options (which you define with the type parameter when adding a setting) you can simply use get_option or get_theme_mod in your header.php like this: echo ‘<meta name=”theme-color” content=”‘ . get_theme_mod(‘my_browser_bar_color’,’#000000′) . ‘”>’; This line tells to look for the mod and if it isn’t … Read more

How do I change theme demo [duplicate]

You will need to set the homepage through the settings. As stated in this answer: Go to Dashboard -> Settings -> Reading Change Front page displays from Your latest posts to A static page In the dropdown beneath this option, select the static Page to use as your Front Page. If you want to display … Read more

Custom theme vs theme customization?

Every custom theme I buy is fully customize-able, so I do not understand what you mean by secure. I see the themes I buy as starting points towards achieving a particular goal, instead of starting from scratch. Some themes complicate their code, so that buyers cannot edit them easily, but it’s unnecessary. All in all, … Read more

How can I save cookies to members

You can can read the cookie and check if the current user is logged in using get_current_user_id(). If they are just save the cookie value to the user_meta. $cookie_name=””; if( isset( $_COOKIE[$cookie_name] ) ) { $user_id = get_current_user_id(); if( $user_id ) { $meta_key = $cookie_name; $meta_value = $_COOKIE[$cookie_name]; update_user_meta( $user_id, $meta_key, $meta_value ); } }