Forum Replies Created
-
AuthorPosts
-
AlexeyParticipant@redirect
- 5 Topics
- 16 Posts
I’m glad to hear that you are not going to stop there! I believe that your developments have great prospects 🙂
As for the inconvenience, which I mentioned in another topic.
If the “Widget Options” plug-in is activated, then any interaction with Grimlock widgets will ruin everything, even if “Widget Options” functions are not used. For example, if I even change one letter in the header, then there are different indents or the Grimlock widget stops showing up. The result is seen in the screenshots. I have to disable the Widget Options plugin, before editing the Grimlock widgets, and then turn it back on.July 30, 2018 at 15:50 #1486AlexeyParticipant@redirect- 5 Topics
- 16 Posts
Hi @themosaurus!
Thanks for the answer! I read the article you mentioned and it helped!
I used this code in the “template-homepage.php” template:<?php if ( post_password_required() ) { echo get_the_password_form(); } else { ?> .. your custom php code or whatever .. <?php } ?>
Thus, the template took the following form:
<?php /** * The template for displaying the homepage. * * Template Name: Homepage Template * * @package gwangi */ get_header(); ?> <div id="primary"> <main id="main" class="site-main"> <?php if ( post_password_required() ) { echo get_the_password_form(); } else { ?> <?php /** * Functions hooked into gwangi_homepage action * * @hooked gwangi_grimlock_homepage - 10 */ do_action( 'gwangi_homepage' ); ?> <?php } ?> </main><!-- #main --> </div><!-- #primary --> <?php get_footer();
It remains only to stylize the form of entering a password 🙂
July 30, 2018 at 11:44 #1466AlexeyParticipant@redirect- 5 Topics
- 16 Posts
You did not think to position Grimlock as an independent plug-in? With it, it’s easy to create beautiful landing page 🙂
And if you add more functions, then it saves time for many 🙂
Think about it. I have been working with WP for a long time and often used various editors, but none allowed me to create such beautiful pages in such short terms 🙂July 29, 2018 at 03:47 #1459AlexeyParticipant@redirect- 5 Topics
- 16 Posts
Those that I like most in “Widget Options”:
1) Adding a css class
2) Widgets in multiple columns
3) Widget output logic (by days, time, user roles, depending on the page, and more)
But it seems to me not worth “reinventing the wheel” and it will be easier to add compatibility.That’s what I miss in “Grimlock Widgets”:
1) Multiple images (gallery) + adding css class + lightbox
I had to fix the plugin code to add a class to the image and attach the lightbox. This is not very convenient and applies to all images.
2) Place the image below the text.
3) WYSIWYG – text editor.
4) More options for customizing text, google fonts for headings.
5) Separators + custom separators 🙂P.S: Sorry if my english is bad, I’m from Russia and use google translate 🙂
July 29, 2018 at 02:31 #1450 -
AuthorPosts