StureStolen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Parse ErrorI see. I do not have those need to get hold of it
Thanks for the support.Forum: Fixing WordPress
In reply to: Parse ErrorI downloaded filezilla FTP client. Tryed to log in with the same credentials as with the WP. It will not connect
Sorry for having a novise (economist only)in this forumForum: Fixing WordPress
In reply to: Parse ErrorYes this was before I mistakenly edited it.
Then I did undo and tried so save the original version
Then it would not acceptForum: Fixing WordPress
In reply to: Parse ErrorHereis the full code
<?php /** * Initialize the meta boxes. */ add_action( 'admin_init', '_custom_meta_boxes' ); /** * Meta Boxes demo code. * * You can find all the available option types * in demo-theme-options.php. * * @return void * * @access private * @since 2.0 */ function _custom_meta_boxes() { /** * Create a custom meta boxes array that we pass to * the OptionTree Meta Box API Class. */ $sidebars = ot_get_option('incr_sidebars'); $sidebars_array = array(); $sidebars_array[0] = array ( 'label' => "Default sidebar", 'value' => 'sidebar' ); $sidebars_k = 1; if(!empty($sidebars)){ foreach($sidebars as $sidebar){ $sidebars_array[$sidebars_k++] = array( 'label' => $sidebar['title'], 'value' => $sidebar['id'] ); } } $my_meta_box = array( 'id' => 'incr_metabox_sidebar', 'title' => 'Layout', 'desc' => 'If you chose the sidebar layout, please choose a sidebar from the list below. Sidebars can be created in the Theme Options and configured in the Theme Widgets.', 'pages' => array( 'post','page' ), 'context' => 'side', 'priority' => 'high', 'fields' => array( array( 'id' => 'incr_sidebar_layout', 'label' => 'Layout', 'desc' => '', 'std' => 'right-sidebar', 'type' => 'radio_image', 'class' => '' ), array( 'id' => 'incr_sidebar_set', 'label' => 'Sidebar', 'desc' => '', 'std' => '', 'type' => 'select', 'class' => '', 'choices' => $sidebars_array ) ) ); $my_meta_box2 = array( 'id' => 'incr_metabox_featue', 'title' => 'Post options', 'desc' => 'Select post display options.', 'pages' => array( 'post' ), 'context' => 'side', 'priority' => 'high', 'fields' => array( array( 'id' => 'incr_feattype', 'label' => 'Display type', 'desc' => '', 'std' => '', 'type' => 'select', 'class' => '', 'choices' => array( array( 'label' => 'Show thumbnail', 'value' => 'show_thumb' ), array( 'label' => 'Hide thumbnail', 'value' => 'hide_thumb' ), array( 'label' => 'Show video', 'value' => 'show_video' ), array( 'label' => 'Show Gallery (from attachments)', 'value' => 'show_gallery' ) ) ), array( 'id' => 'incr_video_link', 'label' => 'Link to Video', 'desc' => 'Just link, not embed code, this field uses oEmbed.', 'std' => '', 'type' => 'text', 'class' => '', ) ) ); $my_meta_box3 = array( 'id' => 'incr_metabox_subtitle', 'title' => 'Subtitle', 'desc' => '', 'pages' => array( 'page', 'portfolio' ), 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'id' => 'incr_subtitle', 'label' => 'Subtitle', 'desc' => 'Set subtitle for page.', 'std' => '', 'type' => 'text', 'class' => '', ) ) ); $my_meta_box4 = array( 'id' => 'incr_metabox_slider', 'title' => 'Slider settings', 'desc' => 'If you want to use Revolution Slider on this page, select page template "Revlution Page" and put here Alias of slider you want to display', 'pages' => array( 'page' ), 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'id' => 'incr_page_revolution', 'label' => 'Revolution Slider Alias', 'desc' => 'Check it in settings of your slider.', 'std' => '', 'type' => 'text', 'class' => '', ) ) ); /** * Register our meta boxes using the * ot_register_meta_box() function. */ ot_register_meta_box( $my_meta_box ); ot_register_meta_box( $my_meta_box2 ); ot_register_meta_box( $my_meta_box3 ); ot_register_meta_box( $my_meta_box4 ); }
[Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged by the forum’s parser.]
Forum: Fixing WordPress
In reply to: Parse ErrorThe only way I know how to connect to the site is through WP so the answer is I do not know any other way. Could you guide me?
Forum: Fixing WordPress
In reply to: Parse ErrorCharlesClarkson canI send you the full code?
Forum: Fixing WordPress
In reply to: Parse ErrorThanks for that What FTP editdor should i use? I am not very technical sorry for this
Forum: Fixing WordPress
In reply to: Parse Errorthe problem is that i cannot even log inn to the site
I only get this message
Parse error: syntax error, unexpected ‘<‘ in /storage/content/76/150276/xn--sjlvklart-w2a.nu/public_html/wp-content/themes/IncredibleWP/meta-boxes.php on line 170I am not to technical person. I can accces the WP but I cannot do anything
Forum: Fixing WordPress
In reply to: Parse ErrorThis is the site now
https://www.sj?lvklart.nu/