Forum Replies Created

Viewing 15 replies - 121 through 135 (of 518 total)
  • OK, What about ftp access? or some control panel file manager? to revert your addition?

    You are welcome … Seems like you attempt a contradiction of terms… if it’s paged its not infinite scroll … if it’s infinite scroll, it’s not paged … Am I missing something? I still don’t know exactly what you mean by:

    all content on the page to be loaded by scrolling

    I think one problem is on line 91. Shouldn’t it be posts_per_page=-1 to show all on one page? which is MY definition of infinite scroll? you just keep scrolling until you see all the posts and there is no page/2 (of that set of posts)

    From reference: http://codex.wordpress.org/Class_Reference/WP_Query

    posts_per_page (int) – number of post to show per page (available with Version 2.1, replaced showposts parameter). Use ‘posts_per_page’=>-1 to show all posts

    And before line 48 I think you need the same posts_per_page=-1 concatenated to the current query…

    from http://codex.wordpress.org/Function_Reference/query_posts :

    Preserving Existing Query Parameters

    If you want to preserve the original query parameter information that was used to generate the current query, and then add or over-ride some parameters, you can use the $query_string global variable in the call to query_posts().

    ( I modded this next sentence and code for your case)
    For example, to add the parameter without affecting the rest of the query string, you could place the following before The Loop:

    global $query_string;
    query_posts( $query_string . '&posts_per_page=-1' );

    I wanted to try to create the template for this layout as a page, passing the current category as GET parameter. Do you think it will work outside of category.php?

    To understand this I think you might want to study the template heirarchy: http://codex.wordpress.org/Template_Hierarchy

    I don’t think you ever need to pass in as GET … instead use template tag like get_the_category()
    http://codex.wordpress.org/Function_Reference/get_the_category

    And also on line 29 you could use some template tag +conditional instead of $_SERVER[‘REQUEST_URI’] … then again if it works it works.

    Hope I haven’t misunderstood too much, If I have, hopefully the references themselves will help you sort it. Good Luck for now

    Forum: Fixing WordPress
    In reply to: Transfer issues

    The “Site Address (URL)” setting is the address you want people to type in their browser to reach your WordPress blog.

    The “WordPress Address (URL)” setting is the address where your WordPress core files reside.

    from this reference:
    https://codex.wordpress.org/Changing_The_Site_URL

    And all of that assumes the DNS all set up correctly. I suspect you first need to check your namservers and dns zones for both domain and make sure the domain resolves to the IP address of the host where the site finally will reside. Good Luck

    I think it’s only the options stored as serialized arrays, not the posts and post-meta.

    Before you go outside db conventions, be sure to check out class wpdb()

    Your own plugin (OO or mvc if you can) is definitely the way to keep your functionality separate from the core and from the theme which should be layout and structure only.

    I read again you looked at some form based stuff. Gravity forms is reasonable price paid premium plugin. Powerful and flexible enough to extend however you would want.

    I do a lot of sites with 3 “starter” plugins intertwined

    1. ACF
    2. Gravity Forms
    3. Justin Tadlock’s Members

    Seems you’re well onto it, I’ll be interested to know how it turns out.

    Cheers

    Forum: Fixing WordPress
    In reply to: Arrows in

    Wow, that’s a really nice site. I was a dedicated fedora head from version 3 to about 18.

    You mean must mean in the http://fedoramagazine.org/wp-admin/ which is redirecting to http://fedoramagazine.org/wp-login.php?redirect_to=http%3A%2F%2F66.226.72.63%2Fwp-admin%2F&reauth=1 ? right?

    66.226.72.63 is the ip you see under the admin page-navi?

    It reverses like this:

    63.72.226.66.in-addr.arpa. 43200 IN	PTR	fedoramagazine.org.
    72.226.66.in-addr.arpa.	43200	IN	NS	ns1.codero.com.
    72.226.66.in-addr.arpa.	43200	IN	NS	ns2.codero.com.

    Looks like a fairly complex setup with lotta mirrors:

    ;; QUESTION SECTION:
    ;fedoramagazine.org.		IN	A
    
    ;; ANSWER SECTION:
    fedoramagazine.org.	81807	IN	A	67.203.2.67
    fedoramagazine.org.	81807	IN	A	67.219.144.68
    fedoramagazine.org.	81807	IN	A	66.35.62.162
    fedoramagazine.org.	81807	IN	A	140.211.169.196
    fedoramagazine.org.	81807	IN	A	5.175.150.50
    fedoramagazine.org.	81807	IN	A	152.19.134.142
    fedoramagazine.org.	81807	IN	A	213.175.193.206
    fedoramagazine.org.	81807	IN	A	209.132.181.15
    fedoramagazine.org.	81807	IN	A	66.135.62.201
    fedoramagazine.org.	81807	IN	A	209.132.181.16
    fedoramagazine.org.	81807	IN	A	85.236.55.6

    Strange thing is, fedoramagazine.org doesn’t resolve to that IP … Where is it coming from? Hard-coded in the theme? Hard-coded in .htaccess?

    http://66.226.72.63/ loads the site … fedoramagazine.org is the first virtual host right? … is there another “more qualified” name for that host I have not discovered? … or maybe 66.226.72.63 is the only virtual host? What is the “most qualified’ hostname ? Is there any other than fedoramagazine.org which is merely an alias?

    I don’t see it here either:

    ;; QUESTION SECTION:
    ;fedoramagazine.org.		IN	ANY
    
    ;; ANSWER SECTION:
    fedoramagazine.org.	86400	IN	SOA	ns04.fedoraproject.org. hostmaster.fedoraproject.org. 2015033001 3600 600 1000000 10800
    fedoramagazine.org.	86400	IN	RRSIG	SOA 5 2 86400 20150619135757 20150520135757 6516 fedoramagazine.org. AQ/UdXlEOuWv793U8DSnnm5osSe4ZXfpbKozYxuNkMFP06zZ6hWDVbkb nPVvKNsQjiTE04E0IvbpYqHD0ASAdQTyKdSf6hb/KrkD1o11vOD/Gpym qo8dqwPbjSDX8RvwqVmy8dGDG2142PC1YvRweaz4lwRAu5DekLXJhaSd 19Q=
    fedoramagazine.org.	86400	IN	NS	ns05.fedoraproject.org.
    fedoramagazine.org.	86400	IN	NS	ns02.fedoraproject.org.
    fedoramagazine.org.	86400	IN	NS	ns-sb01.fedoraproject.org.
    fedoramagazine.org.	86400	IN	NS	ns04.fedoraproject.org.
    fedoramagazine.org.	86400	IN	RRSIG	NS 5 2 86400 20150619135757 20150520135757 6516 fedoramagazine.org. H00BIcITbpwOEY0fmf0Jvq+e6RNr9RcIP075AlJaSUiBbgLWGY5Go/tl XxYGimsw4N9g2KTj48BeN3lFoGYZzkMjofvbbaWKQrNMAc4tuOaQRlfA aZIq1r1dKrNGim3fl/Cwuw++ukoY2kNjPpTGBzy8a62Yl7CafPc7Vg2J zQM=
    fedoramagazine.org.	86400	IN	A	67.219.144.68
    fedoramagazine.org.	86400	IN	A	140.211.169.196
    fedoramagazine.org.	86400	IN	A	209.132.181.15
    fedoramagazine.org.	86400	IN	A	152.19.134.142
    fedoramagazine.org.	86400	IN	A	67.203.2.67
    fedoramagazine.org.	86400	IN	A	209.132.181.16
    fedoramagazine.org.	86400	IN	A	85.236.55.6
    fedoramagazine.org.	86400	IN	A	213.175.193.206
    fedoramagazine.org.	86400	IN	A	66.35.62.162
    fedoramagazine.org.	86400	IN	A	5.175.150.50
    fedoramagazine.org.	86400	IN	A	66.135.62.201
    fedoramagazine.org.	86400	IN	RRSIG	A 5 2 86400 20150619135757 20150520135757 6516 fedoramagazine.org. aGUxPpIXgSH6dNZsdq2KM08p+MJsTdUgcgdMJwENg9j58R66X8z04dMS cAHu4BCXgGBiGXLDm5uqKDXL8E1SBD35M0CbVpnMY2ifWYCzGNWxGb+m pjnnwnqOZYk/b6VvSBDS+OSjMjBUcHPZft9HfoxWLNWijdBu4ziaOJMZ IAg=
    fedoramagazine.org.	86400	IN	MX	20 mx2.redhat.com.
    fedoramagazine.org.	86400	IN	MX	10 mx1.redhat.com.
    fedoramagazine.org.	86400	IN	RRSIG	MX 5 2 86400 20150619135757 20150520135757 6516 fedoramagazine.org. C7V4QvgU69EuOvEP4kOicS+jsBbkMKpdvhsJvDzRbOCNcdzISSU5gaA1 XjhTPTCs/3T9FDQRPA4rYCPkiYQyKT6gzl7cVxM/gQ1T6Rg3zbX7vGYo Sr7oRECO6qOUH60OXA88E+vzerqIyiO/Zy/hwCWIOh9TsY5eHMnIbKSy mXc=
    fedoramagazine.org.	86400	IN	AAAA	2607:f188::dead:beef:cafe:fed1
    fedoramagazine.org.	86400	IN	AAAA	2610:28:3090:3001:dead:beef:cafe:fed3
    fedoramagazine.org.	86400	IN	AAAA	2001:4178:2:1269::fed2
    fedoramagazine.org.	86400	IN	AAAA	2a00:d1a0:1::131
    fedoramagazine.org.	86400	IN	AAAA	2604:1580:fe00:0:5054:ff:feae:702c
    fedoramagazine.org.	86400	IN	RRSIG	AAAA 5 2 86400 20150619135757 20150520135757 6516 fedoramagazine.org. T9OWZvUzWXtVsovop55uuqJMVf+b2kNiVHzrEIdcirKjGWjXfD2E9OlA pcBUoBLeOiKu194YWUuzP+m3mMJmTEyj/iWwmf2SdszDgyNC/lR56+4e 8hyidBrHWg9VwtoWDm6yroIk5YJv8H+5ddxNlvAu4xA+KYboJRfgDgyv ljg=
    fedoramagazine.org.	10800	IN	NSEC	stg.fedoramagazine.org. A NS SOA MX AAAA RRSIG NSEC DNSKEY
    fedoramagazine.org.	10800	IN	RRSIG	NSEC 5 2 10800 20150619135757 20150520135757 6516 fedoramagazine.org. OCTe/2WL4B8zSNHwAnhtPTGUEaIITwG6lz7SBwuthpcd3uJS0aBvfLpz YsNx30EjgbAh2+WzU+so7UHx7d4T5Yi0OSo2pvwMWlv39rPfw1KkbWx1 7xFKn0iVQ7zfllhj6TVHlSIIa7a3RxSJKh+amRNbnjbu1uAxcMjuYVyw ELk=
    fedoramagazine.org.	86400	IN	DNSKEY	257 3 5 AwEAAaW6NDyMVzOXscIgR//xMAT5WutrG72iIAfHISNwi9iRlTcuo6K8 qN92H2EeIMZJ6kgbNz3tk6Ed+bxR3N0E49cLPQXXLaGbQmqdlgSZ2U65 S4w2eO1BckIyYOr87GeyVINMP2GJiQRD1jV0uGxQK6LAJBfOp9+tRLux ClxUTxRwmqh9COw4OS/Ukupp7wwqgg0QEJhJpJ9vsKTOIXum7bU5uZL2 IMefCBuzu43mZ5P47Zs1ARtaTHaPLEmMBzybGHQP0+Mwa+GlJrqa9EyJ nJ4DJGkX/lmBcn2JzvNCrkqQAMkC/vbka48q+fQ0JKHUioh6U35zI5pw OaV/8CnD9wU=
    fedoramagazine.org.	86400	IN	DNSKEY	256 3 5 AwEAAealyz8bnKUznGn7qCsRBDxnjjJIIDGXQ7CJpsuEXP4iuNzyK3X3 1ga1UlM17RovF7OHwZJFu+77pyOvY6AdUrCktJtIHaab8JQmQjtO0pgp ZyKtU6hzsGTG7UeMa+ZQN4dt5jqBZA31IBddhhNFSEkPYx+r7PRwDfk9 Z11ssn/r
    fedoramagazine.org.	86400	IN	RRSIG	DNSKEY 5 2 86400 20150619135757 20150520135757 6516 fedoramagazine.org. hC9OypZL10CDahNGP1Qk2q2eCmzgXcmgm9NIc5Pkot9iVWH8e17i5MyC j0168s87dyF8HRWaPo4w8sJufi03NmSx2AvxT7qBur48p9vWcdL/I310 CwW4TsQWUYLFXIa8ygI0BbF5MmtGnGvwoj90k1NQ4ZT+/JUZQDFEZcEL OR4=
    fedoramagazine.org.	86400	IN	RRSIG	DNSKEY 5 2 86400 20150619135757 20150520135757 2254 fedoramagazine.org. CRfLpb8eqg10NE7goWQEiPg0yvw8L7RkZ1nqoTPvwv+9khJ5pReaWQDO a/wo6ddAcHmiisXj/VqeX1JOLzpAXyJdsHSedFgOQVtFZXYCcfKF1x24 Z/H7C2y8jptYxWY3+QgV7EY1aviuzNOSTU2Ce/HbXwn3r87vX7G0SxTx 3giqoGlwLJXF0LbcTCGhOXegcJ6dwdP188VOdghJopornLwzurbzTr3S tLMUt/iSf+gF17rtURIQ8slZNa9u5IrRTuii2cnUZy5UIh37R1dMxu3o JBxyPrIqlyzMyRL4hWtwVbcbVOn3QPinik/+/W+8dA+BuoTzZfTJHq3Q Rqm+Ng==
    
    ;; Query time: 148 msec
    ;; SERVER: 127.0.1.1#53(127.0.1.1)
    ;; WHEN: Sun May 24 21:30:10 EDT 2015
    ;; MSG SIZE  rcvd: 2574

    Forum: Fixing WordPress
    In reply to: Arrows in

    bump is bad ;{, often here it will get you ignored, today your lucky day… that was nice of you yesterday to translate from russian or whatever cyrilic?

    What do you see for WordPress Address (URL) and Site Address (URL) near the top of dashboard > settings > general ?

    You are welcome, Please mark the topic resolved?

    Is your site on a commercial host? Or is it on your local machine? Or maybe you have attempted to move it from your local computer to a commercial host?

    What is your site address so we can have a look?

    I think it should be:

    .posted-on, .featured-post {
    display:none;
    }

    or maybe for the post itself not to disappear:

    .posted-on {
    display:none;
    }

    I need to be able to sort the categories in a custom order

    in generally, you would need to modify whatever query determines the listing categories.

    One possibility, not necessarily the best, would be to concatenate additional parameter to the query, something like this:

    global $query_string;
    query_posts( $query_string . '&order=ASC' );

    reference:

    http://codex.wordpress.org/Function_Reference/query_posts

    http://codex.wordpress.org/Class_Reference/WP_Query

    The line appearss created by css code:

    style.css:1423
    .entry-wrapper::before, .comment-form::before {
        border-top: 1px dotted #CCC;
    }

    So to get rid of it you could try implement custom css code like this:

    .entry-wrapper::before, .comment-form::before {
        border-top: none;

    That code also would remove the similar line from the top of the comment form.

    Forum: Fixing WordPress
    In reply to: data base error

    Does the database username have been granted all privileges to the wp_database ?

    Your site seems mostly OK, although I never saw it before to know any differences. Could you be more specific and point out the url and location on page where content is missing and describe what is supposed to be at that location?

    Also I see you have a multi language plugin. Is it possible the missing content you mentioned pertains to some language variation not fully configured?

    No problem, so mark this topic resolved?

    @atrais
    You still might want to look at polylang, it splits content discretely without filter I think so each language version of a post is its own post and has its own share buttons.

    Jetpack is in a sense a hosted solution on WordPress.com … so it might be difficult to add your filter.

    Abu, I think @mike_vl is suggesting that you might fix your problem by commenting the add_action line you posted:

    add_action( ‘set_user_role’, ‘user_role_update’, 10, 2);

    By making it instead like this:

    // add_action( ‘set_user_role’, ‘user_role_update’, 10, 2);

    Yes I added code after the last line, and after a while I can not administer the site or a visit!

    I would think also you should remove any code you added that you have not shown us.

Viewing 15 replies - 121 through 135 (of 518 total)