Home » Hacks & Mods » Hacks & Modifications

Hacks & Modifications


Wordpress Themes & Plugins Hacks & Modifications

 


 

Hacks & Mods on Wordpress Themes & Plugins can be a dangerous practice, especially if you are fairly new to the intricasies of php script & Wordpress.

Therefore due to the number of requests  that My Blog Review has received from  our readers, enquiring how to acheive certain modifications to either the theme or a plugin that  we are using on this site, I have decided that rather than reply to each person individually by email, it would be more beneficial if the questions & any responses were available to everyone,  it also saves me repeating myself as well ;-)

Therefore this new category has been created to deal solely with questions on hacks & modifications. Now I do not profess to be a php programmer or a theme builder, however I  have gained some very good contacts through My Blog Review & very often what I get stuck on, they will usually be able to offer some solution.

This section will of course be open to you the readers to also offer your own input and in this way it should become a pool of shared knowledge, which will benefit all concerned & is in the true spirit of this blog.

Should this page become too busy or the comments section reach bursting point, then I will split it into sub categories of themes & plugins, but for the time being lets see how it progresses with the themes & plugins combined.

So How Will This Work..?

Ok lets say you have a question on a particular hack to the Newswire Theme from ThemeJunkie (the theme I am using). You simply ask your question in the comments box at the foot of this page, remembering to give as much detail as possible & to also check the box to be notified of replies. If I have the answer to your question, then  I will post a new article in this category dedicated to & answering your question. If I do not have the answer but another reader does, then that reader may post his or her solution in the comment box in reply to your qusetion.

Oh & please do aquaint yourself with our comments policy;

Failure to use your correct name in the name field will mean your comment gets labelled as SPAM !

Any spamming will cause your comment to be deleted, any repeated attempt to spam this site will mean your IP address being blocked for all time or until hell freezes over, whichever comes last!



Steve Nickson | Create Your Badge
Facebook Badge

4 Responses to " Hacks & Modifications "

  1. Steve says:

    If you have questions on Wordpress Themes or Plugins, then please feel free to post your question here.

    Either myself or perhaps another reader will try to help you out & answer your question.

    But please follow our comment policy !

  2. Dax says:

    This question is regarding a Wordpress Theme Hack and php. Currently we are using Coda Blue as a theme (see here). Right now the jQuery slider is being controlled by li’s that are the tabs of the slider (web design, social media, etc). The tabs are created by making a page, and the content of the page will be in its respective slide. The tabs are being called by this code:

    <a href="#post_name?>”>

    Is it possible to have the “Our Work” link make a reloaded page with different tabs for the slider? For example, if “Our Work” was clicked then hothtactical.com/our-work would load and a new set of tabs would appear above the slider, perhaps child pages of a the “Our Work” parent page. If this is possible we would want the “Our Team” to load up different tabs as well.

    I thought that all it would require is an if – then statement saying that if a certain page is loaded then call for its child pages to be loaded in as tabs, but am I under-complicating things? Is there javascript changes needed in the coding of the Coda Slider to allow it to make a parent page loadable instead of it going to the slider? I am fervently paying attention to this thread so let me know if you need any further documentation or code.

  3. Dax says:

    sorry, code doesn’t show up. Trying again.

    <a href="#post_name?>”>

  4. admin says:

    Hi Dax,

    I think I get the idea of what you want to do, although I’m a little lost by the #post_name as it does not appear to reference any pages, at least not in the code you have displayed. A typical code to display pages would be;

    [?php wp_list_pages('depth=0&sort_column=menu_order&title_li '); ?]

    I would suggest that yes an if – then statement will be required, but you are also going to have to look at how parent & child pages are defined in your theme & then try to apply this to what you are trying to do. As an example, the code above does not show any child pages ?. An easier method of doing this may be to change from pages to categories & sub categories as many themes are already coded to show numerous sub categories.
    However if you choose to stick with pages then I think you need to get down to basics, forget about the slider for now and work towards producing a page that displays in the method you require! Once you succeed in that then it should be fairly straight forward to apply it all to the slider, although you may find you need 2 sliders, one dealing with the parent pages & another dealing with child pages of a parent page.

    Without seeing the whole code that refers to your pages & your slider, it is very difficult to offer any sort of satisfactory answer sorry.

You Comment & I Will Follow..?


If you enjoyed this post, then why not help us promote it by using the social buttons above ?


By commenting in this blog, you agree to abide by our Comments Policy.

Copyright © 2009 - 2010 · My Blog Review · All Rights Reserved · Redesigned by M.B.R · Powered by WordPress