Raising revenues…

first_img…or punishing Opposition suPPPorters?The move by the PNC-led coalition Government to raise the rental and drainage costs on the MMA leases to rice farmers, is more than rubbing salt into the wound inflicted on them when nothing was done to regain the lucrative Venezuelan rice and paddy markets. The loss of that 200,000 plus tonnage that was sold at almost twice the world market price which now prevails, has ensured the cost of production is higher than the selling price our farmers now receive.So, the question is why would the Government choose NOW to add to the farmers cost of production by upping the rental costs of land by 600 per cent??!! Sure there’s a case for allowing the costs of rice-land rentals to rise to make up for inflation… but there’s an even more solid case against the increase when the “profits” from the rice produced is now below zero! Using its own logic, to make up for this “deflation” – even without sitting on its hands and ensuring the loss of the Venezuelan markets – the Government should lower the rentals!But like most of its moves, the action by the PNC-led Government isn’t based on economic rationality or even bureaucratic efficiency – it’s based on political vindictiveness. Rice farmers in general – like sugar workers – are supporters of the PPP and they’re seen as fair game to squeeze for its spending programme for the rest of the country. For years, the PNC had been complaining about these “low rentals” as it counted the “profits” the farmers were supposed to be making. Expect the tax man to turn the screw even further on these farmers to get blood from stone.That farmers were bringing in foreign exchange that had shot way past sugar, didn’t cut any ice with the PNC Government. Ditto for the farmers ensuring the price of this food-staple of all Guyanese was the lowest in the region. Since the farmers insisted on supporting the PPP, they had to be taught a condign lesson: the wages of being a PPP supporter is PRESSURE! The move harks back to the first PNC regime when they arbitrarily cancelled the lucrative rice contract with Cuba – and then insisted all rice be sold to their “Marketing Board”.They paid the farmers a pittance and sold the rice for massive profits on the world market. In effect, they imposed an implicit 118 per cent tax of rice farmers. And of course, brought the industry to its knees.But the PNC’s position then – as today – is there are many ways to skin a PPP supporter.So what if the entire country suffers? It’s only (PNC) politics!…on expected oil earningsSherwood Lowe’s usually a very pragmatic fella with his interventions in the Press. One of the technocrats brought into the PNC by Desmond Hoyte, he never succumbed to the hyperbolic excess of the dyed-in-the-wool political types. Until now. Noting Trotman’s suggestion that ExxonMobil prepay for future revenues, sank like the Titanic, he suggested we take out loans with our future revenues as collateral!!What was mind boggling wasn’t just ignoring why Exxon balked (who can predict “future revenues in such a volatile oil market?), but Lowe actually cited the disastrous experience of Ghana and Uganda with oil-collateralised borrowing!! The problem there was folks like Lowe raised such high transformational expectations from oil-revenues, the government was forced to deliver. But couldn’t repay for a host of contingent reasons they had no control over – such as lower than projected production and several costly technical problems.Lowe says we should treat those disasters as “cautions”, but proceed full steam ahead with the borrowing!Maybe Lowe has a lucky charm?…for BanksPrezzie was all agog at Republic Bank opening a new branch on the East Coast. Our history with the privatised banks after 1992, demonstrates that Branches in the country just suctions out the cash – but never intermediate it back to those communities!last_img read more

Hastily completed

