Clarion Technologies
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: live host already has WP – can I just upload the database/theme?Hello Hawaii Loves Art,
Yes If your live web already have updated version of WordPress then their is no need to upload it again you just need to upload the plugins that you have used ,your site theme and database.
Thanks
Forum: Fixing WordPress
In reply to: WordPress admin customiser\live preview is blankTry once upload new version of WordPress wp-content folder
1) Rename wp-content to old folder and upload a new version of the wp-content folder.
If still it’s not work2) Rename wp-admin to old folder and upload new version of wp-admin
Note : Take backup before doing any operations
Forum: Fixing WordPress
In reply to: Proportional Excerpt lengthYou can try with css (in style.css Line number :758) add below code
.post-image.entry-image { margin-bottom: 10px; margin-top: 12px; max-width: 15%; width: 100%; }Try implement in child theme
Forum: Fixing WordPress
In reply to: How do I modify sidebar meta widget content in twenty fifteen.1. Log into your account
2. Go to Appearance > Widgets
3. Add widgets or remove widgets to the sidebar on the rightMeta is simply a default if that sidebar is empty of widgets.
http://www.wpbeginner.com/beginners-guide/how-to-add-and-use-widgets-in-wordpress/
Forum: Fixing WordPress
In reply to: Fliiby plugin issueCan you post here
Forum: Themes and Templates
In reply to: How to change CSS in a test templateHello simja69
You also can try using the below plugin.
https://ww.wp.xz.cn/plugins/simple-custom-css/
Thanks
Hello mrschaal,
Please add below line of code in your CSS file.
.panel-grid-cell .so-panel { margin-top: 0; }Thanks
Forum: Fixing WordPress
In reply to: Redirect after Logout<?php $redirect = "http://example.com"; echo wp_logout_url( $redirect ); ?>https://codex.ww.wp.xz.cn/Function_Reference/wp_logout_url
or
add_action( 'wp_logout', 'auto_redirect_external_after_logout'); function auto_redirect_external_after_logout(){ wp_redirect( 'http://redirect-url' ); exit(); }or
Try below plugin
https://ww.wp.xz.cn/plugins/wpi-custom-logout/screenshots/Hello Rocks360,
As you are getting the the $_GET[‘articleID’] by using the this you can filter the your select query.
Thanks
Forum: Fixing WordPress
In reply to: Remove Top Padding & Create Transparent Nav Bar to only 1 pageHello awhite808,
Please add the below code in your theme function.php file
<?php if(is_page('your-page-name')) { ?> <style> .site-header { background-color: transparent; padding-top: 0; } #mainnav ul li a, #mainnav ul li::before { color: #000; } </style> <?php } ?>Thanks
Forum: Fixing WordPress
In reply to: Auto moderate postsHello kchegwin,
Please use the following code:
add_filter( 'wp_insert_post_data', 'set_post_to_draft', 99, 2 ); function set_post_to_draft( $data, $postarr ) { if ( your_condition ) { $data['post_status'] = 'draft'; } return $data; }Thanks
Forum: Fixing WordPress
In reply to: how can i change in category the by athorHello Alex4842,
We are not getting what do you actually mean by this ca please explain and give the website link to check.
Thanks
Hello jeffbohr,
Can you please make ‘WP_DEBUG’ to true in wp-config.php so that you get the what the actual error is.
define('WP_DEBUG', true);Thanks
Forum: Fixing WordPress
In reply to: Get posts that matches specific terms of multiple custom taxonomies.Hello
Please use the below code stuff this will helps you to “get posts that matches specific terms of multiple custom taxonomies”
Note:Please replace the post type name,taxonomy and its term with your respected values.<?php //Setup query arguments to retrieve only posts that fall into both taxonomy categories / terms $args = array( 'post_type' => 'your-post-type-name', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => -1, 'no_found_rows' => true, 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'product_category', 'field' => 'slug', 'terms' => array($category->slug), //Supply the current product_category terms ), array( 'taxonomy' => 'product_locations', 'field' => 'slug', 'terms' => array($current_location), //Add the product_locations term 'operator' => 'IN', ), ), ); $query = new WP_Query( $args ); ?> <?php if ( $query->have_posts() ) : ?> <?php while ( $query->have_posts() ) : $query->the_post();?> <?php the_title(); ?> <?php endwhile; ?> <?php else : ?> <p>Sorry, no products found.</p> <?php endif; ?> <?php wp_reset_postdata() ?> <?php wp_reset_query() ?>Thanks
Forum: Fixing WordPress
In reply to: Subcategories alphabeticallyHi,
You can use the following code to display categories and subcategories alphabetically.
wp_list_categories('orderby=name&order=asc')Thanks