I’m using PageLines Platform theme, v. 1.4.4, on WordPress v. 4.3.
I have an iPhone, iPad and MacBook Pro, all running the latest iOS or OS X. (The MacBook Pro is running OS X 10.10.5.)
My WordPress site is: AtMyWindow.com.
WHAT WORKS: The sharing buttons DO appear below each post on my iPad and iPhone, as they are supposed to, and they function properly.
WHAT DOESN’T WORK:
1. The Sharing Buttons section (Settings > Sharing) on my iPad DOES show my button selection and arrangement, but it’s frozen; I can’t drag and drop anything.
2.The sharing buttons DO NOT appear below each post, or anywhere else on my site, when viewed on my MacBook Pro. Nor does my button selection appear in the sharing section (Settings > Sharing). In fact, the latter section seems completely broken when viewed on the MacBook.
ADDITIONAL INFO: In my WP editor, sharing-button permission (Sharing > Show sharing buttons) is checked off. If I uncheck it, the buttons disappear from my two iOS devices. If I recheck it, they reappear. I use the WP editor on my MacBook Pro.
I’ll be grateful for any suggestions.
Thanks,
Ron Cohen
Hi there
Platform theme is giving a long list of warnings on the site emmatoynbee.com:
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 164
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 167
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 170
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 173
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 176
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 178
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 180
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 202
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 206
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 224
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 225
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 227
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 321
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 321
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 321
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/includes/class.layout.php on line 321
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/admin/class.options.metapanel.php on line 56
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/admin/class.options.metapanel.php on line 56
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/admin/class.options.metapanel.php on line 56
Warning: Creating default object from empty value in /home1/toynbee/public_html/wp-content/themes/platform/admin/class.options.metapanel.php on line 49
The version of platform is 1.4.4 (although this was happening prior to updating to the most recent version, I’m sorry I didn’t make a note of the version prior to updating) and the version of WordPress is 4.2.4 (although this was happening on 4.0.7 also)
This is resulting in both the wp-admin and the site being unusable. HELP!
]]>I just checked Theme Platform which I love, and this tool found a lot of issues, that’s pity.
For comparison, another themes like Flat Theme passes test without issues.
Here is link for test theme tool
https://www.ads-software.com/plugins/theme-check/
And here is output with errors
REQUIRED: Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
RECOMMENDED: Text domain problems in includes/library.shortcodes.php. You have not included a text domain!
Line 99: $author = '<a href='' . get_the_author_meta('url') . '' title='' . esc_attr( sprintf(__('Visit %s’s website'), $author) ) . '' rel='external'>' . $author
WARNING: The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
WARNING: The flexible-width and fixed-width tags changed to fluid-layout and fixed-layout tags in WordPress 3.8. Additionally, the responsive-layout tag was added. Please change to using one of the new tags.
REQUIRED: The theme uses the register_taxonomy() function, which is plugin-territory functionality.
REQUIRED: The theme uses the register_post_type() function, which is plugin-territory functionality.
REQUIRED: The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output
REQUIRED: get_theme_data() found in the file includes/core.globals.php. Deprecated since version 3.4. Use wp_get_theme() instead.
Line 6: $theme_data = get_theme_data(TEMPLATEPATH . '/style.css');
Line 9: $child_theme_data = get_theme_data(STYLESHEETPATH . '/style.css');
RECOMMENDED: could not find the file readme.txt in the theme. Please see Theme_Documentation for more information.
RECOMMENDED: Screenshot size should be 880x660, to account for HiDPI displays. Any 4:3 image size is acceptable, but 880x660 is preferred.
RECOMMENDED: Possible variable $post found in translation function in sections/features/section.features.php. Translation function calls must NOT contain PHP variables.
Line 358: $flink_text = ( get_post_meta($post->ID, 'feature-link-text', true) ) ? __( get_post_meta($post->ID, 'feature-link-text', true) ) : __('More', 'pag
RECOMMENDED: Possible variable $oid found in translation function in admin/class.options.ui.php. Translation function calls must NOT contain PHP variables.
Line 589: <input class='small-text' type='text' name='<?php pagelines_option_name($oid); ?>' id='<?php echo $oid;?>' value='<?php esc_attr_e( pagelines_option($oid) ); ?>' />
Line 596: <input class='regular-text' type='text' name='<?php pagelines_option_name($oid); ?>' id='<?php echo $oid;?>' value='<?php esc_attr_e( pagelines_option($oid) ); ?>' />
Line 603: <textarea name='<?php pagelines_option_name($oid); ?>' class='html-textarea <?php if($o['type']=='textarea_big') echo 'longtext';?>' cols='70%' rows='5'><?php esc_attr_e( pagelines_option($oid) ); ?></textarea>
RECOMMENDED: Possible variable $oid found in translation function in admin/class.options.ui.php. Translation function calls must NOT contain PHP variables.
Line 522: <textarea class='' name='<?php pagelines_option_name($oid, 'selectors'); ?>' id='<?php pagelines_option_id($oid, 'selectors'); ?>' rows='3'><?php esc_attr_e( pagelines_sub_option($oid, 'selectors'), 'pagelines' ); ?></textarea>
RECOMMENDED: Possible variable $oid found in translation function in admin/class.options.ui.php. Translation function calls must NOT contain PHP variables.
RECOMMENDED: Possible variable $link_text found in translation function in sections/section.soapbox.php. Translation function calls must NOT contain PHP variables.
Line 249: <span class='soapbox_link-pad'><span class='soapbox_arrow'><?php echo __($link_text); ?></span></span>
RECOMMENDED: Possible variable $flink_text found in translation function in sections/features/section.features.php. Translation function calls must NOT contain PHP variables.
Line 386: <span class='blink-arrow featurelink' ><?php echo __( $flink_text );?></span>
RECOMMENDED: No reference to add_theme_support( "title-tag" ) was found in the theme. It is recommended that the theme implement this functionality for WordPress 4.1 and above.
RECOMMENDED: No reference to add_theme_support( "custom-header", $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
RECOMMENDED: No reference to add_theme_support( "custom-background", $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
RECOMMENDED: TEMPLATEPATH was found in the file includes/library.functions.php. Use get_template_directory() instead.
Line 585: } elseif(file_exists(TEMPLATEPATH . $rurl) ){
Line 586: $date_modified = filemtime( TEMPLATEPATH . $rurl );
RECOMMENDED: TEMPLATEPATH was found in the file includes/core.init.php. Use get_template_directory() instead.
Line 28: define('PL_INCLUDES', TEMPLATEPATH . '/includes');
RECOMMENDED: TEMPLATEPATH was found in the file includes/core.globals.php. Use get_template_directory() instead.
Line 6: $theme_data = get_theme_data(TEMPLATEPATH . '/style.css');
Line 15: if(file_exists(TEMPLATEPATH.'/pro/init_pro.php')){
Line 22: if(file_exists(TEMPLATEPATH.'/dev/init_dev.php')){
Line 37: define('PARENT_DIR', TEMPLATEPATH);
Line 54: define( 'PL_ADMIN', TEMPLATEPATH . '/admin' );
Line 64: define('PL_SECTIONS', TEMPLATEPATH . '/sections');
Line 69: define('PAGELINES_DCSS', TEMPLATEPATH . '/css/dynamic.css');
Line 90: define('PAGELINES_PRO', TEMPLATEPATH . '/pro' );
Line 91: define('PAGELINES_DEV', TEMPLATEPATH . '/dev' );
Line 98: $lang = ( is_dir( STYLESHEETPATH . '/language' ) ) ? STYLESHEETPATH . '/language' : TEMPLATEPATH . '/language';
RECOMMENDED: TEMPLATEPATH was found in the file core/core.init.php. Use get_template_directory() instead.
Line 17: include( TEMPLATEPATH . '/functions.php');
RECOMMENDED: TEMPLATEPATH was found in the file admin/class.debug.php. Use get_template_directory() instead.
Line 79: 'value' => '<code>' . TEMPLATEPATH . '</code>',
Line 107: 'value' => ( TEMPLATEPATH != STYLESHEETPATH ) ? 'Yes' : '',
RECOMMENDED: STYLESHEETPATH was found in the file includes/library.functions.php. Use get_stylesheet_directory() instead.
Line 579: if( file_exists(STYLESHEETPATH . $rurl ) ){
Line 580: $date_modified = filemtime( STYLESHEETPATH . $rurl );
Line 607: if( file_exists(STYLESHEETPATH .'/base.css') ){
Line 608: $date_modified = filemtime( STYLESHEETPATH .'/base.css' );
Line 610: } elseif(file_exists(STYLESHEETPATH .'/style.css') ){
Line 611: $date_modified = filemtime( STYLESHEETPATH .'/style.css' );
RECOMMENDED: STYLESHEETPATH was found in the file includes/core.globals.php. Use get_stylesheet_directory() instead.
Line 9: $child_theme_data = get_theme_data(STYLESHEETPATH . '/style.css');
Line 38: define('CHILD_DIR', STYLESHEETPATH);
Line 98: $lang = ( is_dir( STYLESHEETPATH . '/language' ) ) ? STYLESHEETPATH . '/language' : TEMPLATEP
RECOMMENDED: STYLESHEETPATH was found in the file admin/class.debug.php. Use get_stylesheet_directory() instead.
Line 107: 'value' => ( TEMPLATEPATH != STYLESHEETPATH ) ? 'Yes' : '',
Line 109: 'extra' => STYLESHEETPATH . '<br />' . get_stylesheet_directory_uri()
INFO: Possible hard-coded links were found in the file includes/config.templates.php.
Line 322: '<li class='feature_support'><div class='feature_icon'></div><strong>Support</strong> <p>For help getting started, we offer our customers tons of support including <a href='https://www.pagelines.com/docs/' target='_blank'>docs</a>, <a href='https://w
Line 323: '<li class='feature_templates'><div class='feature_icon'></div><strong>Drag and Drop Template Setup</strong> <p>'.THEMENAME.' is equipped with advanced template customization tools. This is how you will control elements like feature sliders, or carousels using drag and drop on your site.</p></p> <p>To learn how it works, please visit the <a href='https://www.pagelines.com/docs/template-setup' target='_blank'>template setu
INFO: Possible hard-coded links were found in the file includes/config.options.php.
Line 379: 'exp' => 'Set typography for your h1, h2, etc.. tags. <br/><br/><strong>*</strong> Denotes Web Safe Fonts<br/><strong>G</strong> Denotes Google Fonts<br/><br/><strong>Note:</strong> These options make use of the <a href='https://code.google.com/webfonts' target='_blank'>Google fonts API</a> to va
Line 422: 'exp' => 'This options sets the typography for general text inputs and textarea inputs. This includes default WordPress comment fields, etc.. <br/><br/> This option makes use of the <a href='https://code.google.com/webfonts'>Google fonts API</a> to vastly increase th
INFO: Possible hard-coded links were found in the file admin/class.options.ui.php.
Line 98: <a class='optionsheader_plink' href='https://www.pagelines.com/' target='_blank'> </a>
Line 108: <a class='sh_docs' href='https://www.pagelines.com/docs/' target='_blank' ><?php _e('Docs', 'pageline
Line 109: <a class='sh_forum' href='https://www.pagelines.com/forum/' target='_blank' ><?php _e('Forum', 'pageli
Line 168: <a href='https://www.pagelines.com/forum/topic.php?id=6489#post-34852' target='_blank
Line 180: <?php echo THEMENAME;?> is a free theme based on <?php echo PROVERSION;?>, a premium product by <a href='https://www.pagelines.com' target='_blank'>PageLines</a>.<br/>
Line 1211: <li><strong>Customize</strong> Customize your sections using the theme settings on individual pages/posts and in this panel. You can also do advanced customization through hooks and custom css (for more info please see the <a href='https://www.pagelines.com/docs/'>docs</a>).</li>
Line 1233: <?php if(VPRO):?><a class='admin_footerlink' href='https://www.pagelines.com/feedback/' target='_blank'><?php _e('Customer Feed
Line 108: <a class='sh_docs' href='https://www.pagelines.com/docs/' target='_blank' ><?php _e('Docs', 'pageline
Line 1211: <li><strong>Customize</strong> Customize your sections using the theme settings on individual pages/posts and in this panel. You can also do advanced customization through hooks and custom css (for more info please see the <a href='https://www.pagelines.com/docs/'>docs</a>).</li>
INFO: Possible hard-coded links were found in the file admin/class.options.ui.php.
Line 98: <a class='optionsheader_plink' href='https://www.pagelines.com/' target='_blank'> </a>
Line 108: <a class='sh_docs' href='https://www.pagelines.com/docs/' target='_blank' ><?php _e('Docs', 'pageline
Line 109: <a class='sh_forum' href='https://www.pagelines.com/forum/' target='_blank' ><?php _e('Forum', 'pageli
Line 168: <a href='https://www.pagelines.com/forum/topic.php?id=6489#post-34852' target='_blank
Line 180: <?php echo THEMENAME;?> is a free theme based on <?php echo PROVERSION;?>, a premium product by <a href='https://www.pagelines.com' target='_blank'>PageLines</a>.<br/>
Line 1211: <li><strong>Customize</strong> Customize your sections using the theme settings on individual pages/posts and in this panel. You can also do advanced customization through hooks and custom css (for more info please see the <a href='https://www.pagelines.com/docs/'>docs</a>).</li>
Line 1233: <?php if(VPRO):?><a class='admin_footerlink' href='https://www.pagelines.com/feedback/' target='_blank'><?php _e('Customer Feed
INFO: At least one hard coded date was found in the file sections/wp/section.postsinfo.php. Consider get_option( 'date_format' ) instead.
INFO: includes/library.options.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 287: include($_FILES['file']['tmp_name']);
INFO: includes/library.I18n.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 9: require_once( $locale_file );
INFO: includes/core.init.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 33: require_once( PL_INCLUDES . '/core.globals.php');
Line 38: require_once( PL_INCLUDES . '/library.I18n.php');
Line 43: require_once( PL_INCLUDES . '/library.functions.php');
Line 48: require_once( PL_INCLUDES . '/library.options.php' );
Line 53: require_once( PL_INCLUDES . '/library.templates.php');
Line 58: require_once( PL_INCLUDES . '/library.shortcodes.php');
Line 64: require_once( PL_INCLUDES . '/config.options.php' );
Line 65: require_once( PL_INCLUDES . '/config.templates.php' );
Line 75: require_once( PL_INCLUDES . '/class.types.php' );
Line 81: require_once( PL_INCLUDES . '/class.layout.php' );
Line 87: require_once( PL_INCLUDES . '/class.sections.php' );
Line 92: require_once( PL_INCLUDES . '/class.template.php' );
Line 97: require_once( PL_ADMIN . '/class.options.metapanel.php' );
Line 107: require_once( PL_ADMIN . '/class.options.ui.php' );
Line 112: require_once( PL_INCLUDES . '/class.typography.php' );
Line 117: //require_once( PL_INCLUDES . '/class.colors.php' );
Line 122: require_once( PL_INCLUDES . '/class.css.php' );
Line 162: if(VPRO) require_once(PAGELINES_PRO . '/init_pro.php');
Line 163: if(VDEV) require_once(PAGELINES_DEV . '/init_dev.php');
Line 165: require_once( PL_INCLUDES . '/version.php' );
Line 174: require_once ( PL_ADMIN . '/class.debug.php');
Line 181: require_once (PL_ADMIN.'/actions.admin.php');
Line 186: require_once (PL_ADMIN.'/actions.options.php');
Line 192: require_once (PL_INCLUDES.'/actions.site.php');
Line 197: //require_once (PL_INCLUDES.'/class.actions.php');
INFO: includes/class.sections.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 75: if( $override != false) require( $override );
Line 230: include($section_init_file_section);
Line 237: include($section_init_folder_section);
Line 256: include($section_init_file_section);
Line 263: include($section_init_folder_section);
INFO: iframe was found in the file includes/library.shortcodes.php iframes are sometimes used to load unwanted adverts and code on your site.
Line 381: return '<iframe width=''.$width.'' height=''.$height.'' frameborder='0' scrolling='n
INFO: core/core.init.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 17: include( TEMPLATEPATH . '/functions.php');
INFO: admin/actions.options.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 58: include( PL_ADMIN . '/admin.head.php' );
If there is any maintainer – please fix this issues.
If you haven’t time for that – please give me collaborator access and I will fix it.
Contact me for questions.
https://ru.linkedin.com/in/seyfer
How can I remove the search form from header?
This is my site:
https://www.wordpresstest.it
Thanks!
]]>Hello
I have been using Platform theme since a long time without problems, it works perfect in my recipes site.
Now I want to show the description in categories and tags, but I don’t know where to put this code:
<?php echo category_description(); ?>
I have read the documentation and some other pages and it should be on category.php and tag.php or even in archive.php but I can′t find those files in Platform theme.
Could someone give me some help, please?
]]>Please help!
I’ve been attempting to login for weeks. After what seems to be an automated update, I have been unable to log in. My website is gabriellebeck.com
The error messages are:
Warning: Creating default object from empty value in /home/gabbec3/gabriellebeck.com/wp-content/themes/platform/includes/class.layout.php on line 164
ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.
]]>Hi, I recently took over the administration of a website what uses the Platform theme and have a very basic question to ask.
The previous admin had made some changes to the theme, namely changed the color of the drop down text and drop down menu background color but for some reason I cannot see anywhere on the Dashboard menu where I can make these changes.
I expected to find a settings option as shown in this page but can’t see one.
https://www.maketecheasier.com/platform-drag-drop-customizable-wordpress-theme/
Am I missing something obvious here?
Any help would be appreciated.
Thanks!
]]>Each time I post text in Platform it is duplicated. I love the simplicity and clean look of this theme.
Any ideas?
Example: https://www.peterjgriffiths.co.uk/2013/06/a-week-in-provence/
]]>Hello
How to create a sub level in the main menu of Platform?
Thanks
I will use these page as an example
https://www.awmiller.com/?used_machines=dual-turn-20
How do I get the featured image (top right corner) to align to the left under the Title?
Also, I have the gallery images set to align to the left but they are aligned to the right?
And, does anyone know, if I upgrade to the newest version will it screw the site up?
I am in the current version of 1.0.7 and would like to update to the newest version.
Thanks Guys!
]]>Platform Pro V. 1.5.3
I see the column width on the “Platform Pro -> Layout Editor” but i can not modify the values, or drag any slider to increase the width.
I want to keep my main body the same size, and increase the sidebar from 320px up to 460px.
Thanks guys,
Mike
Dear all,
My website, https://www.ne-ar.info crops up the info shown of Buddypress Pages with the new update.
I have no idea what to do here so can anybody help me with this?
Thanks in advance!
]]>my site is wwww.formsales.com and I have used a custom menu with no problems for about 1 yr. Today I added a N. California and S. California tab under “Brands” in main navigaion bar and now under N. Callifornia I should have an additional drop down for ARC and Sigma Designer Faucetry. I have dragged my child pages to the right and I know they are positioned correctly. Is Pagelines capping me at 2 levels?
]]>Hello
I’ve this error :
Warning: Creating default object from empty value in D:\wamp2013\www\wordpress_site\wp-content\themes\platform\includes\class.layout.php on line 164
alson for lines 167 170 173176 178 180 202 206…321
and Creating default object from empty value in D:\wamp2013\www\wordpress_site\wp-content\themes\platform\admin\class.options.metapanel.php on line 56
I don’t see what is wrong
Thanks
]]>hello. for the life of me i cannot figure this one out on my own… the navigation menu on my site is on two lines, but as you can see there is plenty of room for “Contact Us” to be next to “Fundraisers”.
i truly appreciate any tips or help i receive!!!!
]]>The Platform theme doesn’t appear right with the 2 notification boxes created by Jetpack which appear below the comment form. I am referring to the options for:
Notify me of follow-up comments by email.
Notify me of new posts by email.
Someone at Jetpack was kind enough to write me some code to add to the Style.css file, but this code should be added into all future releases of Platform since many people are running Jetpack.
The code is here:
/* Format "Notify me of followup..." checkbox */
p.comment-subscription-form {
clear: both;
margin-top: 8px;
}
#subscribe_comments,
#subscribe-label,
#subscribe_blog,
#subscribe-blog-label {
float: left;
}
If you are experiencing the same issue with Platform running Jetpack you can add this code to your Style.css file too.
]]>I’m new to WordPress, this is probably very simple. My posts are displayed with the “Title” then right below that: On November 15, 2013 · In Daily [Edit]. I want to eliminate the word “on” before the date, the word “in” before the category and the [Edit] option, leaving just the plain date and the category name. Where do I do this?
I’m using “Platform” by Pagelines not live (sorry no URL) just on a localhost on my computer as I develop my blog.
My wordpress antivirus detects these 5 lines as virus
$update = maybe_unserialize($update);
if ( ! WP_Filesystem($creds) ) {
$raw_options = ob_get_contents();
$all_options = unserialize($raw_options);
return ‘<iframe width=”‘.$width.'” height=”‘.$height.'” frameb …
are they original of the theme and ok ?
thanks
mic
I have installed platform theme, but there is a problem that in main menu submenu is not working. I tried in service menu but its not showing, please suggest me what to do. my website is https://www.webcrunchtech.com
]]>How to remove “Website” under Leave A Comment Area.
Under comment.php i doesnt seems to find any “Website” or “Name” over there.
Platform breaks WP on PHP 5.4, because PHP warnings are generated before HTTP response headers are sent.
The cause is that class properties are being accessed as objects, without instantiating them as (stdClass) objects first.
I searched, but wasn’t able to find where to contribute a patch for this, so for now:
diff --git a/admin/class.options.metapanel.php b/admin/class.options.metapanel.php
index 535c6ca..3aa6ffb 100644
--- a/admin/class.options.metapanel.php
+++ b/admin/class.options.metapanel.php
@@ -45,7 +45,7 @@ class PageLinesMetaPanel {
$key = $option_settings['id'];
if($location == 'top'){
-
+ $top[$key] = new stdClass;
$top[$key]->options = $option_array;
$top[$key]->icon = $option_settings['icon'];
$top[$key]->name = $option_settings['name'];
@@ -53,6 +53,7 @@ class PageLinesMetaPanel {
$this->tabs = array_merge($top, $this->tabs);
} else {
+ $this->tabs[$key] = new stdClass;
$this->tabs[$key]->options = $option_array;
$this->tabs[$key]->icon = $option_settings['icon'];
$this->tabs[$key]->name = $option_settings['name'];
diff --git a/includes/class.layout.php b/includes/class.layout.php
index 4b0ffba..f35d52d 100644
--- a/includes/class.layout.php
+++ b/includes/class.layout.php
@@ -159,7 +159,12 @@ class PageLinesLayout {
function set_layout_data(){
-
+ foreach (array('hidden', 'main_content', 'sidebar1', 'sidebar2', 'content', 'gutter', 'builder', 'margin', 'dynamic_grid', 'clip', 'column_wrap', 'sidebar_wrap') as $property) {
+ if (!isset($this->$property)) {
+ $this->$property = new stdClass;
+ }
+ }
+
// Text & IDs
$this->hidden->text = '';
$this->hidden->id = 'hidden';
@@ -318,6 +323,7 @@ class PageLinesLayout {
/*
Set Container width (content + gutter as margin prevents the wider area from being seen)
*/
+ $this->dcol[ $number_of_columns ] = new stdClass;
$this->dcol[ $number_of_columns ]->container_width = $this->content->width + $column_gutter - $round_amount;
$column_space = floor( $this->dcol[ $number_of_columns ]->container_width / $number_of_columns );
]]>
I want to add a php file to my platform child theme so as to allow a featured image, I can change the parent theme but would prefer to add the line of code to my child theme so as to avoid having to do this every time platform is updated.
The parent theme file is core.init.php (the longer version of this file as platform oddly has two such folders, not the one with predicated…)
How do I structure / write this line of php code in a new file using Notepad so that I can upload to my platform child folder on my server?
What do I call it that file?
My child theme folder only has a style.css file in it
Thanks
Ian
]]>Quick question. The Platform theme (non-paid version, anyway) uses the same box set with both posts pages and with 404 pages (“Posts Page and 404 Box-Set. Posts pages and similar pages (404) will use this box-set ID”); and, with BuddyPress, for the Activity stream as well.
Is there any way of allocating different box sets independently to each of these three? in the Pro version, for example?
Thanks ??
]]>The phrase: “Set your Twitter account name in your settings to use the TwitterBar Section” displays on my site if I don’t input an account name.
If I input an account name, it changes to: “”Unknown Twitter error.” — and my Twitter handle.
Here’s my URL: https://uxcollaborative.org.
]]>Hi there! Is there a way to show caption under featured images in Platform theme? I found some suggested coding, but I’m not sure where it’s supposed to go, and the single.php doesn’t seem to have anything inside apart from the copyright notice. Any suggestions?
]]>I am using Platform wordpress theme,
I am trying to add simple HTML table in my post, I have written a code in Text section and its showing perfectly in Visual section, but when I preview the post its not showing any border for tablet, apart from border its not showing any kind of style like alignment, italic, text size etc,
Style is looks ok with Theme but How to show Table Borders ?
Pelase help ..
]]>I am trying to setup some widgets so that I can make things easier to view and it is a must have for this website however as soon as I go to the widgets I cannot drag them. I do get the changed cursor indicating that I should be able to but I cannot physically drag them.
Is there anything I can do to fix this?
Twenty – Eleven will allow me to drag them and use them btw.
]]>Hello,
I am trying to figure out how to widen my right sidebar in Platform 1.4.3 so that I can place some ads there. I have tried changing the width in the settings tab (now set to 350px), and while that changes the width of the sidebar’s appearance, the content I am trying to upload will still not fit. I need an allotment of at least 258 px, so according to my settings tab, I should have enough space. I’m wondering if there’s a default alloted space that I need to manually change in css? Here’s a link to the site:
https://longestshortesttime.com
Ideas? I’m a novice with this stuff, so please be clear in your instructions.
Thanks!
hf
]]>I removed pages that we don’t need and they are still listed in the menu, just with broken links. How do I customize that menu? I also don’t see how I can add widgets to this template.
]]>I just tried uploading the updated Platform site and it said that
there was a problem and the update was not completed and now my site
is completely off and I can’t access the Platfrom theme at all.
The following text appears at the bottom of the themes page:
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Name Description
platform Stylesheet is missing.
Any help would be greatly appreciated
]]>