first_imgPhivolcs: Cloud seeding in ashfall affected areas needs study “Not a lot of people believed in us except for those within the team and the FEU community. But we’re not done yet. We’ve achieved our goal and we move on to the next.”The format for the semifinals remains to be determined as Ateneo will still play UP on Wednesday.A win by the Eagles will complete a 14-game sweep and also hand them an outright finals spot, while forcing a stepladder format with UP holding a twice-to-beat edge against the winner between FEU and UST.But a UP victory will pave the way for an Ateneo-UST match and an FEU-UP duel with the Eagles and Maroons both armed with a twice-to-beat edge.The victory bore hallmarks of a typical Maroons’ performance this season: A big and boisterous UP crowd in attendance, an early double-digit lead wasted and a fourth quarter-deficit overhauled with some gutsy, electrifying individual plays.ADVERTISEMENT No need to wear face masks in Metro Manila, says scientist 2 village execs nabbed in Bohol buy-bust Together, the Fighting Maroons and Tamaraws are headed to the Final Four with a clear mission: Topple two-time defending champion Ateneo.The Maroons hammered out another pulsating victory, this time over the De La Salle Green Archers, 71-68, to claim a twice-to-beat advantage for the first time in the Final Four era at Ynares Center here.FEATURED STORIESSPORTSAndray Blatche has high praise for teammate Kai SottoSPORTSBig differenceSPORTSAlmazan status stays uncertain ahead of Game 4The Tamaraws also continued their late-season revival with an emphatic 82-68 triumph over also-ran University of the East that allowed them to join Ateneo (13-0), UP (9-4) and UST (8-6) in the next round.“Who would have thought we would make it to the Final Four,” said FEU coach Olsen Racela, whose team reached the semifinals for the seventh straight season—the longest active streak in the league even after losing four of their first six games. ‘Gago’ Athletics bets shine in test event MOST READ LATEST STORIES DSWD Bicol donates P1.5M worth of food packs for Taal eruption evacueescenter_img ANTIPOLO—True to its identity this season, University of the Philippines recovered just when it looked like the Fighting Maroons were about to bungle a golden opportunity.Far Eastern U, meanwhile, showed its inconsistent ways are now a thing of a past.ADVERTISEMENT Lava gushes out of Taal Volcano as villagers flee Daybreak as smoke, ash billows from Taal volcano PLAY LIST 01:04Daybreak as smoke, ash billows from Taal volcano01:05Poor visibility, nakaapekto sa maraming lugar sa Batangas03:028,000 pulis sa Region 4-A, tuloy ang trabaho03:57Phivolcs, nahihirapan sa komunikasyon sa Taal01:04Sold-out: Stores run out of face masks after Taal spews ash01:45Iran police shoot at those protesting plane shootdown 400 evacuees from Taal eruption take refuge in Mt. Banahaw ‘People evacuated on their own’ “The point of everything is what will be our performance come playoff time,” said UP coach Bo Perasol, after the Maroons secured their ninth win in 13 games.“But today was not just about positioning, but also surviving. There were ups and downs, but we had to win this game for the UP community. They came here in throngs and they’ve supported us all throughout.”The Maroons can rest easy—for now—after surviving the Archers’ late onslaught heading into the final 2:54 where they faced a four-point deficit.Sports Related Videospowered by AdSparcRead Next Don’t miss out on the latest news and information. View commentslast_img read more

Folau sues for ‘substantial’ payout from Rugby Australia

first_img“No Australian of any faith should be fired for practising their religion,” the 30-year-old said in a statement.Folau’s contract was terminated last month after a Rugby Australia tribunal found him guilty of a “high-level” code of conduct breach for posting on social media that “hell awaits” gay people and others he considers sinners.Folau opted not to appeal against the tribunal ruling, voicing a lack of confidence in Rugby Australia’s process.Instead, he has taken his case to the court system, saying his treatment left him “no choice but to stand up for his beliefs and the rights of all Australians”.“The messages of support we have received over these difficult few weeks have made me realise there are many Australians who feel their fundamental rights are being steadily eroded,” he said.Folau’s statement revealed the argument his legal team will pursue, including his assertion that he simply posted a message from the Bible.– ‘Divided loyalties’ –The fullback, Super Rugby’s most prolific try scorer, was on a four-year contract worth more than Aus$1.0 million ($700,000) annually when he was sacked.“The termination of Mr Folau’s employment contract prevented him from playing at the peak of his career and on the cusp of a Rugby World Cup, which would have likely generated even greater exposure and opportunities,” his statement said.“Accordingly, Mr Folau is seeking substantial remedies from his former employers.”The Sydney Morning Herald said Folau would be seeking Aus$10 million, including lost sponsorship and marketing opportunities, a sum it said could bankrupt Rugby Australia if they lose the case.The action, which names both Rugby Australia and his Super Rugby club the NSW Waratahs, claims of breach of contract and unlawful termination under the Fair Work Act, which protects employees from being sacked because of their religion.Folau’s post has sparked heated debate in Australia, with some defending his right to express views he sees as central to his religious beliefs.Rugby Australia and NSW Rugby Union defended their decision to axe Folau on Thursday as a breach of contract issue, with the fullback failing to abide by commitments he would not disparage people on the basis of their sexuality.“He was bound by a Code of Conduct for all professional players in Australia that spells out clear guidelines and obligations regarding player behaviour, including respectful use of social media,” they said in a joint statement.The governing bodies said that an independent panel sat for 22 hours and reviewed 1,000 pages of evidence to determine “that Israel’s conduct constituted a high-level breach” of the code.A long-drawn out court battle could prove costly to Rugby Australia, who have already foreshadowed a financial loss in 2019 — a scenario that often plays out in a World Cup year when there are fewer home Tests.Meanwhile, the Waratahs revealed Folau’s brother John had cut ties with the Sydney-based side.“John has been in a difficult position for the last wee while,” coach Daryl Gibson said of Folau’s younger sibling, a journeyman signing who has never played for the team.“He has got really divided loyalties to his family and his brother and then also to the team. He wanted to stress how much he enjoyed being with the team and what a difficult decision it was for him.”0Shares0000(Visited 1 times, 1 visits today) 0Shares0000Israel Folau was sacked for an anti-gay statement on social media © AFP/File / GEOFF CADDICKSydney, Australia, Jun 6 – Sacked Wallabies fullback Israel Folau launched legal action Thursday against Rugby Australia’s decision to dismiss him over homophobic social media posts, saying he was seeking “substantial remedies” from the governing body.The devout Christian said he was defending freedom of religion by taking his case to Australia’s employment watchdog the Fair Work Commission.last_img read more

Chelsea working on £24m deal for Napoli defender Kalidou Koulibaly – reports

first_img Kalidou Koulibaly [right] in action for Napoli Chelsea are ready to splash £24m on Napoli centre-back Kalidou Koulibaly, according to reports in Italy.Incoming Blues boss Antonio Conte is determined to strengthen his defence this summer and he has earmarked a number of targets.Juventus star Leonardo Bonucci is high on Conte’s shortlist, as is Everton centre-back John Stones.However, according to Gazzetta dello Sport, Chelsea are prepared to shell out £24m to land Koulibaly.The 24-year-old was linked with the likes of Southampton and Norwich last summer but after a brilliant season in Italy his stock has risen.Now Arsenal, Chelsea and Manchester United are all after the Senegal international and he is expected to leave Naples for a hefty transfer fee. 1last_img


first_imgThere’s a lot of people out there who like Rose McGettigan’s buns!In fact, there are at least 450 of them.That’s how many cupcakes Rose sold for charity in just one lunchtime last week. Rose raised a superb €1,030 for the Irish Heart Foundation when she sold her cupcakes at the Department of Social Protection in Letterkenny where she works.“I never want to see a cupcake again,” said Rose when asked about her super charity cake bake.Rose, along with her family and friends, pitched in and baked the cupcakes while her colleagues kindly sponsored the ingredients.And Highland Bakery sponsored the plastic cases in which they were transported. Rose’s colleagues all paid tribute to her selfless bake-off and proved that you can have your cakes and eat them!  ROSE HAS HER CAKES (450 OF THEM!) AND THE STAFF EAT THEM! was last modified: February 22nd, 2012 by StephenShare this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to share on Skype (Opens in new window)Click to print (Opens in new window) Tags:cupcakesRose McGettiganlast_img read more

Lane lashes coast, heads for Baja

first_img AD Quality Auto 360p 720p 1080p Top articles1/5READ MOREThe Christmas Truce of 1914 proved that peace is possible160Want local news?Sign up for the Localist and stay informed Something went wrong. Please try again.subscribeCongratulations! You’re all set! MEXICO CITY – Tropical Storm Lane lashed Mexico’s Pacific coast with winds and rain, flooding streets in Acapulco before setting on a course to hit the hurricane-battered tip of the Baja California Peninsula. The storm was centered Thursday about 95miles southwest of Manzanillo and was moving northwest at 10mph. It had maximum sustained winds of 60mph. A tropical storm warning and hurricane watch were issued for a stretch of coast southeast of the resort of Puerto Vallarta. The storm was expected to strengthen to a hurricane on Thursday night or today, then hit land near Cabo San Lucas late Saturday.last_img read more

