Hatul666
Forum Replies Created
-
Custom Content Types (left menu) => [ new-section ] => View Sample Templates
And you get the exact file name you need to create in your theme folder and the exact content you need to include in your code.I hope this helps someone in the future ??
Thanks for this great plugin!
Forum: Fixing WordPress
In reply to: Found unwanted links in my blog textI am looking at the dashboard of “Sucuri Security” and see the login attempts.
I see someone is trying to log in using my unique username (not “admin”) without any cucess.
How the hell did he get that :S ?Forum: Fixing WordPress
In reply to: Found unwanted links in my blog textThat’s the thing, you have to connect to the FTP using an SSL file, and since I don’t think anyone has got it – it’s a direct hack to the WP-admin dashboard through the website.
I don’t have a cPanel. Just PHPmyadmin installed on the server.
I don’t have an “admin” username.
I installed 2 different plugins:
Anti-Malware
and
Sucuri Securityand one of them is alerting me via email about an attempt to login to my account without any success – with the IP ect’.
Anything else you think I should do?
How did he hack this anyway :S
Kinda strange.Forum: Plugins
In reply to: What's the right way to implement functions in footer.phpForum: Hacks
In reply to: Cant find the function that echos the files directoryForum: Hacks
In reply to: How to create my own get_function() that outputs a code part from a templateI found the get_footer() function, and copied it to my child theme function.php, and then changed everything in it from “footer” to “cf”.
/** Load the Contact Form template. Includes the Contact Form template for a theme or if a name is specified then a specialised Contact Form will be included. For the parameter, if the file is called "footer-special.php" then specify "special". * @since 1.5.0 * * @param string $name The name of the specialised footer. */ function get_cf( $name = null ) { /** * Fires before the Contact Form template file is loaded. * * The hook allows a specific Contact Form template file to be used in place of the * default Contact Form template file. If your file is called Contact Form-new.php, * you would specify the filename in the hook as get_cf( 'new' ). * * @since 2.1.0 * @since 2.8.0 $name parameter added. * * @param string $name Name of the specific footer file to use. */ do_action( 'get_cf', $name ); $templates = array(); $name = (string) $name; if ( '' !== $name ) $templates[] = "cf-{$name}.php"; $templates[] = 'cf.php'; // Backward compat code will be removed in a future release if ('' == locate_template($templates, true)) load_template( ABSPATH . WPINC . '/theme-compat/cf.php'); }
Then I just created a cf.php file, and now it’s called everytime I type
get_cf();
Forum: Hacks
In reply to: What file should I edit to change the wordpress blog post listThnx! That clears everything ??
How do i create a child theme?
yes.
I copied the 2014 theme and edited it (I have the original one too).
Forum: Hacks
In reply to: pass variables in wordpressThank you ??
but still, I’m not sure how to pass vars from single.php to sidebar.php
Forum: Hacks
In reply to: Hierarchy of Subcategories on PermalinkI found out what was the problem! Everything I did was good.
A sub-cat can’t be marked with more than this only sub-cat.
All of my posts were marked with more categories/subcats.
The minute I edited the posts to one single subcat – everything got fixed!