Welcome to the official blog of the community/outreach team for the WordPress open sourceOpen SourceOpen Source denotes software for which the original source code is made freely available and may be redistributed and modified. Open Source **must be** delivered via a licensing model, see GPL. project!
This team oversees official events, mentorship programs, diversity initiatives, contributor outreach, and other ways of growing our community.
If you love WordPress and want to help us do these things, join in!
We use this blog for policy debates, project announcements, and status reports. Everyone is welcome and encouraged to comment on posts and join the discussion.
You can learn about our current activities on the Team Projects page. These projects are suitable for everyone from newcomers to WordPress community elders.
You can use our contact form to volunteer for one of our projects.
We have Office HoursOffice HoursDefined times when the Global Community Team are in the #community-events Slack channel. If there is anything you would like to discuss – you do not need to inform them in advance.You are very welcome to drop into any of the Community Team Slack channels at any time. four times a week in the #community-events channel on Slack: Mondays & Wednesdays 22:00 UTC, Tuesdays and Thursdays 9:00 UTC.
Events WidgetWidgetA WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user.
InDesign’s Data merge is a wonderful feature that allows you to generate several unique PDFs from a single CSV file. This is traditionally used to print thousands of envelopes or mailers, each with a unique address or some other varying information. We can use this feature to print a large amount of conference badges, perfect for WordCamps! This example in this article will produce a badge that includes a first and last name, Twitter handle, and a GravatarGravatarIs an acronym for Globally Recognized Avatar. It is the avatar system managed by WordPress.com, and used within the WordPress software. https://gravatar.com/..
If you don’t have a copy of InDesign, you can download a trial version. If you have a layout program that you prefer to InDesign and have already written a script for it – or would like to work with us to write a script – please email firstname.lastname@example.org to tell us all about it.
If you’re using CampTix to sell your WordCampWordCampWordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. tickets, then you can export your list of attendees as a CSV file. The CSV file will include a bunch of columns that you don’t need, so you can clean it up and delete those columns in a spreadsheet editor. The only columns you need are the ones that will be on the badge (First Name, Last Name, and Twitter) plus their email so that their Gravtars can be slurped. It should look something like this:
First Name,Last Name,Email,Twitter
The file won’t have the Gravatar info at this point, but we’ll get to that next.
Next you’ll need to run a script that will take the CSV of CampTix attendees, download their Gravatar images (based on the email that the attendees gave), and generate a new CSV with an additional column for the images.
To run the script, you’ll need to give us two things: the CSV file with the attendees’ info and the local file path on your personal machine where you’ll keep all of the images (for the data merge to work, you have to store all of the images locally). For example:
We’re working on making this process more user-friendly, but for now it’ll be easiest if you ask a developer on your team for help.
Update the configuration values in the first 20 lines to match you environment
From the command line, run ‘php camptix_gravatar_badges.php’
This will look for the Gravatars in a folder named “wordcamp-badge-images” on user Dave’s Desktop. You can read more about the path syntax and how to determine it in this InDesign data merge help doc. After running the script, your new CSV file should look like this:
Note that the headerHeaderThe header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. for the image column has to begin with “@”. This lets InDesign know that that column contains images.
Some additional things that the script does:
If no Twitter handle was provided, then fill in the empty cell with their first name. Depending on the badge design, you may just want to leave that cell blank.
If the attendee didn’t put “@” at the beginning of their Twitter handle, add it in.
If the attendee has no Gravatar, add in “mystery-man.jpg” as the filename. The “mystery-man.jpg” will serve as the fallback image.
Now that you have a proper CSV file you can create the merged document. If you have any static artwork, place it in a Master page, and then make sure that your first page has that Master page applied. Next, place text frames and image frames (if you’re using images) where you’d like the varying content to go. It’s easier to adjust the font, color, size, etc. after you have placed the content from the CSV file.
Make sure you have the Data Merge panel open by going to Window > Utilities > Data Merge. Select your CSV file by going to Select Data Source… in the flyout menu.
The panel now lists all of the headers for the columns in the CSV file. Start by dragging items from the list onto the corresponding text and image frames on the canvas. This will fill the frames with the header name wrapped in angle brackets, e.g. <>. The same will happen when you place an image from the list in an image frame, but the output will be the image specified in the path in the CSV file. To adjust how the image fills the frame, go to Content Placement Options… in the flyout menu. There are several options here such as removing blank lines if the values are empty and linking images instead of embedding them. Here’s what my Data Merge panel looks like after placing a couple things:
After you’re done, you can preview the document with the checkbox in the panel and check for correct copyfitting. Click on the arrow icon in the bottom right of the panel when you’re done to create a merged InDesign document or click on Export to PDF in the flyout menu to export a PDF directly. In the panel that appears, make sure that “Generate overset text report with document creation” is selected. This will give you a warning if any of your codes are too long to fit inside their textbox container. Here is an example of one of the badges before and after the merge:
It’s important to note that you can have several text frames with the same header value, which is how I made the shadowed text effect. It’s just 3 different text frames on top of each other, each set in a different font.
Depending on the printer’s preference, you may need to split the generated PDF into separate ones.
The possibilities are endless! You can run the PDF through a batch Photoshop action to automatically apply some texture to the badges if you wanted.