South African initiative targets entrepreneur culture

first_img31 August 2015Some of South Africa’s more popular celebrities were at the launch of Step Up 2 a Start Up, a programme that teaches schoolchildren and students about entrepreneurship, to share their experiences of trying to make it on their own in the business world.Held at Monte Casino, Johannesburg, on 27 August, radio personalities Gareth Cliff and Bob Mabena, actress Boity Thulo and DJ Sbu told their stories to more than 300 businesspeople and government officials on the night.Cliff, who has his own radio show, CliffCentral, opened the evening by saying Step Up was the largest entrepreneurship programme in Africa, with about 30 000 pupils involved. Besides educating them about entrepreneurship, it gets them to design, make and sell their own goods. Cliff left 5fm in 2014 to start his own podcast show that can be streamed online. A year on and the platform is steadily growing.DJ Sbu, who describes himself as a social entrepreneur, innovator and creator, spoke about his journey from underprivileged life in Tembisa to popular DJ and businessman. He implied that one of the main characteristics of an entrepreneur was to be a selfless giver.He learned this trait from PrimeStars managing director, Martin Sweet. Selflessness, said Sweet, was something participants in the Step Up programme learned. “Step Up 2 a Start Up gets learners to empathise with the people for whom they are designing products.”A person’s DNA, Sweet added, did not guarantee success or failure; rather, old- fashioned guts, determination and hard work did. “Turn your genes into overalls and get working. Entrepreneurship is about possibility and creating jobs. It’s central to solving South Africa’s economic problems.”The minister of small business development, Lindiwe Zulu, said that though South Africans were feeling the financial pinch that stemmed from our economy, they were still persevering. “South Africans believe in themselves because if we didn’t, we wouldn’t be here. We don’t want to go anywhere so we have to pull together to make this country work.”She was in Mpumalanga earlier in the day, she said, speaking to rural women from remote villages who were the economic backbone of their communities. Zulu said the women were self-reliant and entrepreneurial. All they wanted was for the country’s laws and government to support them.National Youth Development Agency chairperson Yershen Pillay was on hand to receive the Step Up 2 a Start Up Award on behalf of his organisation for the work it had done in supporting youth in business. “Entrepreneurship is the engine of an economy,” said Pillay. “Unfortunately, we come from a culture that prizes job seeking instead of job creation.”Yet despite this, he said, South African youth were becoming a lot more innovative with their ideas, which could lift the country’s economy, particularly when it came to the environment. “The young are looking at pollution not as a challenge but as a business opportunity. It will transform our economy.”Actress Thulo said her life was changing slowly, veering towards entrepreneurship. “By becoming an entrepreneur I tapped into a creativity I didn’t know I had.”The author of Rich Dad, Poor Dad, Robert Kiyosaki, gave some sage business advice through a video message made specifically for the event. “Learn to fail faster and when you do, don’t beat yourself up. Design products, make it, sell it,” said the American businessman.last_img read more

Google Mashup Editor

