Editing Wordpress Ajaxify Theme - wordpress

I have installed Ajaxify theme on my site (tekstyleankara.com). At the head of the it writes website's name on red background. I want to put the logo of the company there. How can I do that? Thanks.
I think I need to edit this line in header.php :
<div class="logo grid_2">
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
</div>
But I couldn't find out what I should write instead. I made several attempts but they didn't work.

For this you need to edit your stylesheet Theme.css file. To find this file you need to go to your admin panel of wordpress. There you can click appearance at the right side of your page and click on the editor. There you see the file theme.css. You need to edit it and search the line .logo. From there you can change your red background with your logo.

Related

Wordpress - TwenteenSeventeen picture instead of a title

I'm really new in coding, especially in css. I already read some tutorials but I like to change a specific thing. For my Website I use Wordpress. I also edited a few things in my CSS which already worked. Now I can't find a answer for how I can replace the title with a custom picture.
Click here to watch a picture to understand what I mean.
Click here to acess my website.
I already tried some things, but it would be nice if someone can explain me how to do it.
You can edit header.php in the twenty seventeen to display only a picture.
This source code is on your wordpress server in wp-content/themes/twenty-seventeen/header.php: https://github.com/WordPress/twentyseventeen/blob/master/header.php
You'll want to replace line 31:
<?php get_template_part( 'components/header/header', 'image' ); ?>
With something like
<img src="banner.png" />
You'll have to adjust the location of banner.png to where you actually upload the image.
After you've got that working and it's basically what you want, you can wrap the image tag in a a tag so the banner links back to your home page, if you'd like.

Change wordpress collapsed menu name

I am using wordpress Twenty Sixteen to build a website. When I open the website in a tablet, it will show a collapsed menu as shown. How can I change the name "Menu" to other words else?
Thanks for any kind help.
Step 1 Login to your website Cpanel or local host what you are using currently.
Step 2 Open you WordPress directory wp-content-> themes->twintlysexteen->header.php
Step 3 In your header.php find the class="menu-toggle" which will look like below
<button id="menu-toggle" class="menu-toggle"><?php _e( 'Menu', 'twentysixteen' ); ?></button>
Step 4 change the word menu instead what you want to use I have used SOMETHING ELSE. Look at the screenshot http://prntscr.com/fkrz5z
That's great that you are starting to customize Wordpress! I would start by searching the Wordpress Forums first before you come here. Twenty Sixteen has good help at the TwentySixteen forum, linked here: https://wordpress.org/support/theme/twentysixteen
However, to answer your question... You need to change the button tag: with id="menu-toggle". To do this you need to customize the theme, which is best done using a child theme: https://codex.wordpress.org/Child_Themes
The customization will occur in the following line of the file header.php:
<button id="menu-toggle" class="menu-toggle"><?php _e( 'Menu', 'twentysixteen' ); ?></button>
In the above code, the string: 'Menu' refers to the string that is the text displayed that you want to change, and you just edit that string to be the text you want, and save your file. Edits can be done in Wordpress UI editor or through accessing your files in another way. If you edit header.php be sure to do it in a child theme as suggested above, or else when you update your theme, you will lose all your customizations.

drupal 7 panels landing page, how to remove default theme elements

I'm drupal beginner, and can't solve problem with landing page. I create landing page with panels, set custom css code to it but it doesn't look how I want. I see default elements from my theme (header, nav-menu, etc.) on it. I want that layout fill all my page, how can I achieve it?
I have it
I want do like it
well, I found solution for this problem. I use bootstrap 3 sub theme, and there is file who provide page template, it calls node.tpl.php. I just remove string <div class="main-container <?php print $container_class; ?>"> and now it works well.
go to page.tpl.php file, remove the lines that render the header, the logo and the title. They would usually be in an if statement and the varibles are $logo, $site_name, $main_menu, $title.

remove and disable featured image in posts

I write a post in new post editor and then add media. I can see the images in the editor but when i publish them they aren't loading up and a frame with little square in the middle comes up. This is the link to one of my posts: http://getprogramcode.com/2013/03/c-program-for-bit-stuffing/ . For some people only link to the image comes up and it opens up with 404 error. See the line after OUTPUT: bit stuffing.
Also i want to remove the featured image from appearing in my posts. I have a option in my theme on a new post: "disable featured image" - but that doesnt work . Also if i dont put the image or i remove the featured image the empty image appears: see the home page: http://getprogramcode.com Please help me to solve this problem
You should not use relative paths on WordPress, only Absolute paths.
The problem is that you are using ../wp-content/... as your URL's for image paths.
When adding images, you should have the option to give it a path, you should opt to link to the media file.
For the disable feature image, if you go into the page.php or single.php code, it should have a line of code in it for calling in the featured image.
It should look something like this:
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail();
}
?>
You just need to remove or comment out this code and it should stop showing up on the pages.

How do I get rid of the "Your comment is awaiting moderation." message in Wordpress?

I coudn't find the php that generates that or do I have to deactivate it from the Site admin?
You'll need to use your own callback for wp_list_comments() - check out Twenty Ten's comment callback twentyten_comment() as an example.
You'll see a line something along the lines of;
<?php if ( $comment->comment_approved == '0' ) : ?>
<em><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em>
<br />
<?php endif; ?>
You could pretty much copy and paste twentyten_comment() into your own theme, removing the block of code above, and then using wp_list_comments('callback=my_comment_callback') in comments.php.
Easiest way without cracking the code or bothering with a child theme is to hide it using css. In the theme I'm looking at now, that text is in a span tag assigned to the class "comment-await"
<span class="comment-await">Your comment is awaiting moderation.</span>
Most themes now offer a custom css option in the Customize section, so:
span.comment-await{display:none;}
You can play with changing the text by using css before or after selectors. Of course, you only want to do this for little changes, It it gets extensive the right way is to create a child theme and override the theme by editing comments.php (or other relevant file)
Download and Install Notepad++.
Open Notepad++
Hit "Ctrl-F" to get a Find dialog.
Change to the Find in Files tab ("Ctrl-Shift-F" might shortcut you here).
Change the filter to *.php
Change the location to your wordpress folder
Ensure you have Search in Subdirectories enabled.
Search for "Your comment is awaiting"

Resources