I often get the question from customers "How do I make a browser trust my internal Intranet web server". Is it possible to use trusted certificates for Intranet servers? The short answer is yes. It is possible, and I'll show you two ways this can be solved. But what exactly is an Intranet server?
What Is an Intranet Server?
An Intranet (internal) server is one that runs on a private (home/business) network with a non-public IP address -- that is, any IPv4 address in the RFC 1918 range (e.g. 10.0.0.0, 172.16.0.0, 192.168.0.0) and any IPv6 address in the RFC 4193 range.
Google is working with other browser vendors and industry partners to fix the top five browser compatibility pain points for web developers. The areas of focus are CSS Flexbox, CSS Grid, position: sticky, aspect-ratio, and CSS transforms.
[…] The goal in 2021 is to eliminate browser compatibility problems in five key focus areas so developers can confidently build on them as reliable foundations.
I’d say slow clap, but I don’t want to sound sarcastic. Full on, regular clapping.
Ten, fifteen years ago, the job of a web designer and developer was heavily thinking about, planning for, and dealing with cross-browser compatibility. These days, it’s still a thing, but it’s not about dealing with bugs, quirks, and frustrating implementation differences like it was then. It’s more edge-case stuff with more obvious work-arounds. And when we’re thinking about the browser and device landscape, we’re doing it through the lens of meeting our users where they are and embracing that landscape. Doing our best, anyway.
If the powers that be can keep chipping away at compatibility problems, that further cements the web as the correct place to build.
I vote for some kind of proper stab at reliable viewport units in 2022, that somehow sensibly handle scrollbars and other browser chrome.
There are some Unicode characters that some browsers just decide they are going to turn into emojis for you. I couldn’t tell you why exactly, but here’s what I see:
Those text Unicode characters (▶, ↩, and, ❤) show up as text in Chrome, then iOS Safari turns them into emojis. Notice how when they are text, I have the ability to change their color, but not when they are turned to emoji.
Those characters above might turn into emojis for you also. They look like text in my WordPress editor. Shrug.
This came up for me because I was helping someone with their website and they didn’t like the “red diamonds” that were showing up. I didn’t seen them as red until I looked on my phone.
︎︎The “Text Presentation Selector”
A couple of people pointed out to me that if you use this (︎︎︎) before the character it will “request it to be rendered as text.” Here’s the spec on that. I couldn’t get it to work though. Here’s my test:
What I see on iOS:
I read in some sporatic threads that font-family: monospace would also prevent the emoji conversion, but that didn’t work for me either.
Let it be an emoji, but force the color anyway.
If you can select the element, even if the characters go emoji, you could force them to a color. Here’s an example from Andrew Walpolea:
Preethi Sam blogged that you can also use text-shadow to do the same:
The problem in my case was that there was no selector to use! The diamonds I was having trouble with were on hundreds of random posts in the database.
Screw it
I just gave up and ran a MySQL search/replace on the whole database (via Better Search Replace) to get rid of them.
Alpaca, an API provider that specializes in stock brokerage integrations, has announced the Alpaca Broker API in an attempt to democratize financial market access. The new service is RESTful and is intended to simplify the integration of stock trading capabilities.
Do you want to change the author of a post in WordPress?
Sometimes you may need to change a post to a different author than the user who first uploaded the post. You can do this without having to copy and paste the post with a different account.
In this article, we’ll show you how to simply change the author of a post in WordPress with just a few clicks.
Before You Change the Author of a WordPress Post
If you just want to show your own name on a post written by another user on your WordPress site, then you’re ready to follow the instructions in this article.
But, if you want to show a different user as the author, then you need to make sure this user exists on your WordPress site first. See our guide on how to add new users and authors in WordPress for detailed instructions.
You can view and manage all the users on your WordPress site by visiting the ‘Users’ menu item when logged in with your WordPress administrator account.
Having said that, let’s look at how to quickly and easily change the author of a post in WordPress.
Video Tutorial
If you don’t like the video or need more instructions, then continue reading.
How to Change the Author of a Single WordPress Post
First you need to open the post or page where you want to change the author name.
On the post edit screen, you need to make sure ‘Post’ is selected in the right-hand sidebar.
Then, locate ‘Author’ under the ‘Status & Visibility’ section.
Next, select the new author name from the drop down menu.
You’ll see a list of available authors to choose from.
Once you’ve done that, make sure you click ‘Update’ or ‘Save Draft’ to save your changes.
That’s it, you have successfully changed the author of a post in WordPress.
How to Change the Author of Multiple WordPress Posts
Changing the author by editing a single post is easy.
However, if you want to change the author for multiple posts, then this would take a lot of time.
Luckily, there’s an easier way to quickly change the author for multiple WordPress posts at once.
To bulk update authors, click on the ‘Posts’ menu item from your WordPress admin menu. This will list all the posts on your WordPress site.
By default, WordPress shows 20 posts per page. If you want to display more posts, then you need to click on ‘Screen Options‘ and change the number of posts you want to display.
Now you need to select the posts where you want to change the author.
After selecting posts, select ‘Edit’ from ‘Bulk Actions’ dropdown menu and then click the ‘Apply’ button.
WordPress will now show you ‘Bulk Edit’ metabox.
You need to select the new author by clicking on the dropdown menu next to Author option.
Don’t forget to click on the ‘Update’ button to save your changes.
That’s it, you have successfully changed the author for multiple WordPress posts without editing them individually.
How to Optimize Your Author Profiles for SEO
Finally, you may want to optimize your author profile pages to improve your SEO rankings.
The author profile is what appears at the bottom of blog posts published under your name.
Here you can add a brief bio, links, and even your social media profiles.
By showcasing your author bio, you can build more credibility and give your readers a chance to learn more about you and the authors on your site.
WordPress allows you to add a brief author bio, but to add social media links you’ll need to use a WordPress author bio plugin.
Aside from that, you’ll also want to improve your Author archive pages where WordPress displays a list of posts written by that author.
Upon activation, simply navigate to Users » Profile to edit your author profile.
Next, scroll down to the ‘All in One SEO Pro’ section where you can add links to your Facebook and Twitter profiles and create an author bio.
Once you’ve made the necessary changes, make sure you click ‘Update Profile’ at the bottom of the page.
Users will now see your new author bio at the bottom of any post you publish or change to your name.
We hope this article helped you learn how to change the author of a post in WordPress. You may also want to see our expert list of the best WordPress plugins for websites, and our comparison of the best online course platforms.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
eCommerce is a very competitive space. Brands are literally fighting it out to provide the best possible UX to their visitors in order to beat the competition. Combine that with the heightened expectations of modern consumers (50% won’t wait longer than 3 seconds before abandoning a poorly-designed e-commerce site) and you’ll understand why it’s vital […]
Are you new to email marketing or wish to improve your current results? It is a huge topic indeed, but to succeed, you need to start small. With this post, you will make it easily: here we are explaining the …
Let’s say someone asks you to add a double border to some random geometric SVG shapes. For some reason, you can’t use any graphic editor — they need to be generated at runtime — so you have to solve it with CSS or within the SVG syntax.
Your first question might be: Is there anything like stroke-style: double in SVG? Well, the answer is not yet and it’s not that easy. But I’ll attempt it anyway to see what methods I can uncover. I’ll explore the possibilities of three different basic shapes: circle, rectangle, and polygon. Pointing the ones that can keep a transparent color in the middle of the two lines.
Spoiler alert: all the results have their downsides, at least with CSS and SVG, but let me walk you through my intents.
The simple solutions
These don’t work with all shapes, but they are the easiest of the solutions.
outline and box-shadow
The CSS properties outline and box-shadow only apply to the bounding box of the shape or SVG, and so both are great solutions only for squares and rectangles. They also allow flexible colors using custom properties.
It only takes two lines of CSS with outline, plus it keeps the background color visible through the shape.
🙁 Solution only for one shape.
✅ Simple code
✅ Borders are smooth
✅ Transparent background
box-shadow only needs one line of CSS, but we have to make sure that each shape has its own SVG as we can’t apply box-shadow directly to the shapes. Another thing to consider is that we have to apply the color of the background in the declaration.
🙁 Solution only for one shape
✅ Simple code
✅ Borders are smooth
🙁 No transparent background
SVG gradients
SVG radial gradients only work on circles ☺️. We can directly apply the gradient on the stroke, but it’s better to use variables as we have to declare the colors many times in the code.
🙁 Solution only for one shape
✅ Simple code
🙁 Borders are smooth
🙁 No transparent background
Solutions for all shapes
These will work with all shapes, but the code could become bloated or complex.
filter:drop-shadow()
Finally, one solution for all shapes! We must have each shape in its own <svg> since the filter won’t apply directly to the shapes. We are using one declaration in CSS and have flexible colors using variables. The downside? The borders don’t look very smooth.
✅ One solution for all shapes
✅ Simple code
🙁 Borders look pixelated
🙁 No transparent background
SVG filters
This is a very flexible solution. We can create a filter and add it to the shapes through SVG’s filter attribute. The complicated part here is the filter itself. We’ll need three paintings, one for the outside border, one for the background flood, and the last one to paint the shape on the front. The result looks better than using drop-shadow, but the borders are still pixelated.
✅ One solution for all shapes
🙁 Complex code
🙁 Borders look pixelated
🙁 No transparent background
Reusing shapes
There are a couple of possible options here.
Option 1: Transforms
This solution requires transforms. We place one figure over the other, where the main figure has a fill color and a stroke color, and the other figure has no fill, a red stroke, and is scaled and repositioned to the center. We defined our shapes on the <defs>. The trick is to translate half of theviewBoxto the negative space so that, when we scale them, we can do it from the center of the figure.
✅ One solution for all shapes
🙁 Duplicated code
✅ Borders are smooth
✅ Transparent background
Option 2: <use>
I found a clever solution in the www-svg mailing list by Doug Schepers that uses SVG <use>. Again, it requires defining the shapes once and referring to them twice using <use>. This time the main shape has a bigger stroke. The second shape has half the stroke of the main shape, no fill, and a stroke matching the background color.
✅ One solution for all shapes
🙁 Duplicated code
✅ Borders are smooth
🙁 No transparent background
Here are the full results!
Just so you have them all in one place. Let me know it you can think of other possible solutions!
This isn’t actually a podcast actually talking about what CodePen is. Well, it kinda is. But actually it’s Stephen and Chris talking about and planning for what they would say if they only had five minutes (or so) to explain what CodePen is. So we need to hash out what the most important things are, what to lede with, and how to cover all the most vital things with clarity in such a short amount of time. We’ll have to get around to actually trying to shoot a video like this soon!
Jetpack Boost is a brand spankin’ new plugin from the Jetpack / Automattic gang. Jetpack has some very powerful performance features it offers, like giving you a global CDN for your images and core-WordPress-specific CSS and JavaScript. That particular feature is still a part of the Jetpack core plugin, but many performance-specific features are moving their way over to Jetpack Boost. Like Lazy Image loading (a huge performance win) is now in Jetpack Boost and you can turn it on with the flip of a switch. The most amazing, and brand new, feature of Jetpack Boost is that it does Critical CSS handling for you, which is also a big performance win and very difficult to do by hand.
Private Sub Plus_Btn_Click(sender As Object, e As EventArgs) Handles A_Plus_Btn.Click, C_Txb.Click
Dim Txb As TextBox
If x < MAX Then
x += 1
Else
x = 5
End If
For i As Integer = 1 To x
For j As Integer = 1 To x
Txb = New TextBox
Txb.Size = New Drawing.Size(100, 20)
Txb.Location = New Point(10 + 100 * i, 10 + 25 * j)
Txb.Name = "Txb" & i & "," & j
AddHandler Txb.TextChanged, AddressOf TextBox_TextChanged
boxes(i) = Txb
Me.Controls.Add(Txb)
Next
Next
End Sub
Private Sub TextBox_TextChanged(sender As Object, e As EventArgs)
Dim box As TextBox = DirectCast(sender, TextBox)
Me.Text = box.Name & ": " & box.Text
End Sub
Private Sub Minus_Btn_Click(sender As Object, e As EventArgs) Handles A_Minus_Btn.Click, C_Txb.Click
Dim Txb As TextBox
If x > MIN Then
x -= 1
Else
x = MIN
End If
For i As Integer = 1 To x
For j As Integer = 1 To x
Txb = New TextBox
Txb.Size = New Drawing.Size(100, 20)
Txb.Location = New Point(10 + 100 * i, 10 + 25 * j)
Txb.Name = "Txb" & i & "," & j
AddHandler Txb.TextChanged, AddressOf TextBox_TextChanged
boxes(i) = Txb
Me.Controls.Add(Txb)
Next
Next
End Sub
I want to make TextBox into array and increase/decrease with buttons.
ex) dim x=1 [+] [-]
x = 1:
[]
x = 2:
[][]
[][]
x = 3:
[][][]
[][][]
[][][]
...
But it's made with the code I wrote above, but it doesn't remove.
And it's not array system, it's hard to manage.
You cannot run a successful business without finding leads that can be converted into prospective sales. But that is easier said than done, as studies show that 95% of people who visit a website never return. How can you beat this statistic and make sure that your website’s visitors not only return but also convert? […]
When it comes to staying up to date on viral trends, TikTok is the place to start. Not only is it a goldmine for food, fashion, and beauty hack and tips, it’s perfect for photographers. These...
I tried using this code(below) to change the button text when i run the code from "Button1" to "Click" but when i run the code the name still remains "Button1" and if i click the button the name then changes to "Click". I want the code to show "Click" on the button when i run it not when i click it. Please, how do i do this? And would it work for other tools like label?
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Button1.Text = "Click"
End Sub
I have a question regarding on disabling today date on datepicker, i got this code from internet and it seem like working , but then i realised its starting disable today date from 08:00 am onward and not disable from 12:00 am, seems like its has problem with time zone, i guess.