first_imgRelated Posts Why Tech Companies Need Simpler Terms of Servic… Top Reasons to Go With Managed WordPress Hosting Tags:#web lachlan hardy 1center_img A Web Developer’s New Best Friend is the AI Wai… I just got in to the shiny new beta for the Google Mashup Editor and I wanted to share my thoughts on it with you. Like Yahoo! Pipes before it (our review here), the Google Mashup Editor provides a simple interface that enables developers to make basic web applications and mashups quickly. And again, like Yahoo! Pipes, it is very definitely aimed at developers.The idea behind it is to provide a rapid development framework for mashing feeds into Google services, using common technologies such as XML, JavaScript, CSS and HTML. It also offers a JavaScript API for more advanced behavioral interactions. Google describes the Mashup Editor as “a great tool for grabbing information from feeds and letting users see and manipulate it.”Google Mashups Editor, showing code for a ‘Hello, World’ application.DocumentationFor keen developers who haven’t yet received access to the beta, there is a strong set of resources you can use to start learning the GME application functionality, structure, code and controls that don’t require a login. Ample documentation is available, including a diagram of the application structure and a comprehensive tag reference. Typical of Google, the documentation is the bare necessities, without even a index of the listed tags at the top of the reference page. Also, there is currently a short list of articles & tutorials, a FAQ, the official project blog, and, of course, a Google Group.ComponentsThe application itself is divided into 3 main parts: the Editor, Feed Browser and Sandbox. A screenshot of each is included in this article.The Editor is for building projects. Each project can have multiple GML files (I’d guess that stands for Google Markup Language, but it’s not documented), and you can also upload resource files such as JavaScript or images. Each GML file can contain a mix of XML, HTML, JS, CSS and the GME tags. The examples don’t encourage good coding practices, but at least you have a lot of flexibility with how you code the applications.The GME Feed Browser, browsing the Read/WriteWeb feed.The GME Feed Browser is a convenient tool for checking your source feeds. You can use Google Base, or external feeds that you source yourself. The documentation frequently suggests using Yahoo! Pipes to clean up feeds before bringing them into GME. It offers some simple options for choosing the maximum number of results and pages you want returned.The Sandbox is the simplest of the GME components. It’s a running version of your applications. Just hit ‘Test’ in the Editor and, after a sluggish pause, you’re automatically delivered to the Sandbox where your application begins running. You can test all functionality and see how your app will look. It also offers a simple option for viewing it as a Google Gadget.The GME Sandbox, displaying a quick basic app I wrote for reading Read/WriteWeb feeds.PublicationPublishing is as simple as pressing a button and choosing a name for your application. That name becomes the subdomain at googlemashups.com, such as this sample application at http://mapwiki.googlemashups.com/. Google curates a full gallery of other mashups. Getting your mashup live and into that gallery as quickly as possible will result in massive exposure – the balance will be making sure it’s good enough to stand out.ConclusionThe Google Mashup Editor is an incredibly powerful tool for rapid testing and deployment of mashup concepts, particularly those that utilize Google services or products. This opens the space to all those developers who don’t have their own servers to play on and gives them a framework to kickstart development. It’s simple easy and fun to produce something very quickly, but it will be much harder to produce fantastic products. Nonetheless, the cost-savings in development time are going to make this a popular testbed for all sorts of concepts. Google Mashup Editor is a name you will hear a lot in future. 8 Best WordPress Hosting Solutions on the Marketlast_img read more

How To Build A Website With The WP Page Builder Plugin

