Create a fully customized travel blog with WordPress

If you travel frequently, it is possible to record your adventures. This may be a partial image of an official blog, detailing twitter, personal laptop or experience. But if you don’t have a travel blog and are still considering starting, no matter what you want to share today, I will tell you how to make a diary suitable for you. If you already have a perfect site that can use find location to host travel blogs, skip down. If you want to know the setting method, please refer to this section! By default, there are three methods. The advantages and disadvantages of using wordpress.com to install and use the local environment, and when and which you want to use. The
Wordpress.com wordpress.com provides instant websites, but this is WordPress. Become a subdomain of com. That is, the URL of the website is mytravels. WordPress COM and mytravels. WordPress Com WordPress has millions of websites, so you may not find regular websites that have not been used. Male wordpress Com provides free web hosting. The advantage is that the site is automatically set up and updated. There is almost everything on the server that is the same as backup or at least relatively safe from the point of view of data loss. You don’t have to worry about other unexplained hosting that might prevent server downtime or creation when needed. The
The disadvantage is that the required subdomains may not be available, and WordPress is available on the URL. Including com. If you are a developer or want to keep data within reach, you may miss some because there is no accessible database or administrator panel and fewer server level options. If you are willing to pay a fee ($13 per year), you can map your domain to the system to eliminate the sub domain problem. In general, if you do not need to access the database, you will be fined if you do not fine tune the server. If there are other – more complex – problems, WordPress. Use COM. The
After self hosting and self hosting are actually set up, WordPress. This is not much different from using COM. Many hosts have a one click installation that works in the box. In other words, the process of installing WordPress after purchasing the server is WordPress. It is still more complicated than using COM. Male wordpress Org provides its own software to host its own website. The advantage of self hosting is that you can control more data. The image is located on an accessible server, so you can it all to your computer, install the required plug-ins, and easily use all the required themes, including custom created themes. The
The disadvantage of self trusteeship is that it faces more risks. You can potentially disable the site by installing a defective plug-in. In this case, you may need to contact the host for resolution. If you are overseas, it may be difficult. WordPress Large infrastructures such as com can reduce the exposure of specific attacks. In short: complete control of all data and \/ or word press. If you need impossible customization in an administrative environment such as com, you must go to your own hosting site. The local environment is good because there is no need for a local Internet connection. This may be the only viable option if it helps to reduce costs or is actually in the field. The local environment works the same way as your familiar online environment, but the image and all the data are stored on the hard disk. The
Male desktopserver is a great option for setting up the localhost environment for word press. Its advantage is that it can completely control the data.
It physically owns data and can protect complete personal information. WordPress You can create personal logs in com or your own managed installation, but the local environment provides full protection. The downside is that you have to set it up yourself. It’s easy, but if nothing works, it will be difficult to repair on the road without such experience. Another drawback is the inability to store things in the cloud. If personal information protection is more important than this, it is controversial, but if not, I prefer to store images on Amazon or other servers. The
If you are a developer or want to record progress when moving to a place without Internet connection, it is recommended to use the local environment. For more information, see the article on local development preferences. After you install and start WordPress, you can add several default plug-ins for travel. The premise of this article is to create a flexible system where you can add whatever you need, so you must install at least the first advanced custom field. The advanced custom field Akismet must be pre installed to add custom data in a user-friendly manner. This prevents commenting on spam. The personal site in jetpack adds all the excellent functions from better gallery to social sharing. You can limit the site to only the logged in users. In addition to Amazon Web services and WP offload S3 Amazon S3 Amazon S3, which store images on Amazon servers, it is very easy to set up these plug-ins. We will review ACF extensively. I like to store my images on Amazon servers, because you don’t need to move my images and other media content, so you can easily migrate my site anywhere. The
To do this (completely optional), review the article on moving word press media to Amazon S3. Install the immediately available WordPress together with some plug-ins. Without adding too special WordPress, we can make a good travel diary with free themes and some basic functions. Take a look: 1. Publication formats publication formats allow you to specify the type of content you enter as in Tumblr. On the front end, this can make a visual difference, and it can also distinguish the content by type. The
2. wonderful theme I will use the new free theme Yuta learned in wtavern. Male Yuuta – the free theme we will use I think this theme is beautiful mini. This is good because it is visually attractive and easier to modify. You can work with a minimum of styles. 3. recommended pictures recommended pictures can visually distinguish posts, making the website look cool. Almost all topics are widely used. Yuuta is used for the title. For posts in image format, all text is nested in the image itself. The
4. in gallery word press, you can easily add gallery. Just upload multiple images in the \
If you switch to a new sub topic during the summary 7d9788a0eca709ecee9a loading process and perform all operations correctly, you can see that there is no difference in the front end. In this example, we will create a post about traces and display all other data related to location and. When editing a post, the options are displayed as follows: Do not modify the trail post option, display the recommended image at the top and some text at the bottom, such as the following image. To start Yuuta’s default post shape, you must find the file that displays the content of a single post in the parent topic and copy it to the topic. The file name is content single. PHP and add all the code shown below to the end of the entry content directly below the Div. The code must be on line 45. It is easier to add data rather than location first. Execute a simple table, so use the_field() function in ACF to import data into an HTML table. Abstract during the loading process of 7d9788a0eca709ecee9a, whenever a field is based on a number, text, field selection or similar single value, you can use the_field() function to obtain the value. If in a ring, only the field name of the first parameter is required. You can use the post ID outside the ring, or you can use the object name and ID for objects that are not posts. For details, see the ACF documentation. For more complex data such as positions or images, there are two options. Some fields allow you to set the return data. The file field I use can return a file object, file URL, or file ID. The latter two values are simple values, so the_field() will be returned as expected. To import data from more complex data, such as file objects, use get_field() in array format get_field(). In most cases, you can still use the_field (), but the array is only printed on the screen, so it is not very useful. In this case, you can choose to return the file URL so that you can easily connect using the_field(). So far very happy Time of location. After printing the location field, you will see the address, latitude, and longitude. We can show this on the table, but is it great to have a physical map? You can do this using the Google Maps API! To do this, there are three steps. First, go to the Google developer console to register the application. You must obtain the API key according to the instructions on the screen. Second, the JavaScript API must be queued using the requested API key. Finally, add some code to display the map. Add the script to the td\u themes\u styles() function that must already have td\u themes\u styles() in the queue: In the summary 7d9788a0eca709ecee9a load, add the following code to the table we created. The description will continue! During the loading of the concave 7d9788a0eca709ecee9a, the position field is imported first. Secondly, a title showing latitude and longitude was added. Here are the elements to include the map: The following JavaScript uses the Google Maps JavaScript API to display simple maps. The operation result must be the same as the screen capture below. It may look better to add customized content to the travel log, but considering how much work we have done, it looks cool! If necessary, you can add some styles to the style sheet of the sub theme to make it more beautiful. Adding a front-end filter now has all the permissions to display data, but how to allow users to browse posts in multiple ways? If you just look at the difficult and easy way, uh
Nervous? Let’s activate it in two steps. First, modify the home page query to allow this, effectively creating links to share them on the page where you want to display these posts. Second, add several links to the navigation and allow the data table to connect to this page. To complete the first part, we will use the slightly dangerous pre_get_posts hook. It affects all queries of the site and therefore administrators. For example, if you use to exclude a specific category from the home page without using the correct conditional sentence, it may be excluded from the list of administrator posts. In other words, if there is a problem, disable the function, and everything will return to normal. I did the following: Only when the additional query factor I set is located on the home page during the loading of the feed 7d9788a0eca709ecee9a, the query is the default query (not the auxiliary loop query), and the meta_key and meta_value query parameters are available can it be started. If these conditions are met, it will be added to the query as a parameter, and only posts with specific metadata values set will be displayed. This applies not only to other key value based information, but also to difficulty customized data. It can be used to connect all rails 20 minutes long. When this is ready. http:\/\/mywebsite.com\/?meta_key=difficulty&meta_value=easy Links to tracks that list all simple difficulties. Here, you can add it as a link to the navigation menu and modify the difficulty display in the above table, as shown below: If you are interested in optimizing the management of hot add experience during the loading of 7d9788a0eca709ecee9a, you can also modify the manager to better adapt. Suppose you create a post for each location you visit. In addition to the location field of all posts, you can also add the \

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *