![]() ![]() If the value retrieved by the the_content() function is an HTML link (the value of the a haref tag) it is putted into a variable (named url, otherwise this variable is setted to null. Now I need to perform the following operation. So, as you can seem into the div having class="service-content" is contained the content value retrieved by the the_content() function. That is rendered into the browser as something like this: So each post content is shown in my page by these lines: ![]() $service_class = ($count_service % 2 = 0) ? "even wow fadeInRight" : "odd wow fadeInLeft" Īs you can see in the previous code, the script retrieve the posts list performing a query and the interate on this list showing this post in a specific way. Saves the data in Json file in the directory for you. Features Automatically extract all posts from a WordPress website within seconds. This helps to collect data from blog which can be used to train bot in many useful way. This is where the URL to your static website will be added. The destination URL to which the HTML content will be placed is specified. This could be a directory, subdomain or, in certain cases, the main domain URL. Use the URL to replace WordPress on your main domain. I have a page that take some informations from a list of post that belong to a specific category and show these informations into something like a "dashboard". WPExtractor is a python-based tool specifically made for Aritificial Intelligence based projects to make dataset. However, this will not replace the WordPress files on your main domain. I am pretty new in WordPress and I have the following doubt.
0 Comments
Leave a Reply. |