xcded
Forum Replies Created
-
Forum: Plugins
In reply to: [Acunetix WP Security] Scanner: wp-config.php "Not Found"Thanks!!!
Forum: Networking WordPress
In reply to: get_template_directory_uri() issues with sub-directory themeDon’t forget to use
<?php wp_head(); ?>
in your header.phpForum: Fixing WordPress
In reply to: Add link to Admin Panel?No need to create a plugin.
You just have to put that piece of code in “functions.php” file inside your WordPress Theme.function mt_add_pages() { add_menu_page('admin-menu', 'menu-name', 5, __FILE__, 'mt_toplevel_page'); } function mt_toplevel_page() { echo ' <div class="wrap"> <h2>New admin menu</h2> <li><a href="http://www.icore.net.tc"><h3>Author Homepage</h3></a></li> </div>'; } add_action('admin_menu', 'mt_add_pages');Complement this with the CODEX info, and you will crete custom admin menu’s for your themes. And if we helped you, please, change this post to [resolved]. Bye.
Forum: Fixing WordPress
In reply to: Add link to Admin Panel?And the CODEX say again Adding Administration Menus.
Forum: Fixing WordPress
In reply to: Need Post title in Header if possYou have to use te same code…
<?php wp_title(); ?>after you print the Blog Name using…
<?php bloginfo('name');?>in your template.
<h1><?php wp_title();?> - <?php bloginfo('name');?></h1>This should print: “Mi Blog Title – Home” if you are in the Home Page.
Forum: Fixing WordPress
In reply to: Show Categories of PostsA very simple and powerfull solution is install “Recen Posts Plugin”.
Forum: Fixing WordPress
In reply to: Need Post title in Header if possForum: Plugins
In reply to: [Plugin: Ad-minister 0.6] WP 2.7 Tracker Url FixSorry for delay…
Just put the URL to redirect followed by “%TRACKER%” in href attrubute for a link tag. Ad-minister will replace this with the appropiate link for that ID content.Example:
<a href="%TRACKER%http://www.wordpres.org/">Link to ww.wp.xz.cn</a>Depend on the ID that the Ad-minister content have (for example “1”), the output will be:
<a href="http://www.yourwpsite.com/?administer_redirect_1=http://www.wordpres.org/">Link to ww.wp.xz.cn</a>I hope this will be useful.
Forum: Plugins
In reply to: Custom Search PageYou must create a custom search form, and use PHP to Generate a Custom SQL SELECT. Maybe you can start here.
Forum: Requests and Feedback
In reply to: ad-minister and working with categoriesThis code adds two “Template Positions” to “Ad-Minister/Options/Positions”.
One called “ads-sports” and other called “ads-general”.
Put the code in your template.<?php if (in_category('sports')) { ?>
<!-- Some HTML -->
<?php $args = array('position' => 'ads-sports', 'description' => 'Ads for Sports');
do_action('ad-minister', $args); ?>
<!-- Some HTML -->
<?php } elseif (in_category('general') { ?>
<!-- Some HTML -->
<?php $args = array('position' => 'ads-general', 'description' => 'Ads for General');
do_action('ad-minister', $args); ?>
<!-- Some HTML -->
<?php } ?>
Next you must refresh the page in which you put the code, and go to your “Ad-Minister/Options/Positions” to see these “Template Positions”.
Finally you can create any ad in “Ad-Minister/Options/Content” and assign it to the “Template Positions”.Sorry im from Argentina, and my English is not good.
I hope it will be useful.