jcadima
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme customizer sanitization@wpni
Do you have any other customizer settings other than the custom logo upload?
it could be that themechecker found another customizer setting without a sanitize_callbackForum: Themes and Templates
In reply to: Theme customizer sanitizationThis passes the themecheck, added the sanitize_callback parameter calling esc_url_raw as suggested :
function themeslug_theme_customizer( $wp_customize ) { // create a new section for our logo upload $wp_customize->add_section( 'themeslug_logo_section' , array( 'title' => __( 'Logo', 'themeslug' ), 'priority' => 30, 'description' => 'Upload a logo to replace the default site name and description in the header' ) ); // register our new setting $wp_customize->add_setting( 'themeslug_logo', array ( 'default' => '', 'sanitize_callback' => 'esc_url_raw' )); // tell the Theme Customizer to let us use an image uploader for setting our logo $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'themeslug_logo', array( 'label' => __( 'Logo Image', 'themeslug' ), 'section' => 'themeslug_logo_section', 'settings' => 'themeslug_logo',) ) ); }
Forum: Themes and Templates
In reply to: Theme customizer sanitizationLooking at the new accepted and submitted new themes i ran the same test and it came up with the same “required” issue for only that image part, so i think we dont need to worry about this issue, if themes are being accepted with that part of theme check not passing then there should be no problem in uploading our themes to wordpress.
Forum: Fixing WordPress
In reply to: Moving Layout Elementsacebaker, no need to pay anyone $200 , just post any questions you may have about your theme layout here and we can guide you step by step how to do those changes.
Forum: Fixing WordPress
In reply to: New website, same urlYou will need to setup your new website either on a subdomain or in a subfolder under your url,
for example :
https://yourwebsite.com/newsite
OR
https://newsite.yourwebsite.com (subdomain)Forum: Fixing WordPress
In reply to: how to edit contact info on the footer sectionAre you sure you looked under your theme settings, widgets footer section?
some custom themes have a menu entry on the left side,
generally these issues happen with poorly coded themes, most sections on the sidebar and footer should be widgetized so that the client does not need to edit the template files.
if you still can’t find it even on the footer.php then you will have to contact the one who built your theme as janet4now said.Forum: Installing WordPress
In reply to: Can't log in to wp-adminDo you have ftp access to your website?
it is possible to create a temporary admin user by editing the functions.php file.Forum: Fixing WordPress
In reply to: Moving Layout Elementsacebaker,
moving your logo via the visual editor? not likely, unless your theme has support for it, your website logo uses these styles:
[ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]
#logo { /* width: auto; */ top: 6px; left: 0; position: absolute; z-index: 100; padding-left: 20px; }
just increase
padding-left:
from 20px to 25px if you want the additional 5pxthe file that controls your CSS is localted on :
https://ommune.org/wp-content/themes/u-design/styles/style1/css/style.cssyou would need to open that via ftp, with a tool such as aptana studio, or just filezilla and open the file via notepad++ or any other text editor and save the changes to see the effect.
It is helpful to use chrome developer tools, right click your logo, click the containing div with a class of logo and on the right it will show its css so that you can change it there to see how it would look if you made those changes.Forum: Fixing WordPress
In reply to: Moving Layout ElementsCan you post the link to your site?, that way i can see the style.css on chrome developer tools and tell you how to do it.
Lets suppose your logo is wrapped in a div with a class of logo,
then you would need to go into your style.css (assuming thats where your main style is) and change for example:.logo { margin-right: 5px; }