first_imgHow To Build A Website With The WP Page Builder PluginYou are here: HomeWeb DesignHow To Build A Website With The WP Page Builder Plugin (Large preview)OK, the theme is installed, the page builder is installed, and the page is prepared. What do we do next? I’m sure you’ve been in this position when using page builders before; you just don’t know what to do with the page. You don’t even know what you can do with the page. It’s the standard “blank canvas” problem.However, I discovered something called “Layouts” in the plugin’s sidebar. And the way it works impressed me.Page LayoutsPage layouts are complete pages, ready to be imported in your WordPress website. Sounds cool, doesn’t it? Watch this:(Large preview)As you can see, there are many templates, and most of them are paid. A few are free, though, and you can use them to get some inspiration.The best part with this importing is that it doesn’t bloat WordPress. You can wipe out the page content with two clicks, and nothing is left. Even the images are not loaded to WordPress’ library.You can test many concepts and options, and adjust everything to your needs without ending up with a ton of unused things imported into your WordPress installation. I really like that.Composing The Home PageMy initial idea for the home page was a few images of the park and some features highlighted.After getting inspired by the layouts prepared by Themeum, I started with a header image, and I created my other pages, as well as the main navigation.I decided not to use any layouts because the blocks and addons are very simple to use, and they come with default content.I started with a big image section just beneath the header, with a fixed background and a generic title. (Large preview)This is probably why the plugin comes bundled with a page template called WP Page Builder Template. It spreads the content you build across the whole page, and only the header and footer of the theme are used.The content looks way better now. I think this page builder could fit into any theme using this page template. (Large preview)Configuring this section was very easy, but I had some trouble with the custom font for the headings. I figured out that I have to remove my previous selection, and then I’m able to pick a new font family.One thing I like is the way you can adjust the addon’s padding live on the screen:(Large preview)For the next section, I decided to use a predefined content block, which looks perfect for me. Adding it to the page is also very simple: Just drop it in the desired spot, and adjust the sample content.(Large preview)Filling in the content was a breeze, and I quickly reached the last section, the call to action. There, I used the call-to-action block with very simple content. (Large preview)The most interesting part is that WP Page Builder integrates with the Contact Form 7 and weForms plugins. You can even add a simple CAPTCHA or use Google’s reCAPTCHA after providing the website’s keys.Very cool addon. Submissions to the form come to my inbox without any problem, including all of the fields, and the user sees a nice confirmation message upon submitting the form.SummaryI must say that WP Page Builder is a solid plugin. Obviously, it have some flaws, but it’s still a young product, and I’m sure Themeum will fix all of the bugs and implement the improvements mentioned in this article.The overall feel of the plugin is great. The plugin does most of the heavy lifting, and you don’t have to think about how to do what you want because it’s mostly already done. The default content does a really good job and speeds up the work.Themeum is right: Building a page with its plugin is simple, but not because the plugin is basic. The plugin is intuitive, yet packed with cool addons.I used only a few of the addons, but the plugin comes with a lot more. Blocks you’d normally spend hours trying to figure how to implement are a drag-and-drop away when using the WP Page Builder plugin.For example, progress bars, social icons, testimonials and flipping content boxes are ready and waiting to be used. It’s hard to convey the experience in writing. You just have to install the plugin and see for yourself. (Large preview)Installing The PluginWP Page Builder is free, and you can download it from Themeum’s website. It’s also easy to install via WordPress’ admin panel, but because the plugin is new, you’ll have to scroll down the list to find it.Look for the one with the cool blue “P” icon with a square inside.(Large preview)After installation, you will not be bugged with any splash screen, and the only new thing in the admin area you might notice is a new item in the menu. This is the plugin’s general settings page, where you can control a few things such as which post types the plugin should support and who should be able to edit a page with the page builder.I like that the plugin does not take over the whole admin panel. It’s discreet, and you are not even forced to use it to create pages or posts: (Large preview)After clicking the button, you are taken to a new screen where the page builder really makes an appearance.(Large preview)The overall look and feel are very good. I particularly like the way the responsive options work; the whole website shrinks with a nice animation when you click the tablet or mobile icon.All of the content and options you can tweak are on the left side, which is pretty convenient because the editing panels are not mixed up with the actual page content.What I find not so great are the row and addon toolbar icons. They are just too small, and you cannot really distinguish them from each other without getting closer to the monitor. Also, I had to think a while about the menu items on the left, because the name “Addons” was a bit confusing to me. In this plugin, addons are the pieces of content you place on your website, not premium addons that you can install to make your website even cooler.Another thing needed is support. There is none. It would be very nice to have some help text, even though the page builder seems to be very easy to use. For example, the “Library” tab doesn’t have any content, and I don’t really know what it is or what I can do with it.Aside from these small things, I like this editor. Let’s proceed to set up our first page!Creating The Home PageBy default, you can put the content created with WP Page Builder in one spot, where standard content would appear. While this would be the expected behavior with most themes, it’s not in my case. I don’t want my content to be squished together in the default template: How To Build A Website With The WP Page Builder Plugin How To Build A Website With The WP Page Builder Plugin Jakub Mikita 2018-10-02T13:30:17+02:00 2018-10-02T11:29:36+00:00(This is a sponsored post.) WordPress page builders are the first choice for creating a perfect website without any help from a developer. And a new one is on the market that we are going to test in this article. It’s WP Page Builder. We’ll learn how to use this page builder plugin to create a website.WP Page Builder is a free plugin that integrates with any WordPress theme. You can easily drag and drop elements onto the pages you are building, and you don’t need any coding skills to do so.At least, that is the developer Themeum’s point of view, which I’ll put to the test in this article. Does the plugin really help us build a website so easily? Are we able to achieve our goals for a website with it? We’re about to find out.Let’s go through the process of building a real website using the WP Page Builder plugin. We’ll build a website of a few simple pages related to the fictional Rockhedge Park. We’ll learn about the plugin from installation to website launch.Our goals are to:quickly create the website,create a home page with the park’s features and highlights,create a page to help visitors find the park,create a contact page.Let’s start with a blank WordPress website, with the Twenty Seventeen theme installed. (ms, ra, al, il)From our sponsors: How To Build A Website With The WP Page Builder Plugin (Large preview)Et voilà! The process of creating the page was very simple, and I enjoyed it.Creating The “Find Us” PageThe next page is the one where people can easily find our park. This involved the use of more advanced sections, like a map.Unfortunately, the map addon isn’t available in the free version of the plugin, so I decided to write that one myself and see how the plugin’s code base looks.The code is not bad at all. It’s clear and easy to read, despite the fact that there are almost no inline comments. I haven’t found any documentation whatsoever, so I had to dig in to see how I could extend the plugin. And it didn’t look like I needed much — just an addon class and filter.Custom Google Map AddonWhen you don’t have any documentation, the best approach is to copy and adjust existing code.A lot of configuration options seem to be available, some of which really need strong documentation. But for our case, we’ll make a simple Google Map iframe using a Google API key, with a place to query and the iframe’s height.This is what our class looks like:class JakubMikita_Addon_GoogleMap{ public function get_name(){ return ‘jakubmikita_googlemap_block’; } public function get_title(){ return ‘Google Map’; } public function get_icon() { return ‘wppb-font-location-map’; } // Google Map block Settings Fields public function get_settings() { $settings = array( ‘apikey’ => array( ‘type’ => ‘text’, ‘title’ => __(‘Google Maps API key’,’wp-pagebuilder’), ), ‘place’ => array( ‘type’ => ‘text’, ‘title’ => __(‘Map place’,’wp-pagebuilder’), ), ‘height’ => array( ‘type’ => ‘number’, ‘title’ => ‘Height’, ‘unit’ => array( ‘px’,’em’,’%’ ), ‘responsive’ => true, ‘std’ => array( ‘md’ => ‘500px’, ‘sm’ => ‘500px’, ‘xs’ => ‘500px’, ), ‘tab’ => ‘style’, ‘selector’ => ‘{{SELECTOR}} iframe { height: {{data.height}}; }’, ), ); return $settings; } // Google Map Render HTML public function render($data = null){ $settings = $data[‘settings’]; $apikey = isset($settings[‘apikey’]) ? $settings[‘apikey’] : false; $place = isset($settings[‘place’]) ? $settings[‘place’] : false; $output = ”; return $output; } // Google Map Template public function getTemplate(){ $output = ”; return $output; }}Looks simple, right? At the top, we have three methods that identify the addon: name, title and icon.The next method, get_settings(), is where we define all of the user inputs. We define them as an array; I just looked at other addons to figure out the fields I can add. Pretty simple and easy to implement.I figured out that the next method, render(), is used on the front end. It gets all of the user settings and returns the map iframe.The last method, getTemplate(), is used on the page builder screen. Having two methods render the same code is not great, but I suppose the reason for it is that the second one has to be parsed with JavaScript.Another thing that would work better is the method of registering an addon. If this were a more advanced addon, I’d want to include the CSS and JavaScript in separate files. Not very convenient, but also not the end of the world.The last thing we have to do to register the addon is include it in the array, which we can do with a simple filter:add_filter(‘wppb_available_addons’, function( $addons) { $addons[] = ‘JakubMikita_Addon_GoogleMap’; return $addons;} );That’s all. The process is quick and simple. Here is our custom addon:We’ve now got an awesome full-page map on this page.Creating The “Contact Us” PageFor the last page, let’s put a contact form. I was about to install one of the popular contact form plugins when I noticed the “Form” addon. I gave it a try.Surprisingly, when I dropped the addon onto the page, I saw all of the fields I wanted already configured and aligned nicely. Posted on 2nd October 2018Web Design FacebookshareTwittertweetGoogle+share Related postsInclusive Components: Book Reviews And Accessibility Resources13th December 2019Should Your Portfolio Site Be A PWA?12th December 2019Struggling To Get A Handle On Traffic Surges10th December 2019Building A CSS Layout: Live Stream With Rachel Andrew10th December 2019How To Design Profitable Sales Funnels On Mobile6th December 2019How To Build A Real-Time Multiplayer Virtual Reality Game (Part 2)5th December 2019last_img read more