mYrAn
Forum Replies Created
-
Forum: Hacks
In reply to: Nav-menus, "Hide" URL option for Custom links?on wp-admin/nav-menus.php, custom links. I want to remove the url field and have it always just containing #.
Forum: Hacks
In reply to: Nav-menus, "Hide" URL option for Custom links?Doesnt do anything in the adminmenu but this appears where the menu was
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'remove_title_attre' not found or invalid function name in E:\www\*\wp-includes\plugin.php on line 170Forum: Hacks
In reply to: Nav-menus, "Hide" URL option for Custom links?That removes the title on the page itself 🙁 I want to remove fields from the adminmenu and possibly anchors (not necessery) from the site..
Forum: Plugins
In reply to: jQuery media uploader in wp-adminI still cannot get this working properly.. Anyone?
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 / WP 3.1Have the same problem.
Forum: Fixing WordPress
In reply to: Display posts on page with paginationdamn.. Is there really no easy way to just change the link from page/2 to /2 :<?
Edit: Just a thought, wouldn’t jquerys replace function be able to remove the ‘page’ part from the link :o?Forum: Fixing WordPress
In reply to: Display posts on page with pagination%category%/%postname% with category base removed(no ‘category’ infront of categoryname)! Read the edit in the last post.
Forum: Fixing WordPress
In reply to: Display posts on page with paginationNevermind that, i had forgetten to remove a bit of code when i modified the buttons :< A new question comes to mind tough. I have a category named “blog”, and the page im doing all this is called “blog”. So they have the same permalink (blog). But this causes a problem with the pagination, it gets a 404 now :< Is there a way to go around this? So it doesnt try to do it in the category blog, but in the page blog. The reason i have it like this is that when i go to mysite.com/blog, it displays all posts (without pagination before), and when you click a post its still mysite.com/blog/postname, and not mysite.com/othercatname/postname..
Edit: If i change the link the anchor for the next-page-button from mysite.com/blog/page/2 to mysite.com/blog/2 it works. I recon this is the easiest fix, but is there a way to do it?
Forum: Fixing WordPress
In reply to: Display posts on page with paginationYou missed a commasign, otherwise it worked fine 🙂 But right know it displays both the prev and next even if there isn’t a prev or next :< is there a way to get around this?
Forum: Fixing WordPress
In reply to: Display posts on page with paginationSince i couldn’t have in the post :<
Forum: Themes and Templates
In reply to: Change Template For Certain PagesForum: Themes and Templates
In reply to: wp-admin: overwrite html without changing core?And how would one go about doing that? Cant find any tutorials :<
Forum: Themes and Templates
In reply to: wp-admin: overwrite html without changing core?Yes, but the problem is that i need to change the actual markup of the page, and that cant be done with only css :<
Forum: Themes and Templates
In reply to: Specific customfield widgetI made an example that may make it a little easier to understand what im getting at. The youtube video box is somehow (thats what i want) connected to the custom field ‘youtube’. If you write an embeded code in the field, it activates the field! So the embeded code becomes the value of the key youtube. It would also be VERY nice if you could add multiple fields. If i have slider on a page i may want to have multiple images in it, so i type in the link to the first image and click add, and it appears underneath the inputbox, then i can type in another image and so on!
Forum: Hacks
In reply to: Sort custom fields after meta_id, not randomlyOmg that works perfectly, and i can actually make some sence out of some bits 🙂 This is what i ended up with, just editing the html and removing the uneccecary bits 🙂 Thank you So so much!
<?php $myid = $post->ID; // Assign this using a variable, or however you were before, eg. $post->ID $data = $wpdb->get_results(" SELECT * FROM $wpdb->postmeta WHERE post_id = $myid AND meta_key NOT LIKE '\_%' AND meta_key NOT IN('cycle','pdf','youtube','underrubrik') ORDER by meta_id ASC "); if( !empty( $data ) ) { foreach( $data as $result_object ) { print '<div class="row"><div class="left">'; print $result_object->meta_key; print '</div><div class="right">'; print $result_object->meta_value; print '</div><!-- /right --></div><!-- /row -->'; } } ?>