slee
Forum Replies Created
-
Forum: Plugins
In reply to: show only grand childreni really appreciate your help but using that with the previous code doesn’t output anything even before i put the if ($post->post_parent != 116 ) {
i hav added two pages that are children of two different pages that have the parent of 116 so i should get 2 pages outputted.
if i remove the meta_key, meta_value and the orderby then i get every single page.
Forum: Plugins
In reply to: show only grand childreni have tried this:
$args=array(<br /> 'post_type' => 'page',<br /> 'orderby' => $orderby,<br /> 'posts_per_page' => 50,<br /> 'child_of' => 116,<br /> 'order' => $order<br /> );<br /> get_pages($args);
with
if ($post->post_parent != 116 ) {
as you suggested in the loop,but that is only returning a link to the page that this is running on???
can i use it with the normal loop or doi have to use a foreach loop?
Forum: Plugins
In reply to: search in custom field if custom field is an arrayunfortunately i tried that with no joy it returns nothing.
this is how the data is stored:
a:11:{i:0;s:16:"Air Conditioning";i:1;s:10:"Dishwasher";i:2;s:
9:"Fireplace";i:3;s:15:"Hardwood Floors";i:4;s:20:"Over-Range
Microwave";i:5;s:10:"Waterfront";i:6;s:12:"Deck / Patio";i:7;s:
12:"Washer/Dryer";i:8;s:6:"Stable";i:9;s:4:"Barn";i:10;s:12:"Laundry
Room";}The above code is not my exact code only what i found on the flutter website.
i am using Flutter to input the data.the meta_value works fine for my other custom fields but on this one with the array it does not.
Forum: Plugins
In reply to: Output a list of child pages of a particular parent ordered by custom fieldbrilliant thanks for the help it is very much appreciated.
Forum: Plugins
In reply to: Output a list of child pages of a particular parent ordered by custom fieldi managed to figure it out and ive got the paging working which is great i do have one final question. with the above code you have given will that also output children/children ? i only want it to output pages with the parent id of 116 so hopefully it won’t output the children/children.
Forum: Plugins
In reply to: Output a list of child pages of a particular parent ordered by custom fieldthanks ill shall have a look. is there any way of doing what you first gave me using the args method to use query_posts instead even though it is for pages?
Forum: Plugins
In reply to: Output a list of child pages of a particular parent ordered by custom fieldif i wanted to use this but page the output how would i go about doing that?
Forum: Plugins
In reply to: Output a list of child pages of a particular parent ordered by custom fieldthat is great thanks yes it worked first time ??
Forum: Plugins
In reply to: [Plugin: Contact Form 7] only spinning arrow also when all plugins disabledi am having the same problem wish i never upgraded
Forum: Plugins
In reply to: [Plugin rb-internal-links] Doesn’t work with TinyMCE Advancedi have the same issue but not jsut with the advanced tinymce jsut with the wysiwyg editor in general. when the rb internal links plugin is activated you are no longer able to use the tinymce editor it doesnt show the images and you can’t click on the code view either.
Forum: Fixing WordPress
In reply to: permalink prob pages list not workingin the sidebar.php there is a script function to load in all the pages but when i use the permalinks it doest work when you click a link. they work fine on the homepage but once i guess you are in a folder maybe it cant access the funtction?
the archive links are fine its just teh pages links
ok ive just turned the permalinks on with teh structure as:
/%postname%
and here is my .htaccess file code:
CODE
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName https://www.clearwatermedia.net
AuthUserFile /home/clearwtr/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/clearwtr/public_html/_vti_pvt/service.grp
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ – [S=80]
RewriteRule ^(flash-tutorial)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(flash-tutorial)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(flash-tutorial)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(flash-tutorial)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(flash-tutorial)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(accessibility)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(accessibility)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(accessibility)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(accessibility)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(accessibility)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(flash)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(flash)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(flash)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(flash)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(flash)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(php-flash)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(php-flash)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(php-flash)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(php-flash)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(php-flash)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(digital-camera-review)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(digital-camera-review)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(digital-camera-review)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(digital-camera-review)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(digital-camera-review)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(search-engine-optimization)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(search-engine-optimization)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(search-engine-optimization)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(search-engine-optimization)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(search-engine-optimization)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(contact)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(contact)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(contact)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(contact)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(contact)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(css)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(css)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(css)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(css)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(css)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^(meta-tag-generator)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(meta-tag-generator)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^(meta-tag-generator)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^(meta-tag-generator)/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
RewriteRule ^(meta-tag-generator)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1 [QSA,L]
RewriteRule ^(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1 [QSA,L]
RewriteRule ^page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]
RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]
RewriteRule ^search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA,L]
RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA,L]
RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /index.php?s=$1&paged=$2 [QSA,L]
RewriteRule ^search/(.+)/?$ /index.php?s=$1 [QSA,L]
RewriteRule ^category/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^category/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^category/(.+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&paged=$2 [QSA,L]
RewriteRule ^category/(.+)/?$ /index.php?category_name=$1 [QSA,L]
RewriteRule ^author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA,L]
RewriteRule ^author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA,L]
RewriteRule ^author/([^/]+)/page/?([0-9]{1,})/?$ /index.php?author_name=$1&paged=$2 [QSA,L]
RewriteRule ^author/([^/]+)/?$ /index.php?author_name=$1 [QSA,L]
RewriteRule ^([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA,L]
RewriteRule ^([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA,L]
RewriteRule ^([0-9]{4})/page/?([0-9]{1,})/?$ /index.php?year=$1&paged=$2 [QSA,L]
RewriteRule ^([0-9]{4})/?$ /index.php?year=$1 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&paged=$3 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA,L]
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2&day=$3 [QSA,L]
RewriteRule ^([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?name=$1&feed=$2 [QSA,L]
RewriteRule ^([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?name=$1&feed=$2 [QSA,L]
RewriteRule ^([^/]+)/page/?([0-9]{1,})/?$ /index.php?name=$1&paged=$2 [QSA,L]
RewriteRule ^([^/]+)/?([0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA,L]
RewriteRule ^([^/]+)/trackback/?$ /index.php?name=$1&tb=1 [QSA,L]
</IfModule># END WordPress
if you go to https://www.clearwatermedia.net and click for example accessibility on teh right hadn side it will load the opage then the main links will vanish
is there anything im dong wrong? or is there a way to fix this?