David Chandra Purnama
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Genbu] layout box for custom typesI have never use CPT UI.
but, the layout meta box is added to all public post type and the post type need to be added via init hook (priority > 6).
you can add layout support to a post type using:
add_post_type_support( $your_post_type, 'theme-layouts' );the file / functions handling this functionality is available in:
library/extensions/theme-layouts.phpthe layout configuration is added via
add_theme_support( 'theme-layouts' );in theme functions.phpForum: Plugins
In reply to: [Stream] Can't add site to account Stream – Error (104).I can’t even delete a site, i got notice:
There was a problem locating your site on the system (102). Please contact support.
I also get this notice.
it is deprecated:
https://developer.wordpress.org/reference/functions/get_commentdata/should use
get_comment()
http://codex.wordpress.org/Function_Reference/get_commentForum: Plugins
In reply to: [Stream] Can't add site to account Stream – Error (104).Also get the same error when adding new site.
additional note:
I really hope they have better package.
(almost free package) maybe the same with free account + lite support for around $10.
IMO $5/month is too high for low performing site.
I rather spent that for vaultpress backup.Forum: Themes and Templates
In reply to: [Cara] syntax errori’m sorry for the error, i believe it’s because your server is using php 5.2.x
this error is caused by using php 5.3 in Cara theme.
i did a php version check in the function, but i think the check itself is not good enough.most hosting company i think already using > php 5.3, so i didn’t realize this.
you may need to login via ftp to delete the theme (it will switch back to default theme).
and please help me to debug the fix:
please install this version and see if it will fix the issue so i can update the theme correctly.
https://dl.dropboxusercontent.com/u/32880842/etc2/cara-php5.3-fix.zipyou can install it via wp admin, Appearance > Themes > Add New > Upload theme
and upload the zip file.
or extract the zip file and upload it via ftp.i cannot debug them properly because all my server is running php 5.4
thank you.
Forum: Themes and Templates
In reply to: [Genbu] Adjust the width of sidebar 1, content, sidebar 2??thanks for the info.
(marking this topic as resolved).Forum: Themes and Templates
In reply to: [Genbu] Userid error??thanks for the info.
(marking this topic as resolved).Forum: Themes and Templates
In reply to: [Genbu] Adjust the width of sidebar 1, content, sidebar 2??First create child theme and add the css in your child theme style.css.
(no need to import genbu style.css in your child theme).there’s no option in admin to change the width of sidebar and content.
Forum: Themes and Templates
In reply to: [Genbu] Userid error??I don;t understand what you mean, but you should change it via your profile edit page (in admin)
Users > Your Profile
there’s an option “Display name publicly as” change it there.
it’s WordPress feature. genbu don’t create this option.Forum: Themes and Templates
In reply to: [Genbu] change the background of sub-menufirst create child theme and add the css in your child theme style.css.
(no need to import genbu style.css in your child theme).I add thumbnail in recent version of genbu (since version 0.1.4).
Forum: Themes and Templates
In reply to: [Genbu] Has ProblemsAwesome isn’t it?
if you want to discuss why genbu pass the review, please describe the problem (if possible in detail) so i can answer it.
Forum: Fixing WordPress
In reply to: WP 3.9: Warning: strpos() expects parameter 1 to be stringAfter debugging for several minutes, I think i found the problem.
In grunion-contact-form.php line 601.
parse_content( $content )is used in: (line 508)
__construct( $attributes, $content = null )where:
$this->parse_content( $content );and the
$contentthere is not passing the sanitation to make it a string.to solve this:
simply change (line 593)$this->parse_content( $content );to
$this->parse_content( $this->content );probably just small typo?
Forum: Networking WordPress
In reply to: Sites at Different WordPress versionsI’m not sure, but have you try to “upgrade” the network as ipstenu mention?
Network Admin >
Updates > Upgrade Network?yes it’s annoying…
hundreds (maybe thousands) of website have this error, try search google for:
Undefined index: title-page in class-frontend.phpYoast, we need you..