Slobodan K
Forum Replies Created
-
Update: Fixed. There was a stuck scheduled task (WooCommerce > Status > Scheduled Actions) so everything else was waiting for that task to finish so the queue can go on.
Forum: Plugins
In reply to: [Optin Forms - Simple List Building Plugin for WordPress] SIDEBARThe shortcode goes in the “Content” option for the “Text” WordPress widget.
Forum: Plugins
In reply to: [Optin Forms - Simple List Building Plugin for WordPress] SIDEBARHi,
You can add the shortcode in a Text widget.
But, by default the widget does not process shortcodes so you’ll need a plugin like https://www.ads-software.com/plugins/enable-shortcode-and-php-support-in-text-widget/ to get it to process them.
It’s a theme, so upload it like any other theme. WP Admin > Appearance > Themes > Add New > Upload Theme.
Forum: Fixing WordPress
In reply to: if custom field is older than date next weekTry this…
$date2 = date('YmdHi', strtotime('+7 day', $date));
Forum: Fixing WordPress
In reply to: Adminbar not appearing on main pages of site regardless of themeSince it’s definitely not a theme issue or a plugin issue i’m assuming something’s wrong with the installation.
But first, try switching the permalinks to default, to make sure it’s not an issue with the URL rewriting.
If you get the issue with permalinks turned off then try reinstalling WordPress (WP Admin -> Dashboard -> Updates (sidebar menu) -> Re-install now).
Forum: Fixing WordPress
In reply to: photo upload problemsContact your hosting provider, they’ll handle it.
Forum: Fixing WordPress
In reply to: image size changes when installing different templateA lot of themes use sizes specific to the theme. But since WP makes those sizes on image upload you do not have the proper sizes now.
Use Regenerate Thumbnails or Force Regenerate Thumbnails plugin to recreate the sizes.
The difference between the two is that the second one will delete all the images made by the other theme, the first one won’t.
You’re welcome.
Forum: Fixing WordPress
In reply to: Child theme CSS breaks for Page TemplatesDo you have this at the top of sample-page.php?
get_header();
Forum: Themes and Templates
In reply to: Changing BLOCKQUOTE ColorsYou’re welcome.
Well this was fun ?? Add it after the $all_cats = get_categories() line. I commented the code so it’s easier to understand what’s happening.
// latest post $latest_post = get_posts( array( 'numberposts' => 1 ) ); // latest post cat $latest_post_cat = get_the_category( $latest_post[0]->ID ); // latest post cat ID $latest_post_cat_ID = $latest_post_cat[0]->cat_ID; // go though the cats foreach ( $allcats as $key => $cat ) { // if the latest cat found if ( $cat->cat_ID == $latest_post_cat_ID ) { // remove it from the array unset( $allcats[$key] ); // and add it to the beggining array_unshift( $allcats, $cat ); // destroy the $cat variable (just in case) unset ( $cat ); //stop going though the cats break; } }
Forum: Themes and Templates
In reply to: Error While trying to install themeYou’re welcome. ??
Forum: Themes and Templates
In reply to: Error While trying to install themeThe empty space in the description after “find more” and before “awesome” is confusing.
Try changing it to this and see what happens.
@charset utf-8; /* Theme Name: Averin Theme URI: https://www.wptitans.com/averin Description: Blah blah Author: WP Titans Author URI: https://www.wptitans.com/ Version: 2.1 */
Forum: Themes and Templates
In reply to: Changing BLOCKQUOTE ColorsJust install the plugin and add this in the Custom CSS section.
blockquote { color: #hexcode; }
Replace hexcode with an actual hex code of the color you want. Examples: #888, #eee, #fff.