gjrbarch
Forum Replies Created
-
Solved: had to allow access through the maintenance mode plugin. All working as expected now.
Some more info on the above:
While developing my WordPress site, am using an htaccess file in the root directory to block all IP’s other than my own (using the following code – syntax IP_ADDRESS_XXX = 123.123.123.123):
#RESTRICT ACCESS TO DASHBOARD AND LOGIN PAGE
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^IP_ADDRESS_ONE$
RewriteRule ^(.*)$ – [R=403,L]
</IfModule>However, I would like to allow a guest IP to access a guest post ONLY, so below the above code in htaccess I have added:
#ALLOW GUEST IP
allow from IP_ADDRESS_TWOHave also allowed access in the plugin to the guest post, to myself OR the guest IP.
I can access the guest post but my guest lands on my maintenance page – would appreciate any help.
Regards,
jrbarch (wpjrbarch)Forum: Plugins
In reply to: [Recent Posts Widget With Thumbnails] rpwwt-post-titleOK. Thanks for your efforts Martin …
Forum: Plugins
In reply to: [Recent Posts Widget With Thumbnails] rpwwt-post-titleOK about the A element – thanks.
Still something suppressing the (top and) bottom border! If I select the A element in Element Inspector and hover, then the bottom border displays. But without this manual selection the bottom border does not display on hover. Looking in the Computed panel the same result. Ticking the :hover box and looking at other A:hover elements has’nt given me any clue? Tried turning off a few lines but no help.
Basically am trying to get the rpwwt menu to look and behave like other WP menus in the sidebar. Am not qualified to comment but inquire, would this be a good extension to the plugin given all other considerations? It would be great to set things like line-height, margin a:hover etc. in the form.
jrbarchForum: Plugins
In reply to: [Recent Posts Widget With Thumbnails] rpwwt-post-titleSorry Martin – am building the website and am not online at the moment. Am using your plugin in the sidebar. The html from the Element Inspector looks like this:
<aside id="recent-posts-widget-with-thumbnails-3" class="widget recent-posts-widget-with-thumbnails"> <div id="rpwwt-recent-posts-widget-with-thumbnails-3" class="rpwwt-widget"> <h2 class="widget-title">Experiences</h2> <ul> <li><a href="https://jrbarch.com/rumi/"><span class="rpwwt-post-title">Rumi</span></a></li> <li><a href="https://jrbarch.com/krishnamurti/"><span class="rpwwt-post-title">Krishnamurti …</span></a></li> <li><a href="https://jrbarch.com/learning/"><span class="rpwwt-post-title">… learning</span></a></li> </ul> </div><!-- .rpwwt-widget --> </aside>There is no class for the ‘a’ tag so I am not sure what to do. Thank you for taking an interest.
jrbarch*Sorry – I’ll have to look up how to paste code on line without it being parsed: the first line of the list is (removing arrows) –
ul
li a href=”https://jrbarch.com/rumi/” span class=”rpwwt-post-title” Rumi span a liForum: Plugins
In reply to: [Recent Posts Widget With Thumbnails] rpwwt-post-titleThanks for your reply Martin. I am using the Twentyfifteen theme plus child.
In ‘Additional CSS’ both of these lines work, creating a complete border around the li:
.rpwwt-widget ul li {border: 3px solid green;}
#rpwwt-recent-posts-widget-with-thumbnails-2 ul li { border: 3px solid green; }– but if I add an a:hover after li only the left and right borders appear. Any direct reference to border-bottom (as in my first comment) does not work. Have checked through the two style.css files but cannot recognise anything that suppresses the top and bottom borders?? Thanks once again if you have an idea what I am missing.
Beside this little glitch, your plugin was just what I was looking for to list according to a category. Thanks for that!
jrbarch
- This reply was modified 6 years, 8 months ago by gjrbarch.