Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter johnnywhee

    (@johnnywhee)

    Looks like one of the Astra pro module activations caused this issue. Disappeared when I toggled off the site layer and site builder modules.

    I also had to do a rollback. Happy to say I was able to. ??

    I’ve done a bit of customization and am also using Graphene Mobile NEO, with different mobile menus and even switching out content in some content areas (workarounds for display).

    Happy that the theme is more responsive, but curious how to proceed. I’d like to update and have a dev server for testing. I’ll check PHP versions, but after that not sure how to proceed.

    Does this update make Graphene Mobile NEO obsolete?

    And is there a quick guide to re-establishing legacy color choices, etc.?

    Thanks!

    I noticed an issue with this on a site a week or so ago, and have confirmed this plugin is the culprit by deactivating it. I’d like to reactivate!

    I’m only using the icons to link out to facebook, etc. and not using the sharing buttons for posts, but the plugin is writing in the facebook open graph tags anyway. I’m handling those with Yoast.

    As a result, the open graph tags are written twice, causing errors. For example the facebook open graph object debugger reports additional instances of og:url.

    Additionally, the text the facebook scraper picks up from this plugin’s open graph tags is a long string without spaces that includes link information directly from the content. It looks like all the spaces and html are stripped out.

    Yoast grabs the custom excerpt that I prefer for the description, but the og:description tag is duplicated by this plugin, facebook is using it instead.

    I like your plugin (thanks for your hard work!), but I think the open graph tags should only be written/output if someone is using the share buttons for the posts. If you add a conditional to that effect, that should cure the duplicate tag issues.

    Thread Starter johnnywhee

    (@johnnywhee)

    Ok – that was an easy fix – anyone with this issue should add the following to .htaccesss

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Thread Starter johnnywhee

    (@johnnywhee)

    OK! That worked like a charm – NOW I definitely need help with looping through all the categories and posts to create a Table of contents of the posts.

    The thing is – All the posts for a current issue belong to a particular cat_ID AND another category.

    So what I need is a loop that grabs all the posts in a particular category, and then lists all the posts under their other respective categories.

    So, let’s say I have a post in a category named Issue 7 AND also Editor’s Notes, and two posts in Issue 7 AND Short Stories.

    I need to show something like this in the TOC:

    Issue 7
    >Editor’s Notes
    >>Title of and link to post

    >Short Stories
    >>Title and link to Short Story 1
    >>Title and link to Short Story 2

    Any help for this?

    Thanks!

    Thread Starter johnnywhee

    (@johnnywhee)

    Awesome!

    Once again I’m rendered powerless by a single semicolon.

    Really appreciate your help. Thank you!

    Thread Starter johnnywhee

    (@johnnywhee)

    (Volume # Issue #) is assigned to each post, and there are general subcategories – for example the subcategory Poems has 7 subcategories.

    So for any particular issue:
    Volume # Issue #
    >Poems
    >>Poem type 1
    >>poem type 2
    >Fiction
    >>Short Fiction
    >>Long Fiction

    etc.

    I need to specify the latest post within the issues category. If I could cast the current issue ID into a variable, I could use it in the loops that I know how to use. You know, the ones where you can specify cat_id.

    I need to pull all subcategories & posts from the current issue to build a table of contents.

    I need to be able to pull a particular subcategory & posts from the current issue.

    I need to be able to pull a particular subcategory and its subcategories and posts from the current issue.

    Is that clear? I need wordpress to determine the current issue, and then I need to be able to query based on the current issue.

    The code I originally posted gives me the current issue. the problem is that I can’t substitute it into syntax that i understand.

    for example, this works:

    $categories = get_categories('child_of=33&number=1&order=desc');
    foreach ($categories as $category) {
    $currentissue1 = $category->cat_ID;
    $currentissue2 = $category->cat_name;
    }

    When I enter this:

    <?php echo $currentissue1; ?>

    It displays the current cat_ID. But it doesn’t work if I do this:

    <?php wp_list_categories('orderby=name&show_count=0&use_desc_for_title=0&child_of='.$currentissue1;.'');

    Substituting a variable into a query structure i understand would be infinitely more accessible for me than trying to learn new PHP syntax, though I’m willing to try. I attempted the code samples posted, but to no avail. I just get PHP errors.

    Thread Starter johnnywhee

    (@johnnywhee)

    Anyone? I’m sure I just need to use implode to cast the variable to a string so I can use it in the query loops, but arrays really confuse me, as does syntax.

    Thanks!

    Thread Starter johnnywhee

    (@johnnywhee)

    My logic is that if I can get the category ID for the most recently published issue – I can use that for my queries.

    Ideally, I’d like to have a variable for the current issue’s cat_ID (like $current_issue_ID)that I can write into query_posts, like this:

    <?php query_posts(‘orderby=name&order=asc&cat=.'<?php echo $current_issue_ID’.’); ?>

    or

    <?php wp_list_categories(‘title_li=&orderby=name&order=asc&child_of=.'<?php echo $current_issue_ID’.’); ?>

    Thread Starter johnnywhee

    (@johnnywhee)

    Thanks for your response.

    I have an “issues” category that is managed, so that all its subcategories for a particular issue are published on the same date. For example: Volume 4, Issue 1 is a subcategory of issues (and ALL posts for that issue are contained in subcats of it).

    So what I want to do is pull the most recently published issue, and then be able to loop through all of the subcategories for that particular issue.

    I want to use this to pull up queries for:

    1. All posts in each subcat (by subcat) at once (for a table of contents)
    2. All posts in a single subcat (for single category sections)
    3. All posts and subcategories with posts in a single subcat (for example – there are numerous poetry sections combined under a “poems” category.
    Thread Starter johnnywhee

    (@johnnywhee)

    Should mention, if I remove the code, I see the correct posts when going to their links.

    Also Have an issue with clicking on a category – always shows the home page. I recently moved the app to a new directory – so those may be 2 separate issues.

    Ok – I’ve tried this and I’m lost. I read the linked post on how to upload images so they can be used as excerpts, and this post, and now I have two code samples. None of it is working.

    I’m confused. Can someone please help me figure out what I’m doing wrong?

    I have created the style tag. I can insert an image into the post. But the post shows up in the center column and not where I’ve put code into the sidebar.

    I think the problem is in setting the custom field. Do I make two?
    One post says to create the Key and then use the image url, the other says to put in magcover?

    Help!

    This seems like it should be simple.

Viewing 12 replies - 1 through 12 (of 12 total)