How to change content of elementor widget by code without UI - php

I am developing WordPress plugin that can be generated pages with elementor template. After generating pages, I want to change the content of page from plugin without accessing elementor UI.
Pages generating part has been completed.
Now my problem is changing elementor widget content according to plugin settings when submitting plugin settings.
I have gone through the elementor developer documentation and still couldn't find a solution.
Elementor save entire page content in one database row of WordPress database.
IT would be really appreciated if anyone has a solution with this from elementor side or database side.

Related

Problems with my wordpress template made with bootstrap

I have been developing a site for the prelaunching campaign of our product on kickstarter.
I had coded the site in bootstrap and then ported it to wordpress.
The thing is that I installed the wordpress prelaunchr plugin. When I try to add the shortcode [prelaunchr] and update the page, appears nothing new on it.
Any kind of hint will be much appreciated.
I have checked the plugin with other wordpress themes and there is no problem so the root of the problem is the bootstrap ported template.
(here is the site, the only thing left is the input for the email which is the thing that prelaunchr generates)
www.pysmile.com

wordpress plugin development issue : Generate php pages

Does anybody know how to generate pages in wordpress, with php code as a content using a plugin?
For example the; the plugin will create landing pages, without the use of wordpress pages or custom posts. Just in the backend settings, it can add/modify/delete pages.
Thanks,

WordPress Genisis Featured page widget with an iframe

I have a clients website that uses a WordPress Genisis Framework Child Theme.
One of the widgets that are built into the theme is a featured page widget. It is placed on the front of the page. The widget gathers 250 characters and displays that on the front page along with the featured image from that page.
The problem is that because the next page only contains an iframe from another website the WordPress widget does not grab the text, so it leaves a nice blank hole on the clients homepage. The previous developer set it up this way and didn't bother to plug the hole.
Any ideas how I could get the text to display correctly.
I am familiar with most web languages and the WordPress back end so any suggestions would help.
You can try to place a hidden div on the page where you paste in the text that you want. It wont be dynamic if the integrated page changes but it could be a possible work around.

Issue with wordpress plugin

What may be reason when i am using multiple plugins then some plugin showing in widget sidebar
but some or not like
plugin "wp-auctions" is showing in widget sidebar but
plugin "ultimate-auction" is not showing.
I am using "twentythirteen" theme.
please help me.
Well, take a look at this, http://wordpress.org/plugins/ultimate-auction/installation/
It seemed ultimate-auction is used on a page, not as a widget
Try create a new Page:
Enter this text "[wdm_auction_listing]" as a shortcode inside this new
page and publish it.
Then visit this page to see the auction list.
Goto the Admin page, choose Appearance->Widgets, check Available Widgets on the left side, ultimate-auction might be there, and you need drag it to the Main Widget Area on the right side.

Adding Widget to Wordpress Admin Post/Page Edit Sidebar

I'm trying to find the proper way to add a custom widget to the sidebar on the post/page editor page, specifically, in the sidebar under the 'Page Attributes' section. I've been searching various keywords and coming up short. The Wordpress codex docs are limited, so I'm having any luck there either.
If there is a hook that can be used, what is it?
Else, the Wordpress functions needed to add the new control.
I'm guessing that the meta boxes are only displayed under the post section, so that wouldn't be the area I'm looking to edit.
Also, would using the Widget class be the wrong thing to do?
I'm developing for version 2.8 or higher.
You should pose that question on https://wordpress.stackexchange.com/
In short: Widgets on the editor pages are not widgets, don't use the frontend widget class for them. They are functions (callbacks) you need to register for the editor pages. You can differ between post and page and in later WP versions between the post type as well.
The function to add the meta box to the editor pages is: add_meta_box

Categories