Posts by faevilangel_designs

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

I have never really delved into the admin control functions (building themes that add a page to the admin menu).

I have always used pre-built widgets.

I read the codex and think I have it sussed but can someone who has done these, check for me.

functions.php
 // add menu
<?php add_action('admin_menu', 'mt_add_pages'); 
 add_options_page('simpl_options', 'simpl_options', 'administrator', 'simpl__options', 'simpl_options_page');

function simpl_options_page() {
?>
<div class="wrap">
<h2>Simpl Theme Options</h2>

<form action="&lt;?php $_SERVER['PHP_SELF']; ?&gt;" method="post">

&lt;?php settings_fields( 'simpl_theme' ); ?&gt;

<label>Featured Post Category Number:</label><br />
<input name="featured_post" type="text" value="&lt;?php echo get_option('featured_post'); ?&gt;" />
<br />
<input name="action" type="hidden" value="update" />
<input name="page_options" type="hidden" value="new_option_name" />

<p class="submit">
<input class="button-primary" type="submit" value="&lt;?php _e('Save Changes') ?&gt;" />
</p>
</form>
}
&lt;?php $featured_post = $_POST['featured_post']; 

function register_mysettings() { 
 register_setting( 'simpl_theme', 'featured_post' );
}

?&gt;
</div>

I’m building a featured post, and the $featured_post will store the category # then, I will call that in the index.php.

the code that uses the above,
 <?php query_posts('showposts='1'&cat='.$featured_post.'')?>

Is that code ok, or have i missed something?

cheers

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

thanks for the replies, hopefully everyone has got a reply, If not then i will send it tomorrow.

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

Anyone want a free Wordpress conversion done?

I’m offering it so I can put it on my profile and MAYBE can work with a designer on here.

I’m offering the free conversion done by me, so that you can see i’m trustworthy. You can sell the item on here and Pay me 0.

I have a done a few wordpress conversion (and other cms’) so do know what i am doing.

mods** If I can’t put this here (as it’s a free item) then just lock it up

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

Took all your points on, and had a play with Fireworks

http://yfrog.com/7esitetp

I think it looks much better but it’s still missing somethig? any comments

cheers

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

Are you using wordpress? It is probably something wrong in your htaccess or your settings.

Check the general settings in the admin menu, and the wp-settings.php file to check that the url’s only have one http

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

I thought I put a link, but musta forgot hahaha

http://garethgillman.co.uk/themeforest/Magnesia/

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

I am not a designer but I have built a design that fits in with my code. I have used 2 lots of jquery and other stuff.

Could you great guys, advise how I could improve it. I have done the typography, line heights etc but to me it’s still missing something.

I’m still messing with the colours a bit, but it’s the layout I think I need to work on.

thanks guys

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

the code will be in .js file that comes with the package, normally called slider.js, coda.js or something.

The function you posted, initialises the js

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says

send me a link to the website, I will then tell you what you need to change etc

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
87 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs
says
Change <script type=”javascript”> to <script type=”text/javascript”>

Thankyou, I found that just before I came back to check on here, It goes to show you can miss the simplest of errors

Cheers

by
by
by
by
by
by